VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtSimEntryUpdater Class Reference

The DtSimEntryUpdater is responsible for setting the update rate of each DtSimEnty. More...

Inheritance diagram for makVrv::DtSimEntryUpdater:
Inheritance graph
[legend]

List of all members.

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 DtSimEntryUpdaterinstance (DtDe &de)
 Lazily create singleton.
static void registerInstance (DtDe &de, DtSimEntryUpdater *instance)
 Register an instance.

Protected Member Functions

 DtSimEntryUpdater (DtDe &de)
 CTOR.

Protected Attributes

DtDemyDe

Detailed Description

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.


Member Enumeration Documentation

Enumerator:
NoUpdates 
At8s 

Send no updates.

At4s 

1 update every 8 seconds;

At2s 

1 update every 4 seconds;

At1Hz 

1 update every 2 seconds;

At2Hz 

1 update per second

At4Hz 

2 updates per second

At8Hz 

4 updates per second

At16Hz 

8 updates per second

At32Hz 

16 updates per second

At64Hz 

32 updates per second

AnyUpdates 

64 updates per second


Constructor & Destructor Documentation

DTOR.

CTOR.


Member Function Documentation

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.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)