WSF
XWsfAirTrafficData Class Reference

#include <XWsfAirTraffic.hpp>

Inheritance diagram for XWsfAirTrafficData:

Classes

class  Destination
class  Aircraft
class  Runway
class  Airbase
class  AircraftType
class  Flight

Public Types

typedef std::vector< DestinationDestinations
typedef std::map< WsfStringId, AirbaseAirbases
typedef std::map< WsfStringId, AircraftTypeAircraftTypes

Public Member Functions

 XWsfAirTrafficData ()
bool ProcessInput (UtInput &aInput)
 Process simulation input.
void ProcessAirbaseBlock (UtInput &aInput)
 Process the 'airbase' / 'end_airbase' block.
void ProcessAircraftTypeBlock (UtInput &aInput)
 Process the 'aircraft_type' / 'end_aircraft_type' block.
bool IsRequested () const

Static Public Member Functions

static double NormalizeHeading (double aHeading)
 Normalize a heading to be in the range [0, 360).

Public Attributes

double mEveryoneLandTime
Airbases mAirbases
AircraftTypes mAircraftTypes

Member Typedef Documentation

◆ Airbases

◆ AircraftTypes

◆ Destinations

Constructor & Destructor Documentation

◆ XWsfAirTrafficData()

XWsfAirTrafficData::XWsfAirTrafficData ( )
inline

Member Function Documentation

◆ IsRequested()

bool XWsfAirTrafficData::IsRequested ( ) const

References mAirbases.

◆ NormalizeHeading()

double XWsfAirTrafficData::NormalizeHeading ( double aHeading)
static

Normalize a heading to be in the range [0, 360).

Referenced by ProcessAirbaseBlock().

◆ ProcessAirbaseBlock()

◆ ProcessAircraftTypeBlock()

◆ ProcessInput()

bool XWsfAirTrafficData::ProcessInput ( UtInput & aInput)

Process simulation input.

Determine if the current command is one that pertains to this object. If it is then we process the command and return 'true'. If it isn't one of our commands then we simply return 'false'.

References mEveryoneLandTime, ProcessAirbaseBlock(), and ProcessAircraftTypeBlock().

Member Data Documentation

◆ mAirbases

◆ mAircraftTypes

AircraftTypes XWsfAirTrafficData::mAircraftTypes

◆ mEveryoneLandTime

double XWsfAirTrafficData::mEveryoneLandTime

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved