![]() |
VR-Forces 4.6.1 Class Documentation
|
The DtIfSetRunDuration message will set the duration of the scenario to run. More...

Public Member Functions | |
| DtIfSetRunDuration () | |
| default constructor | |
| virtual | ~DtIfSetRunDuration () |
| destructor | |
| DtIfSetRunDuration (const DtIfSetRunDuration &orig) | |
| copy constructor | |
| DtIfSetRunDuration & | operator= (const DtIfSetRunDuration &orig) |
| assignment operator | |
| virtual int | type () const |
| Returns the type of Interface Content; DtSetRunDurationMessageType. | |
| virtual DtSimInterfaceContent * | clone () const |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual void | printDataToString (DtString &str) |
| virtual void | setIsDuration (bool) |
| Sets whether or not the time is a duration (true) or absolute stop time. | |
| virtual bool | isDuration () const |
| virtual void | setDuration (double) |
| Absolute sim time stop or duration. | |
| virtual double | duration () const |
Public Member Functions inherited from DtSimInterfaceContent | |
| virtual | ~DtSimInterfaceContent () |
| virtual bool | update (const DtSimInterfaceContent *data) |
| virtual char * | netRep () |
| virtual void | printContentType (DtString &str) |
| virtual void | setUseSessionId (bool yesNo) |
| virtual bool | useSessionId () const |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Static Public Member Functions inherited from DtSimInterfaceContent | |
| static DtSimInterfaceContent * | createInterfaceContent (int type) |
| static void | addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn) |
| static void | setFactory (DtInterfaceContentFactory *factory) |
| static DtInterfaceContentFactory * | factory () |
| static void | registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn) |
Protected Attributes | |
| bool | myIsDuration |
| double | myDuration |
Protected Attributes inherited from DtSimInterfaceContent | |
| char * | myNetRep |
| bool | myUseSessionId |
Additional Inherited Members | |
Protected Member Functions inherited from DtSimInterfaceContent | |
| DtSimInterfaceContent () | |
| DtSimInterfaceContent (const DtSimInterfaceContent &orig) | |
| const DtSimInterfaceContent & | operator= (const DtSimInterfaceContent &orig) |
| virtual char * | createNetworkBuffer () |
Static Protected Attributes inherited from DtSimInterfaceContent | |
| static DtInterfaceContentFactory * | myFactory |
| static DtSimInterfaceContentTypePrinterFcn | theContentTypePrinterFcn |
The DtIfSetRunDuration message will set the duration of the scenario to run.
It will either be an absolute stop time (duration is false) or a delta from the current simulation time (duration is true)
| DtIfSetRunDuration::DtIfSetRunDuration | ( | ) |
default constructor
|
virtual |
destructor
| DtIfSetRunDuration::DtIfSetRunDuration | ( | const DtIfSetRunDuration & | orig | ) |
copy constructor
| DtIfSetRunDuration& DtIfSetRunDuration::operator= | ( | const DtIfSetRunDuration & | orig | ) |
assignment operator
|
virtual |
Returns the type of Interface Content; DtSetRunDurationMessageType.
Implements DtSimInterfaceContent.
|
virtual |
Implements DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
static |
|
virtual |
Sets whether or not the time is a duration (true) or absolute stop time.
|
virtual |
|
virtual |
Absolute sim time stop or duration.
A duration of 0 means to run until the user presses pause regardless of the setting of the isDuration flag
|
virtual |
|
protected |
|
protected |