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 | Protected Types | Protected Attributes | Private Member Functions
makVrv::DtRotorWashSet Class Reference

Holds the set of rotorwash effects for a helicopter. More...

Public Member Functions

 DtRotorWashSet (DtDe &de)
 CTOR. More...
 
virtual ~DtRotorWashSet ()
 DTOR. More...
 
virtual void addRotorWash (DtUniqueID helicopterId, DtUniqueID rotorWashId, std::string modelDef)
 create the rotorwash model agent More...
 
virtual void removeRotorWash (DtUniqueID rotorWashId)
 remove the rotorwash model agent More...
 
virtual bool hasRotorWash (DtUniqueID rotorWashId)
 Is this rotor wash ID in this set. More...
 
virtual void start (DtUniqueID rotorWashId)
 Start the rotorwash model agent. More...
 
virtual void stop (DtUniqueID rotorWashId)
 Stop the rotorwash model agent. More...
 
virtual void setRotorDiameter (DtUniqueID rotorWashId, double rotorDiameter)
 Set the diameter of the rotors (tip to tip) generating the wake. More...
 
virtual void setDefaultRotorDiameter (DtUniqueID rotorWashId, double rotorDiameter)
 Set a default diameter of the rotors (tip to tip) generating the wake if setRotorDiameter is not used (probably around 20) More...
 
virtual void setRotorWindSpeed (DtUniqueID rotorWashId, double rotorWindSpeed)
 Set the speed of the down-draft created by the rotors. More...
 
virtual void setDefaultRotorWindSpeed (DtUniqueID rotorWashId, double rotorWindSpeed)
 Set a default speed of the down-draft created by the rotors if setRotorWindSpeed is not used (probably around 100 m/s) More...
 
virtual const DtRotorWashStatefindActiveRotorWashState ()
 Retrieve a const versino of the state for the current active (unpaused) rotorwash Returns NULL if there is no active rotorwash. More...
 
virtual const DtRotorWashStatefindRotorWashState (DtUniqueID rotorWashId)
 Retrieve a const versino of the state for rotorwash by id Returns NULL if the id cannot be found. More...
 
virtual void update (DtTime tNow)
 Update the process with the current active rotorwash. More...
 
virtual int numRotorWashes ()
 How many rotorwashes does this set have (rotorwashes are created on demand so a DtRotorWashSet could have 0,1,2,..7) More...
 
virtual void getRotorWashIDs (std::vector< DtUniqueID > &rotorWashIds)
 Get the rotor wash IDs in this set. More...
 
virtual DtUniqueID helicopterID ()
 What entity are we on? (returns 0 if no entity) A DtRotorWashSet has one helicopter. More...
 
virtual DtUniqueID localWindID ()
 Retrieve wind id for interfacing with DtEnvironment, DtLocalWindObjectManager (returns 0 if no wind yet) A DtRotorWashSet has one wind. More...
 

Protected Types

typedef std::map< DtUniqueID,
DtRotorWashState
RotorWashIDtoRotorWashStateMap
 

Protected Attributes

DtDemyDe
 
RotorWashIDtoRotorWashStateMap myRotorWashIDToRotorWashState
 
DtRotorWashProcessmyRotorWashProcess
 
bool myHasWind
 
bool myDefaultWindSpeedAllowed
 
bool myDefaultDiameterAllowed
 
DtUniqueID myHelicopterId
 
DtUniqueID myLocalWindId
 

Private Member Functions

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

Detailed Description

Holds the set of rotorwash effects for a helicopter.

Creates a

See Also
DtRotorWashProcess which will update values for the currently active rotor wash (based on soil type) for a particular helicopter. The updated rotorwash values are held in the
DtRotorWashState. The
DtRotorWashState has a
DtRotorWashDistributor object. The DtRotorWashDistributorObject will send the updated values on to the DtRotorWashModel for the active rotorwash.

Member Typedef Documentation

Constructor & Destructor Documentation

makVrv::DtRotorWashSet::DtRotorWashSet ( DtDe de)

CTOR.

virtual makVrv::DtRotorWashSet::~DtRotorWashSet ( )
virtual

DTOR.

makVrv::DtRotorWashSet::DtRotorWashSet ( )
private

