FlightGear next
flightgear::Approach Class Reference

Describe an approach procedure, including the missed approach segment. More...

#include <procedure.hxx>

Inherits flightgear::Procedure.

Public Member Functions

virtual ~Approach ()
 
FGRunwayRef runway ()
 
virtual FGAirportairport () 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 WayptVecprimary () const
 
const WayptVecmissed () const
 
virtual ProcedureType type () const
 
string_list transitionIdents () const
 
TransitionfindTransitionByName (const std::string &aIdent) const
 
- Public Member Functions inherited from flightgear::Procedure
virtual std::string ident () const
 
- Public Member Functions inherited from flightgear::RouteBase
virtual ~RouteBase ()
 

Static Public Member Functions

static bool isApproach (ProcedureType ty)
 
static ApproachcreateTempApproach (const std::string &aIdent, FGRunway *aRunway, const WayptVec &aPath)
 
- 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 NavdataVisitor
 

Additional Inherited Members

- Protected Member Functions inherited from flightgear::Procedure
 Procedure (const std::string &aIdent)
 
- Protected Attributes inherited from flightgear::Procedure
std::string _ident
 

Detailed Description

Describe an approach procedure, including the missed approach segment.

Definition at line 114 of file procedure.hxx.

Constructor & Destructor Documentation

◆ ~Approach()

flightgear::Approach::~Approach ( )
virtualdefault

Member Function Documentation

◆ airport()

FGAirport * flightgear::Approach::airport ( ) const
virtual

Implements flightgear::Procedure.

Definition at line 71 of file procedure.cxx.

◆ createTempApproach()

Approach * flightgear::Approach::createTempApproach ( const std::string & aIdent,
FGRunway * aRunway,
const WayptVec & aPath )
static

Definition at line 58 of file procedure.cxx.

◆ findTransitionByName()

Transition * flightgear::Approach::findTransitionByName ( const std::string & aIdent) const

Definition at line 179 of file procedure.cxx.

◆ isApproach()

bool flightgear::Approach::isApproach ( ProcedureType ty)
static

Definition at line 164 of file procedure.cxx.

◆ missed()

const WayptVec & flightgear::Approach::missed ( ) const
inline

Definition at line 147 of file procedure.hxx.

◆ primary()

const WayptVec & flightgear::Approach::primary ( ) const
inline

Definition at line 144 of file procedure.hxx.

◆ route()

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.

◆ routeFromVectors()

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.

◆ routeWithTransition()

bool flightgear::Approach::routeWithTransition ( FGRunwayRef runway,
Transition * trans,
WayptVec & aWps )

Definition at line 107 of file procedure.cxx.

◆ runway()

FGRunwayRef flightgear::Approach::runway ( )
inline

Definition at line 119 of file procedure.hxx.

◆ runways()

RunwayVec flightgear::Approach::runways ( ) const
virtual

Reimplemented from flightgear::Procedure.

Definition at line 76 of file procedure.cxx.

◆ transitionIdents()

string_list flightgear::Approach::transitionIdents ( ) const

Definition at line 169 of file procedure.cxx.

◆ type()

virtual ProcedureType flightgear::Approach::type ( ) const
inlinevirtual

Implements flightgear::Procedure.

Definition at line 150 of file procedure.hxx.

Friends And Related Symbol Documentation

◆ NavdataVisitor

friend class NavdataVisitor
friend

Definition at line 160 of file procedure.hxx.


The documentation for this class was generated from the following files: