![]() |
VR-Forces 4.3 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 |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Protected Attributes | |
| bool | myIsDuration |
| double | myDuration |
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.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
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 |