FlightGear next
flightgear::DefaultAircraftLocator Class Reference

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

- Protected Types inherited from AircraftDirVistorBase
enum  VisitResult { VISIT_CONTINUE = 0 , VISIT_DONE , VISIT_ERROR }
 
- Protected Member Functions inherited from AircraftDirVistorBase
 AircraftDirVistorBase ()
 
VisitResult visitAircraftPaths ()
 
VisitResult visitPath (const SGPath &path, unsigned int depth)
 
VisitResult visitDir (const simgear::Dir &d, unsigned int depth)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DefaultAircraftLocator()

flightgear::DefaultAircraftLocator::DefaultAircraftLocator ( )

Definition at line 68 of file DefaultAircraftLocator.cxx.

Member Function Documentation

◆ foundPath()

SGPath flightgear::DefaultAircraftLocator::foundPath ( ) const

Definition at line 83 of file DefaultAircraftLocator.cxx.


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