|
FlightGear next
|
#include <airways.hxx>
Inherits flightgear::RouteBase.
Classes | |
| class | Network |
| Track a network of airways. More... | |
Public Types | |
| enum | Level { UnknownLevel = 0 , LowLevel = 1 , HighLevel = 2 , Both = 3 } |
Public Member Functions | |
| std::string | ident () const override |
| int | cacheId () const |
| Level | level () const |
| double | topAltitudeFt () const |
| double | bottomAltitudeFt () const |
| WayptRef | findEnroute (const std::string &aIdent) const |
| bool | canVia (const WayptRef &from, const WayptRef &to) const |
| WayptVec | via (const WayptRef &from, const WayptRef &to) const |
| bool | containsNavaid (const FGPositionedRef &navaid) const |
| WayptRef | findEnroute (const FGPositionedRef &navaid) const |
Public Member Functions inherited from flightgear::RouteBase | |
| virtual | ~RouteBase () |
Static Public Member Functions | |
| static void | loadAWYDat (const SGPath &path) |
| static AirwayRef | loadByCacheId (int cacheId) |
| static AirwayRef | findByIdent (const std::string &aIdent, Level level) |
| static AirwayRef | findByIdentAndVia (const std::string &aIdent, const WayptRef &from, const WayptRef &to) |
| Find the airway based on its ident. | |
| static AirwayRef | findByIdentAndNavaid (const std::string &aIdent, const FGPositionedRef nav) |
| Find an airway by ident, and containing a particula rnavaid/fix. | |
| static Network * | highLevel () |
| static Network * | lowLevel () |
Static Public Member Functions inherited from flightgear::RouteBase | |
| static void | loadAirportProcedures (const SGPath &aPath, FGAirport *aApt) |
| static void | dumpRouteToKML (const WayptVec &aRoute, const std::string &aName) |
| static void | dumpRouteToKMLLineString (const std::string &aIdent, const WayptVec &aRoute, std::ostream &aStream) |
Friends | |
| class | Network |
| class | NavDataCache |
Definition at line 42 of file airways.hxx.
| Enumerator | |
|---|---|
| UnknownLevel | |
| LowLevel | |
| HighLevel | Victor airways. |
| Both | Jet airways. |
Definition at line 45 of file airways.hxx.
|
inline |
Definition at line 66 of file airways.hxx.
|
inline |
Definition at line 55 of file airways.hxx.
Definition at line 197 of file airways.cxx.
| bool flightgear::Airway::containsNavaid | ( | const FGPositionedRef & | navaid | ) | const |
Definition at line 266 of file airways.cxx.
Definition at line 294 of file airways.cxx.
|
static |
Find an airway by ident, and containing a particula rnavaid/fix.
Definition at line 371 of file airways.cxx.
|
static |
Find the airway based on its ident.
IF both high- and low- level idents exist, select the one which can route between the from and to waypoints correctly, preferring high-level airways.
Definition at line 356 of file airways.cxx.
| WayptRef flightgear::Airway::findEnroute | ( | const FGPositionedRef & | navaid | ) | const |
Definition at line 401 of file airways.cxx.
| WayptRef flightgear::Airway::findEnroute | ( | const std::string & | aIdent | ) | const |
Definition at line 386 of file airways.cxx.
|
static |
Definition at line 105 of file airways.cxx.
|
inlineoverridevirtual |
Implements flightgear::RouteBase.
Definition at line 52 of file airways.hxx.
|
inline |
Definition at line 58 of file airways.hxx.
|
static |
Definition at line 130 of file airways.cxx.
|
static |
Definition at line 327 of file airways.cxx.
|
static |
Definition at line 93 of file airways.cxx.
|
inline |
Definition at line 63 of file airways.hxx.
Definition at line 229 of file airways.cxx.
|
friend |
Definition at line 176 of file airways.hxx.
|
friend |
Definition at line 175 of file airways.hxx.