VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtSimObjectEntry Class Reference

A DtSimObjectEntry is an entry for a persistent simulation object like an entity. More...

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

Public Member Functions

 DtSimObjectEntry (DtDe &de, DtUniqueID id)
 CTOR. More...
 
virtual ~DtSimObjectEntry ()
 
- Public Member Functions inherited from makVrv::DtSimEntry
 DtSimEntry (DtDe &de, DtUniqueID id)
 CTOR. More...
 
virtual ~DtSimEntry ()
 DTOR. More...
 
const SimStateVectorsimStates () const
 SimStateVector accessor. More...
 
bool addState (DtSimState *state)
 Return's true if state was added to the SimStateVector. More...
 
bool removeState (DtSimState *state)
 Return's true if state was removed from the SimStateVector. More...
 
void forceUpdate (DtBaseStateView *stateView)
 Force a state view which is currently being updated periodically to update in the next frame. More...
 
void setUpdateRate (DtSimEntryUpdater::UpdateRate rate, DtBaseStateView *stateView)
 Set the update rate for the state view. More...
 
DtSimEntryUpdater::UpdateRate rateForView (DtBaseStateView *stateView) const
 Returns the update rate for the state view. More...
 
void stateUpdated ()
 Called by the DtSimStateObject when a state has been updated. More...
 
DtUniqueID id () const
 Return the unique Id of this entry. More...
 

Additional Inherited Members

- Public Types inherited from makVrv::DtSimEntry
typedef std::vector< DtSimState * > SimStateVector
 A vector of DtSimState's. More...
 
typedef std::multimap
< DtSimEntryUpdater::UpdateRate,
DtBaseStateView * > 
UpdateRateMap
 A multimap of the update rates and DtEventView's to be updated at that rate. More...
 
- Protected Member Functions inherited from makVrv::DtSimEntry
void reset ()
 
void addStateViewToUpdateRateMap (DtSimEntryUpdater::UpdateRate rate, DtBaseStateView *stateView)
 Add stateView to myUpdateRateMap. More...
 
void removeStateViewFromUpdateRateMap (DtBaseStateView *stateView)
 Remove the DtEventView from myUpdateRateMap. More...
 
DtSimEntryUpdater::UpdateRate maxUpdateRate ()
 Return the max update rate of myUpdateRateMap. More...
 
DtSimEntryUpdater::UpdateRate minUpdateRate ()
 Return the min update rate of myUpdateRateMap. More...
 
- Protected Attributes inherited from makVrv::DtSimEntry
DtDemyDe
 
DtUniqueID myId
 
SimStateVector mySimStateVector
 
UpdateRateMap myUpdateRateMap
 
unsigned long long myUpdateCounter
 
bool myForceUpdatePending
 

Detailed Description

A DtSimObjectEntry is an entry for a persistent simulation object like an entity.

Constructor & Destructor Documentation

makVrv::DtSimObjectEntry::DtSimObjectEntry ( DtDe de,
DtUniqueID  id 
)

CTOR.

virtual makVrv::DtSimObjectEntry::~DtSimObjectEntry ( )
virtual

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)