VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
makVrv::DtTickable Class Reference

An abstract base class for objects that require updates. More...

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

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

DtTickableManagerInterfacemyManager
 Pointer to manager for removal during destruction.

Detailed Description

An abstract base class for objects that require updates.

This object automatically adds itself to a DtTickableManager.

Constructor & Destructor Documentation

makVrv::DtTickable::DtTickable ( DtTickableManagerInterface manager = NULL)
protected

CTOR.

Parameters
[in]manageris the managing object to update this object.
virtual makVrv::DtTickable::~DtTickable ( )
protectedvirtual

Virtual DTOR.

Member Function Documentation

virtual bool makVrv::DtTickable::needsUpdate ( DtTime  tNow)
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().

Parameters
[in]tNowis the current time-stamp.
Return values
trueif this object needs to be ticked.
falseotherwise.

Implemented in makVrv::DtSmokePuffsDeadReckonUpdater, makVrv::DtSceneObjectUpdater, makVrv::DtArtPartDecorationUpdater, and makVrv::DtSymbolDecorationUpdater.

virtual void makVrv::DtTickable::update ( DtTime  tNow)
pure virtual

Member Data Documentation

DtTickableManagerInterface* makVrv::DtTickable::myManager
private

Pointer to manager for removal during destruction.


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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)