VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtEntityRotorManager Class Reference

class to manage rotors of each model and their corresponding rotors' states

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

Public Member Functions

 DtEntityRotorManager (DtDe &de)
 
virtual ~DtEntityRotorManager ()
 
virtual void addModel (DtOsgArticulatedModel &model, DtUniqueID uniqueId, DtUniqueID elementId)
 
virtual void removeModel (DtOsgArticulatedModel &model)
 
virtual void slot_setState (DtOsgArticulatedModel *articulatedModel, int stateNumber, int stateValue)
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static DtEntityRotorManagerinstance (DtDe &de)
 
static void registerInstance (DtDe &de, DtEntityRotorManager *manager)
 
static const std::string & theClassName ()
 

Protected Member Functions

bool hasRotors (DtOsgArticulatedModel &model) const
 

Protected Attributes

DtDemyDe
 
DtRotorUpdatermyRotorUpdater
 
std::unordered_map
< DtOsgArticulatedModel
*, DtEntityRotorData * > 
myEntityToRotorState
 

Private Member Functions

 DtEntityRotorManager ()=delete
 
 DtEntityRotorManager (const DtEntityRotorManager &orig)=delete
 
DtEntityRotorManageroperator= (const DtEntityRotorManager)=delete
 

Constructor & Destructor Documentation

makVrv::DtEntityRotorManager::DtEntityRotorManager ( DtDe de)

constructor

virtual makVrv::DtEntityRotorManager::~DtEntityRotorManager ( )
virtual

destructor

makVrv::DtEntityRotorManager::DtEntityRotorManager ( )
privatedelete

not allowed

makVrv::DtEntityRotorManager::DtEntityRotorManager ( const DtEntityRotorManager orig)
privatedelete

not allowed

Member Function Documentation

DtEntityRotorManager& makVrv::DtEntityRotorManager::operator= ( const DtEntityRotorManager  )
privatedelete

not allowed

virtual void makVrv::DtEntityRotorManager::addModel ( DtOsgArticulatedModel model,
DtUniqueID  uniqueId,
DtUniqueID  elementId 
)
virtual

Add a model which will have some rotors.

Reimplemented in DtVrfEntityRotorManager.

virtual void makVrv::DtEntityRotorManager::removeModel ( DtOsgArticulatedModel model)
virtual

Remove the art part ids associated with this model from the DtEntityWheelManager.

Reimplemented in DtVrfEntityRotorManager.

virtual void makVrv::DtEntityRotorManager::slot_setState ( DtOsgArticulatedModel articulatedModel,
int  stateNumber,
int  stateValue 
)
virtual

slot to listen in on the state changes of the articulated model

static DtEntityRotorManager& makVrv::DtEntityRotorManager::instance ( DtDe de)
static

get the instance

static void makVrv::DtEntityRotorManager::registerInstance ( DtDe de,
DtEntityRotorManager manager 
)
static

register with the de

static const std::string& makVrv::DtEntityRotorManager::theClassName ( )
static

Get the name used to register this class.

bool makVrv::DtEntityRotorManager::hasRotors ( DtOsgArticulatedModel model) const
protected

does it have any rotors?

Member Data Documentation

DtDe& makVrv::DtEntityRotorManager::myDe
protected
DtRotorUpdater* makVrv::DtEntityRotorManager::myRotorUpdater
protected
std::unordered_map<DtOsgArticulatedModel*, DtEntityRotorData*> makVrv::DtEntityRotorManager::myEntityToRotorState
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)