VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
makVrv::DtLightIndicatorManager Class Reference
Inheritance diagram for makVrv::DtLightIndicatorManager:
Inheritance graph
[legend]

Public Types

typedef boost::unordered_map
< DtUniqueID,
DtOsgArticulatedModel * > 
LightIndicatorsMap
typedef boost::unordered_map
< DtUniqueID, DtSceneObject * > 
SceneObjectMap

Public Member Functions

virtual ~DtLightIndicatorManager ()
 DTOR.
virtual void slot_LightIndicatorCreated (DtLightIndicatorData &lightIndicatorData)
 Called when Aerodrome creates the Taxiway sign.
virtual void slot_LightIndicatorDestroyed (DtLightIndicatorData &lightIndicatorData)
 Called when Aerodrome removes the Taxiway sign.
virtual std::size_t hashPos (DtVector &pos)
 Convert position to identifier.
virtual void setModelDefinitionForType (std::string &light_type, const std::string &modelDef)
 What model definition goes with which light type.
virtual void clearModelDefinitionForType (std::string &light_type)
 Clear the default set of sign size model definition names that the DtLightIndicatorManager uses, keeps default model definition.
virtual void setDefaultModelDefinition (const std::string &modelDef)
 If we can't find a model for a particular size, what is the default.
virtual void updateLightIndicatorManager ()
 Take element from the queue and made DtOsgArticulatedModels on the main thread (DtLightIndicatorManager is part of osgEarth threads)
virtual void createLightIndicator (DtLightIndicatorData &signData)
 Take information about the sign (size, letters, etc.
DtVector geodeticToCig (const DtVector &pos) const
 Convert (lon,lat,elevation) -> database coordinates.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static DtLightIndicatorManagerinstance (DtDe &anIG)
 Get an instance of the taxiway sign manager.

Public Attributes

boost::signal< void(DtLightIndicatorData &)> signal_LightIndicatorDeleted
boost::signal< void(DtLightIndicatorData &)> signal_LightIndicatorCreated

Protected Member Functions

 DtLightIndicatorManager (DtDe &de)

Protected Attributes

DtDemyDe
DtSignalConnectionManager myConnections
DtLockedBufferedQueue
< DtLightIndicatorData
myLightIndicatorDataLockedQueue
LightIndicatorsMap myLightIndicators
SceneObjectMap mySceneObjs
std::map< std::string,
std::string > 
myLightIndicatorModelDefinitions
std::string myDefaultLightIndicatorModelDefinition

Member Typedef Documentation

Constructor & Destructor Documentation

virtual makVrv::DtLightIndicatorManager::~DtLightIndicatorManager ( )
virtual

DTOR.

makVrv::DtLightIndicatorManager::DtLightIndicatorManager ( DtDe de)
protected

Member Function Documentation

static DtLightIndicatorManager& makVrv::DtLightIndicatorManager::instance ( DtDe anIG)
static

Get an instance of the taxiway sign manager.

virtual void makVrv::DtLightIndicatorManager::slot_LightIndicatorCreated ( DtLightIndicatorData lightIndicatorData)
virtual

Called when Aerodrome creates the Taxiway sign.

virtual void makVrv::DtLightIndicatorManager::slot_LightIndicatorDestroyed ( DtLightIndicatorData lightIndicatorData)
virtual

Called when Aerodrome removes the Taxiway sign.

virtual std::size_t makVrv::DtLightIndicatorManager::hashPos ( DtVector pos)
virtual

Convert position to identifier.

virtual void makVrv::DtLightIndicatorManager::setModelDefinitionForType ( std::string &  light_type,
const std::string &  modelDef 
)
virtual

What model definition goes with which light type.

virtual void makVrv::DtLightIndicatorManager::clearModelDefinitionForType ( std::string &  light_type)
virtual

Clear the default set of sign size model definition names that the DtLightIndicatorManager uses, keeps default model definition.

virtual void makVrv::DtLightIndicatorManager::setDefaultModelDefinition ( const std::string &  modelDef)
virtual

If we can't find a model for a particular size, what is the default.

virtual void makVrv::DtLightIndicatorManager::updateLightIndicatorManager ( )
virtual

Take element from the queue and made DtOsgArticulatedModels on the main thread (DtLightIndicatorManager is part of osgEarth threads)

virtual void makVrv::DtLightIndicatorManager::createLightIndicator ( DtLightIndicatorData signData)
virtual

Take information about the sign (size, letters, etc.

and create and configure the model)

DtVector makVrv::DtLightIndicatorManager::geodeticToCig ( const DtVector pos) const

Convert (lon,lat,elevation) -> database coordinates.

Member Data Documentation

boost::signal<void ( DtLightIndicatorData& )> makVrv::DtLightIndicatorManager::signal_LightIndicatorDeleted
boost::signal<void ( DtLightIndicatorData& )> makVrv::DtLightIndicatorManager::signal_LightIndicatorCreated
DtDe& makVrv::DtLightIndicatorManager::myDe
protected
DtSignalConnectionManager makVrv::DtLightIndicatorManager::myConnections
protected
DtLockedBufferedQueue<DtLightIndicatorData> makVrv::DtLightIndicatorManager::myLightIndicatorDataLockedQueue
protected
LightIndicatorsMap makVrv::DtLightIndicatorManager::myLightIndicators
protected
SceneObjectMap makVrv::DtLightIndicatorManager::mySceneObjs
protected
std::map<std::string, std::string> makVrv::DtLightIndicatorManager::myLightIndicatorModelDefinitions
protected
std::string makVrv::DtLightIndicatorManager::myDefaultLightIndicatorModelDefinition
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)