Default Constructor not implemented – default constructor not allowed.

makVrv::DtRotorWashSet::DtRotorWashSet ( const DtRotorWashSet )
private

Copy Constructor not implemented – Copy not allowed.

Member Function Documentation

virtual void makVrv::DtRotorWashSet::addRotorWash ( DtUniqueID  helicopterId,
DtUniqueID  rotorWashId,
std::string  modelDef 
)
virtual

create the rotorwash model agent

virtual void makVrv::DtRotorWashSet::removeRotorWash ( DtUniqueID  rotorWashId)
virtual

remove the rotorwash model agent

virtual bool makVrv::DtRotorWashSet::hasRotorWash ( DtUniqueID  rotorWashId)
virtual

Is this rotor wash ID in this set.

virtual void makVrv::DtRotorWashSet::start ( DtUniqueID  rotorWashId)
virtual

Start the rotorwash model agent.

virtual void makVrv::DtRotorWashSet::stop ( DtUniqueID  rotorWashId)
virtual

Stop the rotorwash model agent.

virtual void makVrv::DtRotorWashSet::setRotorDiameter ( DtUniqueID  rotorWashId,
double  rotorDiameter 
)
virtual

Set the diameter of the rotors (tip to tip) generating the wake.

virtual void makVrv::DtRotorWashSet::setDefaultRotorDiameter ( DtUniqueID  rotorWashId,
double  rotorDiameter 
)
virtual

Set a default diameter of the rotors (tip to tip) generating the wake if setRotorDiameter is not used (probably around 20)

virtual void makVrv::DtRotorWashSet::setRotorWindSpeed ( DtUniqueID  rotorWashId,
double  rotorWindSpeed 
)
virtual

Set the speed of the down-draft created by the rotors.

virtual void makVrv::DtRotorWashSet::setDefaultRotorWindSpeed ( DtUniqueID  rotorWashId,
double  rotorWindSpeed 
)
virtual

Set a default speed of the down-draft created by the rotors if setRotorWindSpeed is not used (probably around 100 m/s)

virtual const DtRotorWashState* makVrv::DtRotorWashSet::findActiveRotorWashState ( )
virtual

Retrieve a const versino of the state for the current active (unpaused) rotorwash Returns NULL if there is no active rotorwash.

virtual const DtRotorWashState* makVrv::DtRotorWashSet::findRotorWashState ( DtUniqueID  rotorWashId)
virtual

Retrieve a const versino of the state for rotorwash by id Returns NULL if the id cannot be found.

virtual void makVrv::DtRotorWashSet::update ( DtTime  tNow)
virtual

Update the process with the current active rotorwash.

virtual int makVrv::DtRotorWashSet::numRotorWashes ( )
virtual

How many rotorwashes does this set have (rotorwashes are created on demand so a DtRotorWashSet could have 0,1,2,..7)

virtual void makVrv::DtRotorWashSet::getRotorWashIDs ( std::vector< DtUniqueID > &  rotorWashIds)
virtual

Get the rotor wash IDs in this set.

virtual DtUniqueID makVrv::DtRotorWashSet::helicopterID ( )
virtual

What entity are we on? (returns 0 if no entity) A DtRotorWashSet has one helicopter.

virtual DtUniqueID makVrv::DtRotorWashSet::localWindID ( )
virtual

Retrieve wind id for interfacing with DtEnvironment, DtLocalWindObjectManager (returns 0 if no wind yet) A DtRotorWashSet has one wind.

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

Assignment Operator not implemented – Copy not allowed.

Member Data Documentation

DtDe& makVrv::DtRotorWashSet::myDe
protected
RotorWashIDtoRotorWashStateMap makVrv::DtRotorWashSet::myRotorWashIDToRotorWashState
protected
DtRotorWashProcess* makVrv::DtRotorWashSet::myRotorWashProcess
protected
bool makVrv::DtRotorWashSet::myHasWind
protected
bool makVrv::DtRotorWashSet::myDefaultWindSpeedAllowed
protected
bool makVrv::DtRotorWashSet::myDefaultDiameterAllowed
protected
DtUniqueID makVrv::DtRotorWashSet::myHelicopterId
protected
DtUniqueID makVrv::DtRotorWashSet::myLocalWindId
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)