![]() |
VR-Forces 4.2 Class Documentation
|
DtIfControl is the content portion of a control message. More...

Public Member Functions | |
| DtIfControl () | |
| default constructor | |
| DtIfControl (const DtIfControl &orig) | |
| copy constructor | |
| const DtIfControl & | operator= (const DtIfControl &orig) |
| assignment operator | |
| virtual | ~DtIfControl () |
| virtual int | type () const |
| Returns the type of Interface Content; DtControlMessageName. | |
| virtual DtSimInterfaceContent * | clone () const |
| virtual int | controlType () const |
| Type of control, such as pause or run. | |
| virtual void | setControlType (int controlType) |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual void | printDataToString (DtString &str) |
| virtual DtTime | duration () const |
| These have been added for backwards compatibility with DtIfRunDurationControl and may be removed or altered. | |
| virtual void | setDuration (DtTime time) |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Protected Attributes | |
| int | myControlType |
| DtTime | myTime |
DtIfControl is the content portion of a control message.
It's typically only sent from front-end to back. It includes simple control statements like run and pause.
Content-Type: DtControlMessageType
Parameters: controlType - An integer that is the type of control command, such as "pause" (DtPauseControlType) or "run" (DtRunControlType). These integers are defined in msgTypes.h.
| DtIfControl::DtIfControl | ( | ) |
default constructor
| DtIfControl::DtIfControl | ( | const DtIfControl & | orig | ) |
copy constructor
|
virtual |
| const DtIfControl& DtIfControl::operator= | ( | const DtIfControl & | orig | ) |
assignment operator
|
virtual |
Returns the type of Interface Content; DtControlMessageName.
|
virtual |
|
virtual |
Type of control, such as pause or run.
Use XxxControlType strings in msgTypes.h.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
virtual |
These have been added for backwards compatibility with DtIfRunDurationControl and may be removed or altered.
|
virtual |
|
protected |
|
protected |