DtAerodromeStatusManager manages status data for all the aerodromes and related runways in a VR-Link connection. It maintains a map indexed by DtUniqueID of each aerodrome using a DtAerodromeStatusData object (and an additional aerodrome map indexed by name. It also manages runway status data. Typically a physical runway has two logical names, based on each direction the runway could be used from; these are referred to as logical runways here. The DtAerodromeStatusManager maintains a map of each physical runway by DtUniqueID with a corresponding DtPhysicalRunwayStatusData object. The DtPhysicalRunwayStatusData in turn contains the logical runway-specific data. All additions, removals and changes to aerodromes or runways are handle by this singleton class. The primary data of interest currently is the intensity of different groups of lights on these runways ans some basic runway status, including whether the runway is wet, damaged, has arrestors up, and which logical runway (if any) is active. When light intensities are modified, this class uses a DtRunwayLightUpdaterAgent to notify the main (render) thread of those changes. For the other runway status data DtRunwayStatusUpdaterAgent is used.
|
| | DtAerodromeStatusManager (DtBaseConnection &conn) |
| |
| virtual | ~DtAerodromeStatusManager () |
| |
| | DtAerodromeStatusManager ()=delete |
| |
| | DtAerodromeStatusManager (const DtAerodromeStatusManager &)=delete |
| |
| DtAerodromeStatusManager & | operator= (const DtAerodromeStatusManager &)=delete |
| |
virtual
DtPhysicalRunwayStatusData * | findPhysicalRunwayData (DtUniqueID runwayId) |
| |
| virtual DtPhysicalRunwayStatusData | physicalRunwayData (DtUniqueID runwayId) const |
| |
| virtual DtLogicalRunwayStatusData * | findLogicalRunwayData (DtUniqueID runwayId, const std::string &logicalRunwayName) |
| |
| virtual DtLogicalRunwayStatusData | logicalRunwayData (DtUniqueID runwayId, const std::string &logicalRunwayName) const |
| |
| virtual DtLogicalRunwayStatusData * | findLogicalRunwayData (DtUniqueID runwayId, unsigned int logicalRunwayIndex) |
| |
| virtual DtLogicalRunwayStatusData | logicalRunwayData (DtUniqueID runwayId, unsigned int logicalRunwayIndex) const |
| |
|
| virtual void | addAerodrome (DtUniqueID uniqueId, const std::string &aerodromeName) |
| |
| virtual void | removeAerodrome (DtUniqueID aerodromeId) |
| |
| virtual DtAerodromeStatusData * | findAerodromeData (DtUniqueID aerodromeId) |
| |
| virtual DtAerodromeStatusData | aerodromeData (DtUniqueID aerodromeId) const |
| |
| virtual DtAerodromeStatusData | aerodromeData (const std::string &aerodromeName) const |
| |
| virtual DtAerodromeStatusData * | findAerodromeData (const std::string &aerodromeName) |
| |
|
| virtual void | addRunway (DtUniqueID runwayId, DtUniqueID aerodromeId) |
| |
| virtual void | removeRunway (DtUniqueID runwayId) |
| |
| virtual void | setPhysicalRunwayName (DtUniqueID runwayId, const std::string &name) |
| |
| virtual std::string | physicalRunwayName (DtUniqueID runwayId) const |
| |
| virtual void | setLogicalRunwayName (DtUniqueID runwayId, unsigned int logicalRunwayIndex, const std::string &name) |
| |
| virtual std::string | logicalRunwayName (DtUniqueID runwayId, unsigned int logicalRunwayIndex) |
| |
| virtual unsigned int | logicalRunwayIndex (DtUniqueID runwayId, const std::string &runwayName) const |
| |
| virtual void | setRunwayLightIntensity (DtUniqueID runwayId, unsigned int logicalRunwayIndex, DtRunwayLightsEnum lightType, float intensity) |
| |
| virtual float | runwayLightIntensity (DtUniqueID runwayId, unsigned int logicalRunwayIndex, DtRunwayLightsEnum lightType) const |
| |
|
| virtual void | setRunwayIsActive (DtUniqueID runwayId, unsigned int logicalRunwayIndex, bool isActive) |
| |
| virtual bool | runwayIsActive (DtUniqueID runwayId, unsigned int logicalRunwayIndex) const |
| |
|
| virtual void | setRunwayHasArrestorsUp (DtUniqueID runwayId, unsigned int logicalRunwayIndex, bool hasArrestorsUp) |
| |
| virtual bool | runwayHasArrestorsUp (DtUniqueID runwayId, unsigned int logicalRunwayIndex) const |
| |
|
| virtual void | setRunwayGuardLightsIntensity (DtUniqueID runwayId, float intensity) |
| |
| virtual float | runwayGuardLightsIntensity (DtUniqueID runwayId) const |
| |
|
| virtual void | setRunwayCondition (DtUniqueID runwayId, DtRunwayCondition cond) |
| |
| virtual DtRunwayCondition | runwayCondition (DtUniqueID runwayId) const |
| |
|
| virtual void | setRunwayIsDamaged (DtUniqueID runwayId, bool isDamaged) |
| |
| virtual bool | runwayIsDamaged (DtUniqueID runwayId) const |
| |
|
| virtual void | setAerodromeLightIntensity (DtUniqueID aerodromeId, DtAerodromeLightsEnum lightType, float intensity) |
| |
| virtual float | aerodromeLightIntensity (DtUniqueID aerodromeId, DtAerodromeLightsEnum lightType) const |
| |
| | DtVirtualBaseClass () |
| |
| virtual | ~DtVirtualBaseClass () |
| |