UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
ZdTrace Class Reference

#include <zd_trace.hpp>

Inheritance diagram for ZdTrace:
ZdFunction ZdFunction ZdDocument ZdDocument ZdDocument ZdDocument ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName

Public Member Functions

 ZdTrace (const char *szFuncName=NULL)
 
 ZdTrace (const ZqbRealTrace &rtr, const char *szFuncName=NULL)
 
virtual const ZqbRealTracetrace () const
 
virtual ZqbRealTracetrace ()
 
virtual bool compatibleType (const char *szType) const
 
virtual int count ()
 
virtual double arg (int i)
 
virtual double func (int i)
 
virtual bool isNullFunc (int i)
 
virtual double argStep ()
 
virtual void getArgBounds (double b[2])
 
virtual int argIndex (double a)
 
virtual double funcInterp (double a)
 
 ZdTrace (const char *szFuncName=NULL)
 
 ZdTrace (const ZqbRealTrace &rtr, const char *szFuncName=NULL)
 
virtual const ZqbRealTracetrace () const
 
virtual ZqbRealTracetrace ()
 
virtual bool compatibleType (const char *szType) const
 
virtual int count ()
 
virtual double arg (int i)
 
virtual double func (int i)
 
virtual bool isNullFunc (int i)
 
virtual double argStep ()
 
virtual void getArgBounds (double b[2])
 
virtual int argIndex (double a)
 
virtual double funcInterp (double a)
 
- Public Member Functions inherited from ZdFunction
 ZdFunction (const char *szFuncName=NULL)
 
virtual ~ZdFunction ()
 
virtual void arg (std::vector< double > &vArg)
 
virtual void func (std::vector< double > &vFunc, double fNull=0.0)
 
virtual bool isNullAll ()
 
virtual double minArg ()
 
virtual double maxArg ()
 
virtual void getFuncBounds (double b[2])
 
double minFunc ()
 
virtual double maxFunc ()
 
virtual void setFunc (int i, double fNewValue)
 
virtual void makeNullFunc (int i)
 
virtual void makeNullAll ()
 
 ZdFunction (const char *szFuncName=NULL)
 
virtual ~ZdFunction ()
 
virtual void arg (std::vector< double > &vArg)
 
virtual void func (std::vector< double > &vFunc, double fNull=0.0)
 
virtual bool isNullAll ()
 
virtual double minArg ()
 
virtual double maxArg ()
 
virtual void getFuncBounds (double b[2])
 
double minFunc ()
 
virtual double maxFunc ()
 
virtual void setFunc (int i, double fNewValue)
 
virtual void makeNullFunc (int i)
 
virtual void makeNullAll ()
 
- Public Member Functions inherited from ZdDocument
 ZdDocument (const char *szName=NULL)
 
virtual ~ZdDocument ()
 
virtual void updateViews ()
 
virtual bool isChanged ()
 
virtual void setChanges ()
 
virtual void resetChanges ()
 
 ZdDocument (const char *szName=NULL)
 
virtual ~ZdDocument ()
 
virtual void updateViews ()
 
virtual bool isChanged ()
 
virtual void setChanges ()
 
virtual void resetChanges ()
 
- Public Member Functions inherited from ZqbAutoName
 ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL)
 
virtual ~ZqbAutoName ()
 
 ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL)
 
virtual ~ZqbAutoName ()
 
- Public Member Functions inherited from ZqbName
 ZqbName (const char *szRoot, const char *szCustomName=NULL)
 
 ZqbName (const ZqbName &name)
 
virtual ~ZqbName ()
 
ZqbNameoperator= (const ZqbName &name)
 
virtual const char * getName () const
 
virtual const char * getType () const
 
bool hasName (const char *szString) const
 
 ZqbName (const char *szRoot, const char *szCustomName=NULL)
 
 ZqbName (const ZqbName &name)
 
virtual ~ZqbName ()
 
ZqbNameoperator= (const ZqbName &name)
 
virtual const char * getName () const
 
virtual const char * getType () const
 
bool hasName (const char *szString) const
 

Protected Attributes

ZqbRealTrace m_Trace
 
- Protected Attributes inherited from ZdDocument
ZqbViewVector m_Views
 
- Protected Attributes inherited from ZqbName
char * m_szName
 
char * m_szRoot
 

Detailed Description

Document class for trace representation. Trace support is based on ZqbRealTrace class.

Constructor & Destructor Documentation

ZdTrace::ZdTrace ( const char *  szFuncName = NULL)

Create empty trace container with given name.

ZdTrace::ZdTrace ( const ZqbRealTrace rtr,
const char *  szFuncName = NULL 
)

Create trace as a copy of given one.

ZdTrace::ZdTrace ( const char *  szFuncName = NULL)

Create empty trace container with given name.

ZdTrace::ZdTrace ( const ZqbRealTrace rtr,
const char *  szFuncName = NULL 
)

Create trace as a copy of given one.

Member Function Documentation

virtual double ZdTrace::arg ( int  i)
virtual

Get value of time in given point.

Implements ZdFunction.

virtual double ZdTrace::arg ( int  i)
virtual

Get value of time in given point.

Implements ZdFunction.

virtual int ZdTrace::argIndex ( double  a)
virtual

Return index of sample the most close to given time value.

Reimplemented from ZdFunction.

virtual int ZdTrace::argIndex ( double  a)
virtual

Return index of sample the most close to given time value.

Reimplemented from ZdFunction.

virtual double ZdTrace::argStep ( )
virtual

Return sampling rate.

Reimplemented from ZdFunction.

virtual double ZdTrace::argStep ( )
virtual

Return sampling rate.

Reimplemented from ZdFunction.

virtual bool ZdTrace::compatibleType ( const char *  szType) const
virtual

Return true if given type is compatible with this document.

Reimplemented from ZdFunction.

virtual bool ZdTrace::compatibleType ( const char *  szType) const
virtual

Return true if given type is compatible with this document.

Reimplemented from ZdFunction.

virtual int ZdTrace::count ( )
virtual

Get total number of samples.

Implements ZdFunction.

virtual int ZdTrace::count ( )
virtual

Get total number of samples.

Implements ZdFunction.

virtual double ZdTrace::func ( int  i)
virtual

Get sample value in given point.

Implements ZdFunction.

virtual double ZdTrace::func ( int  i)
virtual

Get sample value in given point.

Implements ZdFunction.

virtual double ZdTrace::funcInterp ( double  a)
virtual

Return interpolation of the sample value at given time.

Reimplemented from ZdFunction.

virtual double ZdTrace::funcInterp ( double  a)
virtual

Return interpolation of the sample value at given time.

Reimplemented from ZdFunction.

virtual void ZdTrace::getArgBounds ( double  b[2])
virtual

Return minimum and maximum value of time.

Reimplemented from ZdFunction.

virtual void ZdTrace::getArgBounds ( double  b[2])
virtual

Return minimum and maximum value of time.

Reimplemented from ZdFunction.

virtual bool ZdTrace::isNullFunc ( int  i)
virtual

Return false if given point is out of actual sample range and true otherwise.

Reimplemented from ZdFunction.

virtual bool ZdTrace::isNullFunc ( int  i)
virtual

Return false if given point is out of actual sample range and true otherwise.

Reimplemented from ZdFunction.

virtual const ZqbRealTrace& ZdTrace::trace ( ) const
virtual

Provide non-modifying access to trace internals.

virtual const ZqbRealTrace& ZdTrace::trace ( ) const
virtual

Provide non-modifying access to trace internals.

virtual ZqbRealTrace& ZdTrace::trace ( )
virtual

Provide modifying access to trace internals. It's possible to assign new trace to the object.

virtual ZqbRealTrace& ZdTrace::trace ( )
virtual

Provide modifying access to trace internals. It's possible to assign new trace to the object.

Member Data Documentation

ZqbRealTrace ZdTrace::m_Trace
protected

Stored trace.


The documentation for this class was generated from the following files: