![]() |
VR-Vantage API Documentation
|
An abstract base class for objects that require updates. More...

Public Member Functions | |
| virtual bool | needsUpdate (DtTime tNow)=0 |
| The check function called by DtTickableManager to verify if an update is required. | |
| virtual void | update (DtTime tNow)=0 |
| The update function called by DtTickableManager during update-ticks. | |
Protected Member Functions | |
| DtTickable (DtTickableManagerInterface *manager=NULL) | |
| CTOR. | |
| virtual | ~DtTickable () |
| Virtual DTOR. | |
Private Attributes | |
| DtTickableManagerInterface * | myManager |
| Pointer to manager for removal during destruction. | |
An abstract base class for objects that require updates.
This object automatically adds itself to a DtTickableManager.
|
protected |
CTOR.
| [in] | manager | is the managing object to update this object. |
|
protectedvirtual |
Virtual DTOR.
|
pure virtual |
The check function called by DtTickableManager to verify if an update is required.
If this function returns true, the DtTickableManager will then call update().
| [in] | tNow | is the current time-stamp. |
| true | if this object needs to be ticked. |
| false | otherwise. |
Implemented in makVrv::DtSmokePuffsDeadReckonUpdater, makVrv::DtSceneObjectUpdater, makVrv::DtArtPartDecorationUpdater, and makVrv::DtSymbolDecorationUpdater.
|
pure virtual |
The update function called by DtTickableManager during update-ticks.
| [in] | tNow | is the current time-stamp. |
Implemented in makVrv::DtAttachableUpdater, makVrv::DtAttachableEntityFanUpdater, makVrv::DtLineModelUpdater, makVrv::DtSegmentedLineModelUpdater, makVrv::DtSceneObjectUpdater, makVrv::DtSmokePuffsDeadReckonUpdater, makVrv::DtMultiDeadReckonUpdater, makVrv::DtGroundClampingUpdater, makVrv::DtSymbolDecorationUpdater, makVrv::DtDeadReckonGroundClampUpdater, makVrv::DtAttachableDeadReckonUpdater, makVrv::DtAttachableIntervisibilityUpdater, makVrv::DtDeadReckonUpdater, makVrv::DtTrackHistoryUpdater, and makVrv::DtHeadingLineUpdater.
|
private |
Pointer to manager for removal during destruction.