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 | Protected Types | Protected Attributes
makVrv::DtLogicalRunwayStatusData Class Reference

DtLogicalRunwayStatusData maintains the status of the logical runway(s) associated with a VR-Link Reflected Runway. Many (though not all) physical runways have two logical designations - one from each direction. So for example one such as runway at logan airport has designations of 04R and 32L. Each instance of a DtPhysicalRunwayStatusData object has an array of 2 DtLogicalRunwayStatusData objects (the second of which may have no data, and can be recognized as such by an empty logical runway name.

Public Member Functions

 DtLogicalRunwayStatusData ()
 
virtual ~DtLogicalRunwayStatusData ()
 
 DtLogicalRunwayStatusData (const DtLogicalRunwayStatusData &orig)
 
DtLogicalRunwayStatusDataoperator= (const DtLogicalRunwayStatusData &rhs)
 
virtual void setLogicalRunwayName (const std::string &runwayName)
 
virtual std::string logicalRunwayName () const
 
virtual void setLightIntensity (DtRunwayLightsEnum lightType, float intensity)
 
virtual float lightIntensity (DtRunwayLightsEnum lightType) const
 
virtual void setRunwayIsActive (bool isActive)
 
virtual bool runwayIsActive () const
 
virtual void setRunwayHasArrestorsUp (bool arrestorsUp)
 
virtual bool runwayHasArrestorsUp () const
 
virtual void setAerodromeName (const std::string &aerodromeName)
 
virtual std::string aerodromeName () const
 

Protected Types

typedef std::array< float,
static_cast< size_t >
DtRunwayLightsEnum::MaxRunwayLightTypes)> 
LightArray
 

Protected Attributes

std::string myName
 
std::string myAerodromeName
 
bool myIsActive
 
bool myHasArrestorsUp
 
LightArray myLightIntensities
 

Member Typedef Documentation

typedef std::array<float, static_cast<size_t>DtRunwayLightsEnum::MaxRunwayLightTypes)> makVrv::DtLogicalRunwayStatusData::LightArray
protected

Constructor & Destructor Documentation

makVrv::DtLogicalRunwayStatusData::DtLogicalRunwayStatusData ( )

Constructor.

virtual makVrv::DtLogicalRunwayStatusData::~DtLogicalRunwayStatusData ( )
virtual

Destructor.

makVrv::DtLogicalRunwayStatusData::DtLogicalRunwayStatusData ( const DtLogicalRunwayStatusData orig)

Copy constructor.

Member Function Documentation

DtLogicalRunwayStatusData& makVrv::DtLogicalRunwayStatusData::operator= ( const DtLogicalRunwayStatusData rhs)

Assignment operator.

virtual void makVrv::DtLogicalRunwayStatusData::setLogicalRunwayName ( const std::string &  runwayName)
virtual

Set/ get the name of this logical runway name.

virtual std::string makVrv::DtLogicalRunwayStatusData::logicalRunwayName ( ) const
virtual

Set/ get the name of this logical runway name.

virtual void makVrv::DtLogicalRunwayStatusData::setLightIntensity ( DtRunwayLightsEnum  lightType,
float  intensity 
)
virtual

Set / get the current intensity of the specified light type. Note that DtRunwayLightsEnum::RunwayGuardLights should not be used with these methods, since that is part of the DtPhysicalRunwayStatusData.

virtual float makVrv::DtLogicalRunwayStatusData::lightIntensity ( DtRunwayLightsEnum  lightType) const
virtual

Set / get the current intensity of the specified light type. Note that DtRunwayLightsEnum::RunwayGuardLights should not be used with these methods, since that is part of the DtPhysicalRunwayStatusData.

virtual void makVrv::DtLogicalRunwayStatusData::setRunwayIsActive ( bool  isActive)
virtual

Set/ get whether the logical runway is active.

virtual bool makVrv::DtLogicalRunwayStatusData::runwayIsActive ( ) const
virtual

Set/ get whether the logical runway is active.

virtual void makVrv::DtLogicalRunwayStatusData::setRunwayHasArrestorsUp ( bool  arrestorsUp)
virtual

Set/ get whether the logical runway is active.

virtual bool makVrv::DtLogicalRunwayStatusData::runwayHasArrestorsUp ( ) const
virtual

Set/ get whether the logical runway is active.

virtual void makVrv::DtLogicalRunwayStatusData::setAerodromeName ( const std::string &  aerodromeName)
virtual

Set / get the aerodrome name this runway is found in. This name is needed to actually tell the renderer to modify the light intensity, and since it isn't expected to change, it can be cached here.

virtual std::string makVrv::DtLogicalRunwayStatusData::aerodromeName ( ) const
virtual

Set / get the aerodrome name this runway is found in. This name is needed to actually tell the renderer to modify the light intensity, and since it isn't expected to change, it can be cached here.

Member Data Documentation

std::string makVrv::DtLogicalRunwayStatusData::myName
protected
std::string makVrv::DtLogicalRunwayStatusData::myAerodromeName
protected
bool makVrv::DtLogicalRunwayStatusData::myIsActive
protected
bool makVrv::DtLogicalRunwayStatusData::myHasArrestorsUp
protected
LightArray makVrv::DtLogicalRunwayStatusData::myLightIntensities
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)