FlightGear next
|
Describe an approach procedure, including the missed approach segment. More...
#include <procedure.hxx>
Inherits flightgear::Procedure.
Public Member Functions | |
virtual | ~Approach () |
FGRunwayRef | runway () |
virtual FGAirport * | airport () const |
virtual RunwayVec | runways () const |
bool | route (FGRunwayRef runway, WayptRef aIAF, WayptVec &aWps) |
Build a route from a valid IAF to the runway, including the missed segment. | |
bool | routeWithTransition (FGRunwayRef runway, Transition *trans, WayptVec &aWps) |
bool | routeFromVectors (WayptVec &aWps) |
Build route as above, but ignore transitions, and assume radar vectoring to the start of main approach. | |
const WayptVec & | primary () const |
const WayptVec & | missed () const |
virtual ProcedureType | type () const |
string_list | transitionIdents () const |
Transition * | findTransitionByName (const std::string &aIdent) const |
![]() | |
virtual std::string | ident () const |
![]() | |
virtual | ~RouteBase () |
Static Public Member Functions | |
static bool | isApproach (ProcedureType ty) |
static Approach * | createTempApproach (const std::string &aIdent, FGRunway *aRunway, const WayptVec &aPath) |
![]() | |
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 | NavdataVisitor |
Additional Inherited Members | |
![]() | |
Procedure (const std::string &aIdent) | |
![]() | |
std::string | _ident |
Describe an approach procedure, including the missed approach segment.
Definition at line 114 of file procedure.hxx.
|
virtualdefault |
|
virtual |
Implements flightgear::Procedure.
Definition at line 71 of file procedure.cxx.
|
static |
Definition at line 58 of file procedure.cxx.
Transition * flightgear::Approach::findTransitionByName | ( | const std::string & | aIdent | ) | const |
Definition at line 179 of file procedure.cxx.
|
static |
Definition at line 164 of file procedure.cxx.
|
inline |
Definition at line 147 of file procedure.hxx.
|
inline |
Definition at line 144 of file procedure.hxx.
bool flightgear::Approach::route | ( | FGRunwayRef | runway, |
WayptRef | aIAF, | ||
WayptVec & | aWps ) |
Build a route from a valid IAF to the runway, including the missed segment.
Return false if no valid transition from the specified IAF could be found
Definition at line 117 of file procedure.cxx.
bool flightgear::Approach::routeFromVectors | ( | WayptVec & | aWps | ) |
Build route as above, but ignore transitions, and assume radar vectoring to the start of main approach.
Definition at line 154 of file procedure.cxx.
bool flightgear::Approach::routeWithTransition | ( | FGRunwayRef | runway, |
Transition * | trans, | ||
WayptVec & | aWps ) |
Definition at line 107 of file procedure.cxx.
|
inline |
Definition at line 119 of file procedure.hxx.
|
virtual |
Reimplemented from flightgear::Procedure.
Definition at line 76 of file procedure.cxx.
string_list flightgear::Approach::transitionIdents | ( | ) | const |
Definition at line 169 of file procedure.cxx.
|
inlinevirtual |
Implements flightgear::Procedure.
Definition at line 150 of file procedure.hxx.
|
friend |
Definition at line 160 of file procedure.hxx.