![]() |
VR-Forces 4.3 Class 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. | |
| virtual | ~DtTickable () |
| Virtual DTOR. | |
Protected Member Functions | |
| DtTickable (DtTickableManagerInterface *manager) | |
| CTOR. | |
| DtTickable () | |
| Unimplemented default CTOR. | |
Protected 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.
|
virtual |
Virtual DTOR.
|
protected |
CTOR.
| [in] | manager | is the managing object to update this object; NULL may be passed to create an unticked tickable Do not delete this object explicitly, because the manager now owns it and will delete it on its own |
|
protected |
Unimplemented default CTOR.
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::DtAttachableUpdater, makVrv::DtNavigationFeatureManager, makVrv::DtSceneObjectUpdater, makVrv::DtMultiDeadReckonUpdater, makVrv::DtShipFlagDirTickable, makVrv::DtEllipseUpdater, makVrv::DtShipFlagSwitchTickable, makVrv::DtNavigationDaymarkManager, makVrv::DtSmokePuffsDeadReckonUpdater, makVrv::DtTritonWakeUpdater, makVrv::DtNavigationLightManager, makVrv::DtWindSwitchTickable, makVrv::DtArtPartDecorationUpdater, makVrv::DtHeadingLineUpdater, makVrv::DtTrackHistoryUpdater, makVrv::DtWindDirTickable, makVrv::DtWindRotTickable, makVrf::DtPriorityUpdater, makVrv::DtEnvironmentalIconCenteringUpdater, makVrv::DtTritonTidalStreamWakeUpdater, makVrv::DtTritonRotorWashUpdater, 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::DtEmbarkationUpdater, makVrv::DtNavigationFeatureManager, makVrv::DtSceneObjectUpdater, makVrv::DtAttachableEntityFanUpdater, makVrv::DtLineModelUpdater, makVrv::DtNavigationDaymarkManager, makVrv::DtSmokePuffsDeadReckonUpdater, makVrv::DtNavigationLightManager, makVrv::DtSurfaceClampingUpdater, makVrv::DtMultiDeadReckonUpdater, makVrv::DtGroundClampingUpdater, makVrv::DtTritonTidalStreamWakeUpdater, makVrv::DtEnvironmentalIconCenteringUpdater, makVrv::DtWakeUpdater, makVrv::DtTritonRotorWashUpdater, makVrv::DtRotorWashUpdater, makVrv::DtSymbolDecorationUpdater, makVrv::DtTidalStreamWakeUpdater, makVrf::DtPriorityUpdater, makVrv::DtTritonWakeUpdater, makVrv::DtShipFlagSwitchTickable, makVrv::DtAttachableIntervisibilityUpdater, makVrv::DtDeadReckonUpdater, makVrv::DtShipFlagDirTickable, makVrv::DtHeadingLineUpdater, makVrv::DtTrackHistoryUpdater, makVrv::DtWaterClampingUpdater, makVrv::DtWindSwitchTickable, makVrv::DtWindDirTickable, makVrv::DtWindRotTickable, and makVrv::DtTerrainScalingUpdater.
|
protected |
Pointer to manager for removal during destruction.