![]() |
VR-Forces 4.0.4 Class Documentation
|
A DtSimStateObject is the base class for all simulation state objects. More...

Public Member Functions | |
| DtSimStateObject (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtSimStateObject () |
| DTOR. Calls removeStateFromSimEntry(). | |
| virtual void | addStateToSimEntry (DtUniqueID id) |
| Add myState to the DtSimEntry. | |
| virtual void | removeStateFromSimEntry () |
| Remove myState to the DtSimEntry. | |
| virtual void | addStateToSimEvent () |
| Adds this state to the one and only event entry in DtSimData. | |
Protected Attributes | |
| DtDe & | myDe |
| Implement in derived DtSimStateObject's. | |
| DtUniqueID | mySimEntryId |
| DtSimState * | myState |
| DtSimEntry * | mySimEntry |
A DtSimStateObject is the base class for all simulation state objects.
| makVrv::DtSimStateObject::DtSimStateObject | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
| virtual makVrv::DtSimStateObject::~DtSimStateObject | ( | ) | [virtual] |
DTOR. Calls removeStateFromSimEntry().
| virtual void makVrv::DtSimStateObject::addStateToSimEntry | ( | DtUniqueID | id | ) | [virtual] |
Add myState to the DtSimEntry.
| virtual void makVrv::DtSimStateObject::removeStateFromSimEntry | ( | ) | [virtual] |
Remove myState to the DtSimEntry.
| virtual void makVrv::DtSimStateObject::addStateToSimEvent | ( | ) | [virtual] |
Adds this state to the one and only event entry in DtSimData.
Call before calling signalEvent() on the DtSimEntryObjectDriver.
DtDe& makVrv::DtSimStateObject::myDe [protected] |
Implement in derived DtSimStateObject's.
Copy state into myState. Tell the DtSimEntry that the state has been updated. void setState(T& state);
DtUniqueID makVrv::DtSimStateObject::mySimEntryId [protected] |
DtSimState* makVrv::DtSimStateObject::myState [protected] |
DtSimEntry* makVrv::DtSimStateObject::mySimEntry [protected] |