FlightGear next
|
we don't want to rely on the main AircraftModel threaded scan, to find the default aircraft, so we do a synchronous scan here, on the assumption that FG_DATA/Aircraft only contains a handful of entries. More...
#include <DefaultAircraftLocator.hxx>
Inherits AircraftDirVistorBase.
Public Member Functions | |
DefaultAircraftLocator () | |
SGPath | foundPath () const |
Additional Inherited Members | |
![]() | |
enum | VisitResult { VISIT_CONTINUE = 0 , VISIT_DONE , VISIT_ERROR } |
![]() | |
AircraftDirVistorBase () | |
VisitResult | visitAircraftPaths () |
VisitResult | visitPath (const SGPath &path, unsigned int depth) |
VisitResult | visitDir (const simgear::Dir &d, unsigned int depth) |
we don't want to rely on the main AircraftModel threaded scan, to find the default aircraft, so we do a synchronous scan here, on the assumption that FG_DATA/Aircraft only contains a handful of entries.
Definition at line 23 of file DefaultAircraftLocator.hxx.
flightgear::DefaultAircraftLocator::DefaultAircraftLocator | ( | ) |
Definition at line 68 of file DefaultAircraftLocator.cxx.
SGPath flightgear::DefaultAircraftLocator::foundPath | ( | ) | const |
Definition at line 83 of file DefaultAircraftLocator.cxx.