VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtCeSimTime Class Reference

class DtCeSimTime: More...

Inheritance diagram for DtCeSimTime:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtCeSimTime ()
 default constructor
 DtCeSimTime (DtReaderWriterRegistry *parentRegistry)
 real constructor
 DtCeSimTime (const DtCeSimTime &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 copy constructor
virtual ~DtCeSimTime ()
 destructor
DtCeSimTimeoperator= (const DtCeSimTime &orig)
 assignment operator
virtual DtSimCondExprclone (DtReaderWriterRegistry *parentRegistry=NULL)
 clone operator
virtual int type () const
 Returns DtCondExprSimTimeType (defined in condExprTypes.h).
virtual void setSimTime (DtReal time)
 Set the time to test.
virtual DtReal simTime () const
virtual void setOper (const DtString &arg)
 Set the relational operator type.
virtual const DtStringoper () const
virtual DtString stringRep (int subExprIndex=DtSR_EXPR) const
 Get a readable string representation of this level of this expression.
virtual int netRepSize () const
 Returns the size of the full network representation padded to an 8-byte boundary.
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
 Fills in the expression from the network buffer.
virtual bool setToNet ()
 Fills in the network buffer (created by base class conditional expression) with the conditional expression contents.

Static Public Member Functions

static DtSimCondExprcreator ()

Protected Attributes

DtRwReal mySimTime
DtRwString myOper

Detailed Description

class DtCeSimTime:

DtCeSimTime represents a relational operator (<, >) test between the current simulation time and a test time.


Constructor & Destructor Documentation

default constructor

real constructor

DtCeSimTime::DtCeSimTime ( const DtCeSimTime orig,
DtReaderWriterRegistry parentRegistry = NULL 
)

copy constructor

virtual DtCeSimTime::~DtCeSimTime ( ) [virtual]

destructor


Member Function Documentation

DtCeSimTime& DtCeSimTime::operator= ( const DtCeSimTime orig)

assignment operator

virtual DtSimCondExpr* DtCeSimTime::clone ( DtReaderWriterRegistry parentRegistry = NULL) [virtual]

clone operator

Implements DtSimCondExpr.

virtual int DtCeSimTime::type ( ) const [virtual]

Returns DtCondExprSimTimeType (defined in condExprTypes.h).

Implements DtSimCondExpr.

virtual void DtCeSimTime::setSimTime ( DtReal  time) [virtual]

Set the time to test.

virtual DtReal DtCeSimTime::simTime ( ) const [virtual]
virtual void DtCeSimTime::setOper ( const DtString arg) [virtual]

Set the relational operator type.

virtual const DtString& DtCeSimTime::oper ( ) const [virtual]
virtual DtString DtCeSimTime::stringRep ( int  subExprIndex = DtSR_EXPR) const [virtual]

Get a readable string representation of this level of this expression.

The subExprIndex argument indicates which stringRep to get if this expression can have sub-expressions. Since a DtCeSimTime has no sub-expressions, it only returns a string representation if passed an index of DtSimCondExpr::DtSR_EXPR.

See the documentation for DtSimCondExpr::stringRep for more information.

Implements DtSimCondExpr.

virtual int DtCeSimTime::netRepSize ( ) const [virtual]

Returns the size of the full network representation padded to an 8-byte boundary.

Reimplemented from DtSimCondExpr.

virtual bool DtCeSimTime::setFromNet ( const char *  contentBuffer,
unsigned  contentSize 
) [virtual]

Fills in the expression from the network buffer.

Reimplemented from DtSimCondExpr.

virtual bool DtCeSimTime::setToNet ( ) [virtual]

Fills in the network buffer (created by base class conditional expression) with the conditional expression contents.

Reimplemented from DtSimCondExpr.

static DtSimCondExpr* DtCeSimTime::creator ( ) [static]

Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)