FlightGear next
route.hxx File Reference
#include <vector>
#include <map>
#include <iosfwd>
#include <optional>
#include <simgear/structure/SGReferenced.hxx>
#include <simgear/structure/SGSharedPtr.hxx>
#include <simgear/props/props.hxx>

Go to the source code of this file.

Classes

class  flightgear::Waypt
 Abstract base class for waypoints (and things that are treated similarly by navigation systems). More...
 
class  flightgear::RouteBase
 

Namespaces

namespace  flightgear
 FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints.
 

Enumerations

enum  flightgear::WayptFlag {
  flightgear::WPT_MAP = 1 << 0 , flightgear::WPT_IAF = 1 << 1 , flightgear::WPT_FAF = 1 << 2 , flightgear::WPT_OVERFLIGHT = 1 << 3 ,
  flightgear::WPT_TRANSITION = 1 << 4 , flightgear::WPT_MISS = 1 << 5 , flightgear::WPT_DYNAMIC = 1 << 6 , flightgear::WPT_GENERATED = 1 << 7 ,
  flightgear::WPT_DEPARTURE = 1 << 8 , flightgear::WPT_ARRIVAL = 1 << 9 , flightgear::WPT_PSEUDO = 1 << 10 , flightgear::WPT_APPROACH = 1 << 11 ,
  flightgear::WPT_VIA = 1 << 12 , flightgear::WPT_HIDDEN = 1 << 13
}
 
enum  flightgear::RouteRestriction {
  flightgear::RESTRICT_NONE , flightgear::RESTRICT_AT , flightgear::RESTRICT_ABOVE , flightgear::RESTRICT_BELOW ,
  flightgear::RESTRICT_BETWEEN , flightgear::SPEED_RESTRICT_MACH , flightgear::RESTRICT_DELETE , flightgear::RESTRICT_COMPUTED ,
  flightgear::SPEED_COMPUTED_MACH
}
 
enum  flightgear::RouteUnits {
  flightgear::DEFAULT_UNITS = 0 , flightgear::ALTITUDE_FEET , flightgear::ALTITUDE_METER , flightgear::ALTITUDE_FLIGHTLEVEL ,
  flightgear::SPEED_KNOTS , flightgear::SPEED_MACH , flightgear::SPEED_KPH
}
 

Functions

RouteRestriction flightgear::restrictionFromString (const std::string &aStr)
 
bool flightgear::isMachRestrict (RouteRestriction rr)
 
double flightgear::convertSpeedUnits (RouteUnits aSrc, RouteUnits aDest, double aAltitudeFt, double aValue)
 
double flightgear::convertAltitudeUnits (RouteUnits aSrc, RouteUnits aDest, double aValue)