VR-Forces 4.10 Class Documentation
 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 | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtLocalWindObjectManager Class Reference

The DtLocalWindObjectManager manages and sets values for a DtLocalWindObjectAgents. More...

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

Public Member Functions

virtual ~DtLocalWindObjectManager ()
 DTOR. More...
 
virtual DtLocalWindObjectAgent * findLocalWindObjectAgent (DtUniqueID id)
 Find a local wind object agent, returns null if none exists. More...
 
virtual DtUniqueID addLocalWind (WindType localWindType)
 Add a local wind by type and get its unique id. More...
 
virtual void removeLocalWind (DtUniqueID id)
 Remove a local wind. More...
 
virtual void setLocalWindLocation (DtUniqueID id, DtVector loc)
 Set a particular wind object's location. More...
 
virtual void setLocalWindSpeed (DtUniqueID id, float speed)
 Set a particular wind object's speed (m/s) More...
 
virtual void setLocalWindDirection (DtUniqueID id, float dir)
 Set the local wind direction for a TYPE_DIRECTIONAL wind blowing from in radians from north. More...
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Static Public Member Functions

static DtLocalWindObjectManagerinstance (DtDe &de)
 Get/create instance of local wind object manager. More...
 
static const std::string & theClassName ()
 Get the name this class is registered by. More...
 

Public Attributes

boost::signalslib::signal
< void(DtUniqueID id,
DtLocalWindObjectAgent *)> 
signal_localWindObjectAdded
 Signal raised when a wind object is added. More...
 
boost::signalslib::signal
< void(DtUniqueID id,
DtLocalWindObjectAgent *)> 
signal_localWindObjectToBeRemoved
 Signal raised when a wind object is removed. More...
 
boost::signalslib::signal
< void(DtUniqueID id, float
metersPerSecond)> 
signal_localWindSpeedChanged
 Signal raised when the wind speed changes. More...
 
boost::signalslib::signal
< void(DtUniqueID id, DtVector
loc) > 
signal_localWindLocationChanged
 Signal raised the wind location changes. More...
 
boost::signalslib::signal
< void(DtUniqueID id, float
radians) > 
signal_localWindDirectionChanged
 Signal raised the wind direction changes. More...
 

Protected Types

typedef std::map< DtUniqueID,
DtLocalWindObjectAgent * > 
LocalWindMap
 

Protected Member Functions

 DtLocalWindObjectManager (DtDe &de)
 CTOR (protected) More...
 

Protected Attributes

DtDemyDe
 
LocalWindMap myIDToLocaWindObjectAgent
 

Private Member Functions

 DtLocalWindObjectManager ()
 Default Constructor not implemented – default constructor not allowed. More...
 
 DtLocalWindObjectManager (const DtLocalWindObjectManager &)
 Copy Constructor not implemented – Copy not allowed. More...
 
DtLocalWindObjectManageroperator= (const DtLocalWindObjectManager &)
 Assignment Operator not implemented – Copy not allowed. More...
 

Detailed Description

The DtLocalWindObjectManager manages and sets values for a DtLocalWindObjectAgents.

The DtLocalWindObjectManager is usually accessed through the DtEnvironment. You can addLocalWind, removeLocalWind in the DtEnvironment and it will communicate to the DtLocalWindObjectManager to create or destroy a DtLocalWindObjectAgent which will create or destroy a DtOsgEarthLocalWindObject (via vrvCore/DtLocalWindObject) and call the osgEarth API.

Member Typedef Documentation

typedef std::map<DtUniqueID, DtLocalWindObjectAgent* > makVrv::DtLocalWindObjectManager::LocalWindMap
protected

Constructor & Destructor Documentation

virtual makVrv::DtLocalWindObjectManager::~DtLocalWindObjectManager ( )
virtual

DTOR.

makVrv::DtLocalWindObjectManager::DtLocalWindObjectManager ( DtDe de)
protected

CTOR (protected)

makVrv::DtLocalWindObjectManager::DtLocalWindObjectManager ( )
private

Default Constructor not implemented – default constructor not allowed.

makVrv::DtLocalWindObjectManager::DtLocalWindObjectManager ( const DtLocalWindObjectManager )
private

Copy Constructor not implemented – Copy not allowed.

Member Function Documentation

virtual DtLocalWindObjectAgent* makVrv::DtLocalWindObjectManager::findLocalWindObjectAgent ( DtUniqueID  id)
virtual

Find a local wind object agent, returns null if none exists.

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

Get/create instance of local wind object manager.

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

Get the name this class is registered by.

virtual DtUniqueID makVrv::DtLocalWindObjectManager::addLocalWind ( WindType  localWindType)
virtual

Add a local wind by type and get its unique id.

virtual void makVrv::DtLocalWindObjectManager::removeLocalWind ( DtUniqueID  id)
virtual

Remove a local wind.

virtual void makVrv::DtLocalWindObjectManager::setLocalWindLocation ( DtUniqueID  id,
DtVector  loc 
)
virtual

Set a particular wind object's location.

virtual void makVrv::DtLocalWindObjectManager::setLocalWindSpeed ( DtUniqueID  id,
float  speed 
)
virtual

Set a particular wind object's speed (m/s)

virtual void makVrv::DtLocalWindObjectManager::setLocalWindDirection ( DtUniqueID  id,
float  dir 
)
virtual

Set the local wind direction for a TYPE_DIRECTIONAL wind blowing from in radians from north.

DtLocalWindObjectManager& makVrv::DtLocalWindObjectManager::operator= ( const DtLocalWindObjectManager )
private

Assignment Operator not implemented – Copy not allowed.

Member Data Documentation

boost::signalslib::signal<void(DtUniqueID id, DtLocalWindObjectAgent* )> makVrv::DtLocalWindObjectManager::signal_localWindObjectAdded

Signal raised when a wind object is added.

boost::signalslib::signal<void(DtUniqueID id, DtLocalWindObjectAgent* )> makVrv::DtLocalWindObjectManager::signal_localWindObjectToBeRemoved

Signal raised when a wind object is removed.

boost::signalslib::signal<void(DtUniqueID id, float metersPerSecond)> makVrv::DtLocalWindObjectManager::signal_localWindSpeedChanged

Signal raised when the wind speed changes.

boost::signalslib::signal<void(DtUniqueID id, DtVector loc) > makVrv::DtLocalWindObjectManager::signal_localWindLocationChanged

Signal raised the wind location changes.

boost::signalslib::signal<void(DtUniqueID id, float radians) > makVrv::DtLocalWindObjectManager::signal_localWindDirectionChanged

Signal raised the wind direction changes.

DtDe& makVrv::DtLocalWindObjectManager::myDe
protected
LocalWindMap makVrv::DtLocalWindObjectManager::myIDToLocaWindObjectAgent
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)