![]() |
VR-Forces 4.0.4 Class Documentation
|
The DtSimEntryUpdater is responsible for setting the update rate of each DtSimEnty. More...

Public Types | |
| enum | UpdateRate { NoUpdates = 0x00, At8s = 0x01, At4s = 0x02, At2s = 0x04, At1Hz = 0x08, At2Hz = 0x10, At4Hz = 0x20, At8Hz = 0x40, At16Hz = 0x80, At32Hz = 0x100, At64Hz = 0x200, AnyUpdates = 0xFFF } |
Public Member Functions | |
| virtual | ~DtSimEntryUpdater () |
| DTOR. | |
| virtual void | setUpdateRate (DtUniqueID id, UpdateRate rate) |
| Set the rate at which the DtSimEntry represented by id gets updated. | |
| virtual void | forceUpdate (DtUniqueID id) |
| Force an update on the object with the provide id. | |
Static Public Member Functions | |
| static DtSimEntryUpdater & | instance (DtDe &de) |
| Lazily create singleton. | |
| static void | registerInstance (DtDe &de, DtSimEntryUpdater *instance) |
| Register an instance. | |
Protected Member Functions | |
| DtSimEntryUpdater (DtDe &de) | |
| CTOR. | |
Protected Attributes | |
| DtDe & | myDe |
The DtSimEntryUpdater is responsible for setting the update rate of each DtSimEnty.
The DtSimState's of a DtSimEnty are guaranteed to be updated at this rate. The DtSimEntryUpdater is a singleton.
| virtual makVrv::DtSimEntryUpdater::~DtSimEntryUpdater | ( | ) | [virtual] |
DTOR.
| makVrv::DtSimEntryUpdater::DtSimEntryUpdater | ( | DtDe & | de | ) | [protected] |
CTOR.
| static DtSimEntryUpdater& makVrv::DtSimEntryUpdater::instance | ( | DtDe & | de | ) | [static] |
Lazily create singleton.
| static void makVrv::DtSimEntryUpdater::registerInstance | ( | DtDe & | de, |
| DtSimEntryUpdater * | instance | ||
| ) | [static] |
Register an instance.
| virtual void makVrv::DtSimEntryUpdater::setUpdateRate | ( | DtUniqueID | id, |
| UpdateRate | rate | ||
| ) | [virtual] |
Set the rate at which the DtSimEntry represented by id gets updated.
This will cause all the DtSimState's of the DtSimEntry to get updated at that rate. All DtStateView's will get updated at the rate at which they registered with their DtSimEntry.
| virtual void makVrv::DtSimEntryUpdater::forceUpdate | ( | DtUniqueID | id | ) | [virtual] |
Force an update on the object with the provide id.
DtDe& makVrv::DtSimEntryUpdater::myDe [protected] |