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

DtDynamicFeatureTickable is a tickable with extra information from .meta files for parameters for updating. More...

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

Public Member Functions

 DtDynamicFeatureTickable (DtDe &de, DtElementID elementId, DtUniqueID sceneObjectId, DtUniqueID uniqueId, bool useInstancing, unsigned int nodeTypeIndex)
 CTOR.
virtual ~DtDynamicFeatureTickable ()
 DTOR.
- Public Member Functions inherited from makVrv::DtTickable
virtual bool needsUpdate (DtTime tNow)
 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.
virtual void setUpdatePeriod (unsigned int period)
 Specify how often (in # of frames) this tickable should call update.
virtual unsigned int updatePeriod () const
 Specify how often (in # of frames) this tickable should call update.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Protected Attributes

DtDemyDe
 The display engine.
DtElementID myElementId
 Object element id.
DtUniqueID mySceneObjectId
 To retrieve the scene object if needed.
DtInstanceManagermyInstanceManager
 The instance manager in case we have instancing on.
bool myUseInstancing
 Is instancing enabled?
unsigned int myNodeTypeIndex
 For the node type used in the tickable, the index in the instancing array for that node type (so we update the right one)
DtUniqueID myUniqueId
 For retrieving the instance state from the instance manager.
std::string myFeatureName
 The name of the feature in the .meta file.
- Protected Attributes inherited from makVrv::DtTickable
DtTickableManagerInterfacemyManager
 Pointer to manager for removal during destruction.
DtSignalConnectionManager myConnections
unsigned int myFrameCounter
unsigned int myFrameToUpdate
unsigned int myUpdatePeriod

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtTickable
 DtTickable (DtTickableManagerInterface *manager)
 CTOR.
 DtTickable ()
 Unimplemented default CTOR.
virtual void slot_managerAboutToBeDeleted ()

Detailed Description

DtDynamicFeatureTickable is a tickable with extra information from .meta files for parameters for updating.

Constructor & Destructor Documentation

makVrv::DtDynamicFeatureTickable::DtDynamicFeatureTickable ( DtDe de,
DtElementID  elementId,
DtUniqueID  sceneObjectId,
DtUniqueID  uniqueId,
bool  useInstancing,
unsigned int  nodeTypeIndex 
)

CTOR.

virtual makVrv::DtDynamicFeatureTickable::~DtDynamicFeatureTickable ( )
virtual

DTOR.

Member Data Documentation

DtDe& makVrv::DtDynamicFeatureTickable::myDe
protected

The display engine.

DtElementID makVrv::DtDynamicFeatureTickable::myElementId
protected

Object element id.

DtUniqueID makVrv::DtDynamicFeatureTickable::mySceneObjectId
protected

To retrieve the scene object if needed.

DtInstanceManager& makVrv::DtDynamicFeatureTickable::myInstanceManager
protected

The instance manager in case we have instancing on.

bool makVrv::DtDynamicFeatureTickable::myUseInstancing
protected

Is instancing enabled?

unsigned int makVrv::DtDynamicFeatureTickable::myNodeTypeIndex
protected

For the node type used in the tickable, the index in the instancing array for that node type (so we update the right one)

DtUniqueID makVrv::DtDynamicFeatureTickable::myUniqueId
protected

For retrieving the instance state from the instance manager.

std::string makVrv::DtDynamicFeatureTickable::myFeatureName
protected

The name of the feature in the .meta file.


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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)