VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected 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.
virtual ~DtTickable ()
 Virtual DTOR.

Protected Member Functions

 DtTickable (DtTickableManagerInterface *manager)
 CTOR.
 DtTickable ()
 Unimplemented default CTOR.

Protected 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

virtual makVrv::DtTickable::~DtTickable ( )
virtual

Virtual DTOR.

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

CTOR.

Parameters
[in]manageris 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
makVrv::DtTickable::DtTickable ( )
protected

Unimplemented default CTOR.

Member Function Documentation

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

Member Data Documentation

DtTickableManagerInterface* makVrv::DtTickable::myManager
protected

Pointer to manager for removal during destruction.


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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)