FlightGear next
|
FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints. More...
Namespaces | |
namespace | addons |
namespace | http |
namespace | Octree |
namespace | swift |
Classes | |
class | AircraftPerformance |
Calculate flight parameter based on aircraft performance data. More... | |
class | AirportBuilder |
class | AirportDynamicsManager |
class | AirportTower |
class | Airway |
class | Approach |
Describe an approach procedure, including the missed approach segment. More... | |
class | APTLoader |
class | ArrivalDeparture |
class | AStarOpenNode |
class | ATCVectors |
Represent ATC radar vectored segment. More... | |
class | BasicWaypt |
class | BasicWayptCtl |
class | CameraGroup |
class | CameraGroupListener |
struct | CameraInfo |
A wrapper around osg::Camera that contains some extra information. More... | |
class | CommStation |
class | ConstHdgToAltCtl |
class | DefaultAircraftLocator |
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... | |
class | DefaultTranslationParser |
Class for parsing a FlightGear default translation file (e.g., menu.xml) More... | |
class | DirectToController |
Controller supports 'directTo' (DTO) navigation to a waypoint. More... | |
class | Discontinuity |
Represent a route discontinuity. More... | |
class | DMEIntercept |
class | DMEInterceptCtl |
class | ErrorReporter |
class | FatalErrorException |
class | FGEventHandler |
class | FGStatsHandler |
class | FixesLoader |
class | FlightPlan |
class | GpxXmlVisitor |
XML loader for GPX file format. More... | |
class | GraphicsContextOperation |
An operation that is run once with a particular GraphicsContext current. More... | |
class | GraphicsFunctorWrapper |
class | GraphicsPresets |
class | GraphicsWindow |
A window with a graphics context and an integer ID. More... | |
struct | GUIUpdateCallback |
class | HeadingToAltitude |
class | HeapOrder |
class | Hold |
class | HoldCtl |
class | InAirwayFilter |
class | InterceptCtl |
class | LanguageInfo |
Class providing information on plural forms. More... | |
class | LegWayptCtl |
Controller for leg course interception. More... | |
class | NavaidWaypoint |
Waypoint based upon a navaid. More... | |
class | NavDataCache |
class | NavdataVisitor |
class | NavLoader |
class | OBSController |
class | OffsetNavaidWaypoint |
class | Options |
class | OptionValue |
internal storage of a value->option binding More... | |
class | POILoader |
class | PolyLine |
class | Procedure |
class | RadialIntercept |
class | RebuildThread |
Thread encapsulating a cache rebuild. More... | |
class | RNAV |
Abstract RNAV interface, for devices which implement an RNAV system - INS / GPS / FMS. More... | |
class | RouteBase |
class | RunwayCtl |
Special controller for runways. More... | |
class | RunwayWaypt |
Waypoint based upon a runway. More... | |
class | SceneryPager |
class | SHPParser |
class | SID |
class | STAR |
class | Transition |
Encapsulate a transition segment. More... | |
class | TranslationDomain |
Class that holds translation resources within a domain. More... | |
class | VectorsCtl |
class | Via |
class | View |
class | Waypt |
Abstract base class for waypoints (and things that are treated similarly by navigation systems). More... | |
class | WayptController |
class | WeatherScenariosModel |
class | WindowBuilder |
Singleton Builder class for creating a GraphicsWindow from property nodes. More... | |
class | WindowSystemAdapter |
Adapter from windows system / graphics context management API to functions used by flightgear. More... | |
class | XLIFFParser |
Typedefs | |
typedef std::vector< flightgear::SID * > | SIDList |
typedef std::vector< STAR * > | STARList |
typedef std::vector< Approach * > | ApproachList |
typedef SGSharedPtr< Waypt > | WayptRef |
typedef std::vector< WayptRef > | WayptVec |
typedef SGSharedPtr< CommStation > | CommStationRef |
typedef std::vector< CommStationRef > | CommStationList |
typedef std::map< std::string, FGAirport * > | AirportCache |
using | GraphicsFunctor = std::function<void(osg::GraphicsContext* context)> |
typedef std::vector< OptionValue > | OptionValueVec |
typedef std::map< string, const OptionDesc * > | OptionDescDict |
typedef SGSharedPtr< FGPositioned > | FGPositionedRef |
using | AStarOpenNodeRef = SGSharedPtr<AStarOpenNode> |
typedef vector< AStarOpenNodeRef > | OpenNodeHeap |
using | AirwayRef = SGSharedPtr<Airway> |
typedef std::vector< FlightPlan::DelegateFactoryRef > | FPDelegateFactoryVec |
typedef SGSharedPtr< FlightPlan > | FlightPlanRef |
typedef std::map< PositionedID, FGPositionedRef > | PositionedCache |
typedef std::pair< PositionedID, PositionedID > | AirportRunwayPair |
a pair of airport ID, runway ID | |
typedef std::pair< FGPositioned::Type, PositionedID > | TypedPositioned |
typedef std::vector< TypedPositioned > | TypedPositionedVec |
typedef std::pair< int, PositionedID > | AirwayEdge |
typedef std::vector< AirwayEdge > | AirwayEdgeVec |
typedef std::vector< SGGeod > | SGGeodVec |
typedef SGSharedPtr< PolyLine > | PolyLineRef |
typedef std::vector< PolyLineRef > | PolyLineList |
typedef std::vector< FGRunwayRef > | RunwayVec |
typedef SGSharedPtr< Transition > | TransitionRef |
typedef std::vector< SGPropertyNode_ptr > | SGPropertyNodeVec |
typedef SGSharedPtr< flightgear::View > | ViewPtr |
typedef std::vector< osg::ref_ptr< GraphicsWindow > > | WindowVector |
Functions | |
bool | isInitialStateName (const std::string &name) |
is the supplied name a defined initial-state, or alias of one | |
void | applyInitialState () |
static bool | isCommLine (const int code) |
bool | metarDataLoad (const SGPath &metar_file) |
std::string | defaultAirportICAO () |
string_list | defaultSplashScreenPaths () |
void | setHeadlessMode (bool headless) |
bool | isHeadlessMode () |
MessageBoxResult | modalMessageBox (const std::string &caption, const std::string &msg, const std::string &moreText) |
MessageBoxResult | fatalMessageBoxWithoutExit (const std::string &caption, const std::string &msg, const std::string &moreText, bool reportToSentry) |
void | fatalMessageBoxThenExit (const std::string &caption, const std::string &msg, const std::string &moreText, int exitStatus, bool reportToSentry) |
QOpenGLContext * | qtContextFromOSG (osg::GraphicsContext *context) |
QWindow * | qtWindowFromOSG (osgViewer::GraphicsWindow *graphicsWindow) |
osg::ref_ptr< osg::GraphicsOperation > | makeGraphicsOp (const std::string &name, GraphicsFunctor func) |
void | selectUITranslation () |
void | initApp (int &argc, char **argv, bool doInitQSettings) |
void | shutdownQtApp () |
void | initQSettings () |
bool | checkKeyboardModifiersForSettingFGRoot () |
void | restartTheApp () |
restartTheApp quit the application and relaunch it, passing the –launcher flag explicitly. | |
void | startLaunchOnExit (const std::vector< std::string > &originalCommandLine) |
@ brief helper to re-open the launcher once FLightGear exits cleanly | |
void | launcherSetSceneryPaths () |
bool | runLauncherDialog () |
bool | runInAppLauncherDialog () |
LockFileDialogResult | showLockFileDialog () |
bool | showSetupRootDialog (bool usingDefaultRoot) |
SetupRootResult | restoreUserSelectedRoot (SGPath &path) |
void | warnAboutGLVersion () |
bool | geocRadialIntersection (const SGGeoc &a, double r1, const SGGeoc &b, double r2, SGGeoc &result) |
double | greatCircleCrossTrackError (double distanceOriginToPosition, double courseDev) |
Helper function Cross track error: http://williams.best.vwh.net/avform.htm#XTE. | |
SGGeod | computeTurnCenter (double turnRadiusM, const SGGeod &basePos, double inboundTrack, double turnAngle) |
void | registerMainLoop () |
void | unregisterMainLoopProperties () |
static int | getOptionParamType (string option) |
SGPath | defaultDownloadDir () |
return the default platform dependant download directory. | |
SGPath | defaultTextureCacheDir () |
void | finalizePosition () |
static void | setInitialPosition (const SGGeod &aPos, double aHeadingDeg) |
static void | fgApplyStartOffset (const SGGeod &aStartPos, double aHeading, double aTargetHeading=HUGE_VAL) |
std::tuple< SGGeod, double > | runwayStartPos (FGRunwayRef runway) |
static bool | setPosFromAirportIDandHdg (const string &id, double tgt_hdg) |
static bool | airportParkingSetVicinity (const string &id) |
static bool | finalizePositionForParkpos (const string &id, const string &parkpos) |
static bool | fgSetPosFromAirportIDandRwy (const string &id, const string &rwy, bool rwy_req) |
static void | fgSetDistOrAltFromGlideSlope () |
static bool | fgSetPosFromNAV (const string &id, const double &freq, FGPositioned::Type type, PositionedID guid) |
static InitPosResult | setInitialPosFromCarrier (const string &carrier) |
static InitPosResult | checkCarrierSceneryLoaded (const SGSharedPtr< FGAICarrier > carrierRef) |
static InitPosResult | setFinalPosFromCarrier (const string &carrier, const string &posid) |
static InitPosResult | setFinalPosFromCarrierFLOLS (const string &carrier, bool abeam) |
static bool | fgSetPosFromFix (const string &id, PositionedID guid) |
bool | initPosition () |
bool | finalizeMetar () |
void | initTowerLocationListener () |
void | initSentry () |
void | shutdownSentry () |
void | delayedSentryInit () |
std::string | sentryUserId () |
retrive the anonymous user ID (a UUID) for this installation. | |
bool | isSentryEnabled () |
void | addSentryBreadcrumb (const std::string &, const std::string &) |
void | addSentryTag (const char *, const char *) |
void | updateSentryTag (const std::string &, const std::string &) |
void | sentryReportNasalError (const std::string &, const string_list &) |
void | sentryReportException (const std::string &, const std::string &) |
void | sentryReportFatalError (const std::string &, const std::string &) |
void | sentryReportUserError (const std::string &, const std::string &, const std::string &) |
void | addSentryTag (const std::string &tag, const std::string &value) |
SGSubsystem * | createSubsystemByName (const std::string &name) |
create a subsystem by name, and return it. | |
SGSubsystemMgr::GroupType | mapGroupNameToType (const std::string &s) |
static SGSubsystem * | getSubsystem (const SGPropertyNode *arg, bool create) |
static bool | do_check_subsystem_running (const SGPropertyNode *arg, SGPropertyNode *root) |
static bool | do_add_subsystem (const SGPropertyNode *arg, SGPropertyNode *root) |
static bool | do_remove_subsystem (const SGPropertyNode *arg, SGPropertyNode *root) |
static bool | do_reinit (const SGPropertyNode *arg, SGPropertyNode *root) |
Built-in command: reinitialize one or more subsystems. | |
static bool | do_suspend (const SGPropertyNode *arg, SGPropertyNode *root) |
Built-in command: suspend one or more subsystems. | |
static bool | do_resume (const SGPropertyNode *arg, SGPropertyNode *root) |
Built-in command: suspend one or more subsystems. | |
void | registerSubsystemCommands (SGCommandMgr *cmdMgr) |
std::string | getAircraftAuthorsText () |
getAircraftAuthorsText - get the aircraft authors as a single string value. | |
double | lowPassPeriodicDegreesSigned (double current, double target, double timeratio) |
low-pass filter for bearings, etc in degrees. | |
double | lowPassPeriodicDegreesPositive (double current, double target, double timeratio) |
low-pass filter for bearings, etc in degrees. | |
double | filterExponential (double current, double target, double timeratio) |
exponential filter | |
static double | headingDiffDeg (double a, double b) |
static void | buildWaypoints (AStarOpenNodeRef aNode, WayptVec &aRoute) |
static AStarOpenNodeRef | findInOpen (const OpenNodeHeap &aHeap, FGPositioned *aPos) |
Inefficent (linear) helper to find an open node in the heap. | |
const char * | restrictionToString (RouteRestriction aRestrict) |
static WayptVec | copyWaypointsExpandingVias (WayptRef preceeding, const WayptVec &wps) |
static bool | anyWaypointsWithFlag (FlightPlan *plan, WayptFlag flag) |
RebuildLockStatus | accquireRebuildLock () |
static void | releaseRebuildLock () |
static bool | isNearby (const SGGeod &pos1, const SGGeod &pos2) |
static bool | canBeDuplicate (FGPositionedRef ref, FGPositioned::Type type, const std::string &name, const SGGeod &pos, int freq) |
static bool | isNearby (const SGVec3d &pos1, const SGVec3d &pos2) |
static void | markWaypoints (WayptVec &wps, WayptFlag f) |
bool | isMachRestrict (RouteRestriction rr) |
double | convertSpeedUnits (RouteUnits aSrc, RouteUnits aDest, double aAltitudeFt, double aValue) |
double | convertAltitudeUnits (RouteUnits aSrc, RouteUnits aDest, double aValue) |
RouteRestriction | restrictionFromString (const std::string &aStr) |
static naRef | f_new_FGTranslate (const nasal::CallContext &ctx) |
void | initNasalTranslations (naRef globals, naContext c) |
osg::Camera * | getGUICamera (CameraGroup *cgroup) |
Get the osg::Camera that draws the GUI, if any, from a camera group. | |
static bool | computeCameraIntersection (const CameraGroup *cgroup, const CameraInfo *cinfo, const osg::Vec2d &windowPos, osgUtil::LineSegmentIntersector::Intersections &intersections) |
bool | computeIntersections (const CameraGroup *cgroup, const osg::Vec2d &windowPos, osgUtil::LineSegmentIntersector::Intersections &intersections) |
Choose a camera using an event and do intersection testing on its view of the scene. | |
void | warpGUIPointer (CameraGroup *cgroup, int x, int y) |
Warp the pointer to coordinates in the GUI camera of a camera group. | |
void | reloadCompositors (CameraGroup *cgroup) |
Force a reload of all Compositor instances in the CameraGroup, except the one used by the GUI camera. | |
bool | eventToWindowCoords (const osgGA::GUIEventAdapter *ea, double &x, double &y) |
static bool | do_apply_preset (const SGPropertyNode *arg, SGPropertyNode *root) |
static bool | do_save_preset (const SGPropertyNode *arg, SGPropertyNode *root) |
static bool | do_list_standard_presets (const SGPropertyNode *arg, SGPropertyNode *root) |
SGSubsystemMgr::Registrant< GraphicsPresets > | registrantGraphicsPresets (SGSubsystemMgr::DISPLAY) |
static osgXR::View::Flags | getPassVRFlags (const simgear::compositor::Pass *pass) |
Variables | ||
const char | ICAO_AIRCRAFT_CATEGORY_A = 'A' | |
const char | ICAO_AIRCRAFT_CATEGORY_B = 'B' | |
const char | ICAO_AIRCRAFT_CATEGORY_C = 'C' | |
const char | ICAO_AIRCRAFT_CATEGORY_D = 'D' | |
const char | ICAO_AIRCRAFT_CATEGORY_E = 'E' | |
static const float | RUNWAY_OFFSET = 3.0 | |
SGSubsystemMgr::Registrant< AirportDynamicsManager > | registrantAirportDynamicsManager | |
static std::unique_ptr< QApplication > | static_qApp | |
static const char * | static_lockFileDialog_Title | |
static const char * | static_lockFileDialog_Text | |
static const char * | static_lockFileDialog_Info | |
const auto | turnComputeDist = SG_NM_TO_METER * 4.0 | |
static SGTimeStamp | global_finalizeTime | |
to avoid blocking when metar-fetch is enabled, but the network is unresponsive, we need a timeout value. | ||
static bool | global_callbackRegistered = false | |
struct { | ||
const char * flightgear::name | ||
SGCommandMgr::command_t flightgear::command | ||
} | built_ins [] | |
static std::vector< AirwayRef > | static_airwaysCache | |
static FPDelegateFactoryVec | static_delegateFactories | |
static NavDataCache * | static_instance = NULL | |
const std::string | static_rebuildLockFile = "fgfs_cache_rebuild.lock" | |
static int | static_rebuildLockFileFd = -1 | |
static const double | DUPLICATE_DETECTION_RADIUS_NM = 10 | |
static const double | DUPLICATE_DETECTION_RADIUS_SQR_M = DUPLICATE_DETECTION_RADIUS_NM * DUPLICATE_DETECTION_RADIUS_NM * SG_NM_TO_METER * SG_NM_TO_METER | |
const double | NO_MAG_VAR = -1000.0 | |
const int | displayStatsKey = 1 | |
const int | printStatsKey = 2 | |
static osg::ref_ptr< VRManager > | managerInstance | |
const char | DEFAULT_WINDOW_NAME [] = "FlightGear" | |
FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints.
routePath.hxx - convert a route to straight line segments, for graphical output or display.
procedure.hxx - define route storing an approach, arrival or departure procedure
Polyline - store geographic line-segments.
typedef std::map<std::string, FGAirport*> flightgear::AirportCache |
Definition at line 73 of file airports_fwd.hxx.
typedef std::pair<PositionedID, PositionedID> flightgear::AirportRunwayPair |
a pair of airport ID, runway ID
Definition at line 26 of file NavDataCache.hxx.
typedef std::pair<int, PositionedID> flightgear::AirwayEdge |
Definition at line 32 of file NavDataCache.hxx.
typedef std::vector<AirwayEdge> flightgear::AirwayEdgeVec |
Definition at line 33 of file NavDataCache.hxx.
typedef SGSharedPtr< Airway > flightgear::AirwayRef = SGSharedPtr<Airway> |
Definition at line 40 of file airways.hxx.
typedef std::vector<Approach*> flightgear::ApproachList |
Definition at line 66 of file airports_fwd.hxx.
using flightgear::AStarOpenNodeRef = SGSharedPtr<AStarOpenNode> |
Definition at line 89 of file airways.cxx.
typedef std::vector<CommStationRef> flightgear::CommStationList |
Definition at line 72 of file airports_fwd.hxx.
typedef SGSharedPtr<CommStation> flightgear::CommStationRef |
Definition at line 71 of file airports_fwd.hxx.
typedef SGSharedPtr<FGPositioned> flightgear::FGPositionedRef |
Definition at line 49 of file airways.cxx.
typedef SGSharedPtr<FlightPlan> flightgear::FlightPlanRef |
Definition at line 38 of file FlightPlan.hxx.
typedef std::vector<FlightPlan::DelegateFactoryRef> flightgear::FPDelegateFactoryVec |
Definition at line 82 of file FlightPlan.cxx.
using flightgear::GraphicsFunctor = std::function<void(osg::GraphicsContext* context)> |
Definition at line 35 of file OSGQtAdaption.hxx.
typedef vector<AStarOpenNodeRef> flightgear::OpenNodeHeap |
Definition at line 584 of file airways.cxx.
typedef std::map<string, const OptionDesc*> flightgear::OptionDescDict |
Definition at line 2155 of file options.cxx.
typedef std::vector<OptionValue> flightgear::OptionValueVec |
Definition at line 2154 of file options.cxx.
typedef std::vector< PolyLineRef > flightgear::PolyLineList |
Definition at line 41 of file PolyLine.hxx.
typedef SGSharedPtr< PolyLine > flightgear::PolyLineRef |
Definition at line 40 of file PolyLine.hxx.
typedef std::map<PositionedID, FGPositionedRef> flightgear::PositionedCache |
Definition at line 234 of file NavDataCache.cxx.
typedef std::vector<FGRunwayRef> flightgear::RunwayVec |
Definition at line 34 of file procedure.hxx.
typedef std::vector< SGGeod > flightgear::SGGeodVec |
Definition at line 36 of file PolyLine.hxx.
typedef std::vector<SGPropertyNode_ptr> flightgear::SGPropertyNodeVec |
Definition at line 181 of file CameraGroup.cxx.
typedef std::vector<flightgear::SID*> flightgear::SIDList |
Definition at line 64 of file airports_fwd.hxx.
typedef std::vector<STAR*> flightgear::STARList |
Definition at line 65 of file airports_fwd.hxx.
typedef SGSharedPtr<Transition> flightgear::TransitionRef |
Definition at line 108 of file procedure.hxx.
typedef std::pair<FGPositioned::Type, PositionedID> flightgear::TypedPositioned |
Definition at line 28 of file NavDataCache.hxx.
typedef std::vector<TypedPositioned> flightgear::TypedPositionedVec |
Definition at line 29 of file NavDataCache.hxx.
typedef SGSharedPtr<flightgear::View> flightgear::ViewPtr |
Definition at line 41 of file viewmgr.hxx.
typedef SGSharedPtr< Waypt > flightgear::WayptRef |
Definition at line 68 of file airports_fwd.hxx.
typedef std::vector< WayptRef > flightgear::WayptVec |
Definition at line 69 of file airports_fwd.hxx.
typedef std::vector<osg::ref_ptr<GraphicsWindow> > flightgear::WindowVector |
Definition at line 65 of file WindowSystemAdapter.hxx.
|
strong |
Enumerator | |
---|---|
VFR | |
IFR | |
IFR_VFR | |
VFR_IFR |
Definition at line 40 of file FlightPlan.hxx.
|
strong |
Enumerator | |
---|---|
Scheduled | |
NonScheduled | |
GeneralAviation | |
Military | |
Other |
Definition at line 48 of file FlightPlan.hxx.
Enumerator | |
---|---|
ExactPosition | |
VicinityPosition | |
ContinueWaiting | |
Failure |
Definition at line 61 of file positioninit.cxx.
Enumerator | |
---|---|
LockFileContinue | |
LockFileReset | |
LockFileQuit |
Definition at line 49 of file QtLauncher.hxx.
Enumerator | |
---|---|
MSG_BOX_OK | |
MSG_BOX_YES | |
MSG_BOX_NO |
Definition at line 20 of file MessageBox.hxx.
option processing can have various result values depending on what the user requested.
Note processOptions only returns a subset of these.
Definition at line 52 of file options.hxx.
Enumerator | |
---|---|
PROCEDURE_INVALID | |
PROCEDURE_APPROACH_ILS | |
PROCEDURE_APPROACH_VOR | |
PROCEDURE_APPROACH_NDB | |
PROCEDURE_APPROACH_RNAV | |
PROCEDURE_SID | |
PROCEDURE_STAR | |
PROCEDURE_TRANSITION | |
PROCEDURE_RUNWAY_TRANSITION |
Definition at line 36 of file procedure.hxx.
Enumerator | |
---|---|
RebuildLockFailed | |
RebuildLockAlreadyLocked | |
RebuildLockOk |
Definition at line 1539 of file NavDataCache.cxx.
|
strong |
Enumerator | |
---|---|
RestoredOk | |
UserExit | |
UserSelected | |
UseDefault |
Definition at line 73 of file QtLauncher.hxx.
RebuildLockStatus flightgear::accquireRebuildLock | ( | ) |
Definition at line 1545 of file NavDataCache.cxx.
void flightgear::addSentryBreadcrumb | ( | const std::string & | , |
const std::string & | ) |
Definition at line 561 of file sentryIntegration.cxx.
void flightgear::addSentryTag | ( | const char * | , |
const char * | ) |
Definition at line 565 of file sentryIntegration.cxx.
void flightgear::addSentryTag | ( | const std::string & | tag, |
const std::string & | value ) |
Definition at line 599 of file sentryIntegration.cxx.
|
static |
Definition at line 181 of file positioninit.cxx.
|
static |
Definition at line 901 of file FlightPlan.cxx.
void flightgear::applyInitialState | ( | ) |
Definition at line 63 of file initialstate.cxx.
|
static |
Definition at line 586 of file airways.cxx.
|
static |
|
static |
Definition at line 387 of file positioninit.cxx.
bool flightgear::checkKeyboardModifiersForSettingFGRoot | ( | ) |
Definition at line 489 of file QtLauncher.cxx.
|
static |
Definition at line 847 of file CameraGroup.cxx.
bool flightgear::computeIntersections | ( | const CameraGroup * | cgroup, |
const osg::Vec2d & | windowPos, | ||
osgUtil::LineSegmentIntersector::Intersections & | intersections ) |
Choose a camera using an event and do intersection testing on its view of the scene.
Only cameras with the DO_INTERSECTION_TEST flag set are considered.
cgroup | the CameraGroup |
ea | the event containing a window and mouse coordinates |
intersections | container for the result of intersection testing. |
Definition at line 891 of file CameraGroup.cxx.
SGGeod flightgear::computeTurnCenter | ( | double | turnRadiusM, |
const SGGeod & | basePos, | ||
double | inboundTrack, | ||
double | turnAngle ) |
Definition at line 67 of file rnav_waypt_controller.cxx.
double flightgear::convertAltitudeUnits | ( | RouteUnits | aSrc, |
RouteUnits | aDest, | ||
double | aValue ) |
double flightgear::convertSpeedUnits | ( | RouteUnits | aSrc, |
RouteUnits | aDest, | ||
double | aAltitudeFt, | ||
double | aValue ) |
|
static |
Definition at line 216 of file FlightPlan.cxx.
SGSubsystem * flightgear::createSubsystemByName | ( | const std::string & | name | ) |
create a subsystem by name, and return it.
Will throw an exception if the subsytem name is invalid, or if the subsytem could not be created for some other reason. ownership of the subsystem passes to the caller
Definition at line 75 of file subsystemFactory.cxx.
std::string flightgear::defaultAirportICAO | ( | ) |
Definition at line 38 of file DefaultAircraftLocator.cxx.
SGPath flightgear::defaultDownloadDir | ( | ) |
return the default platform dependant download directory.
This must be a user-writeable location, the question is if it should be a user visible location. On Windows we default to a subdir of Documents (FlightGear), on Unixes we default to FG_HOME, which is typically invisible.
Definition at line 3001 of file options.cxx.
string_list flightgear::defaultSplashScreenPaths | ( | ) |
Definition at line 49 of file DefaultAircraftLocator.cxx.
SGPath flightgear::defaultTextureCacheDir | ( | ) |
Definition at line 3020 of file options.cxx.
void flightgear::delayedSentryInit | ( | ) |
Definition at line 547 of file sentryIntegration.cxx.
|
static |
Definition at line 200 of file subsystemFactory.cxx.
|
static |
Definition at line 167 of file GraphicsPresets.cxx.
|
static |
Definition at line 194 of file subsystemFactory.cxx.
|
static |
Definition at line 221 of file GraphicsPresets.cxx.
|
static |
Built-in command: reinitialize one or more subsystems.
subsystem[*]: the name(s) of the subsystem(s) to reinitialize; if none is specified, reinitialize all of them.
Definition at line 232 of file subsystemFactory.cxx.
|
static |
Definition at line 205 of file subsystemFactory.cxx.
|
static |
Built-in command: suspend one or more subsystems.
subsystem[*] - the name(s) of the subsystem(s) to suspend.
Definition at line 288 of file subsystemFactory.cxx.
|
static |
Definition at line 202 of file GraphicsPresets.cxx.
|
static |
Built-in command: suspend one or more subsystems.
subsystem[*] - the name(s) of the subsystem(s) to suspend.
Definition at line 264 of file subsystemFactory.cxx.
bool flightgear::eventToWindowCoords | ( | const osgGA::GUIEventAdapter * | ea, |
double & | x, | ||
double & | y ) |
Definition at line 543 of file FGEventHandler.cxx.
|
static |
Definition at line 24 of file NasalTranslations.cxx.
void flightgear::fatalMessageBoxThenExit | ( | const std::string & | caption, |
const std::string & | msg, | ||
const std::string & | moreText, | ||
int | exitStatus, | ||
bool | reportToSentry ) |
Definition at line 214 of file MessageBox.cxx.
MessageBoxResult flightgear::fatalMessageBoxWithoutExit | ( | const std::string & | caption, |
const std::string & | msg, | ||
const std::string & | moreText, | ||
bool | reportToSentry ) |
Definition at line 173 of file MessageBox.cxx.
|
static |
Definition at line 90 of file positioninit.cxx.
|
static |
Definition at line 263 of file positioninit.cxx.
|
static |
Definition at line 222 of file positioninit.cxx.
|
static |
Definition at line 528 of file positioninit.cxx.
|
static |
Definition at line 307 of file positioninit.cxx.
double flightgear::filterExponential | ( | double | current, |
double | target, | ||
double | timeratio ) |
bool flightgear::finalizeMetar | ( | ) |
Definition at line 750 of file positioninit.cxx.
void flightgear::finalizePosition | ( | ) |
Definition at line 791 of file positioninit.cxx.
|
static |
Definition at line 194 of file positioninit.cxx.
|
static |
Inefficent (linear) helper to find an open node in the heap.
Definition at line 611 of file airways.cxx.
bool flightgear::geocRadialIntersection | ( | const SGGeoc & | a, |
double | r1, | ||
const SGGeoc & | b, | ||
double | r2, | ||
SGGeoc & | result ) |
Definition at line 39 of file routePath.cxx.
std::string flightgear::getAircraftAuthorsText | ( | ) |
osg::Camera * flightgear::getGUICamera | ( | CameraGroup * | cgroup | ) |
Get the osg::Camera that draws the GUI, if any, from a camera group.
cgroup | the camera group |
Definition at line 836 of file CameraGroup.cxx.
|
static |
Definition at line 2507 of file options.cxx.
|
static |
Definition at line 307 of file VRManager.cxx.
|
static |
Definition at line 136 of file subsystemFactory.cxx.
double flightgear::greatCircleCrossTrackError | ( | double | distanceOriginToPosition, |
double | courseDev ) |
Helper function Cross track error: http://williams.best.vwh.net/avform.htm#XTE.
param distanceOriginToPosition in Nautical Miles param courseDev difference between courseOriginToAircraft(AD) and courseOriginToTarget(AB) return XTE in Nautical Miles
A(origin) B(target) D(aircraft) perhaps off course
A-->--B \ / \ / D
Definition at line 59 of file rnav_waypt_controller.cxx.
|
static |
Definition at line 438 of file airways.cxx.
void flightgear::initApp | ( | int & | argc, |
char ** | argv, | ||
bool | doInitQSettings ) |
Definition at line 360 of file QtLauncher.cxx.
void flightgear::initNasalTranslations | ( | naRef | globals, |
naContext | c ) |
Definition at line 42 of file NasalTranslations.cxx.
bool flightgear::initPosition | ( | ) |
Definition at line 548 of file positioninit.cxx.
void flightgear::initQSettings | ( | ) |
Definition at line 470 of file QtLauncher.cxx.
void flightgear::initSentry | ( | ) |
Definition at line 539 of file sentryIntegration.cxx.
void flightgear::initTowerLocationListener | ( | ) |
|
static |
Definition at line 241 of file apt_loader.cxx.
bool flightgear::isHeadlessMode | ( | ) |
Definition at line 118 of file MessageBox.cxx.
bool flightgear::isInitialStateName | ( | const std::string & | name | ) |
is the supplied name a defined initial-state, or alias of one
Definition at line 57 of file initialstate.cxx.
bool flightgear::isMachRestrict | ( | RouteRestriction | rr | ) |
|
static |
|
static |
bool flightgear::isSentryEnabled | ( | ) |
Definition at line 556 of file sentryIntegration.cxx.
void flightgear::launcherSetSceneryPaths | ( | ) |
Definition at line 560 of file QtLauncher.cxx.
double flightgear::lowPassPeriodicDegreesPositive | ( | double | current, |
double | target, | ||
double | timeratio ) |
low-pass filter for bearings, etc in degrees.
Inputs can have any sign and output is always in the range [0.0 .. 360.0]. Ranges of inputs do not have to be consistent, they will be normalised before filtering.
current | - current value in degrees |
target | - target (new) value in degrees. |
timeratio | - |
double flightgear::lowPassPeriodicDegreesSigned | ( | double | current, |
double | target, | ||
double | timeratio ) |
low-pass filter for bearings, etc in degrees.
Inputs can have any sign and output is always in the range [-180.0 .. 180.0]. Ranges of inputs do not have to be consistent, they will be normalised before filtering.
current | - current value in degrees |
target | - target (new) value in degrees. |
timeratio | - |
osg::ref_ptr< osg::GraphicsOperation > flightgear::makeGraphicsOp | ( | const std::string & | name, |
GraphicsFunctor | func ) |
Definition at line 140 of file OSGQtAdaption.cxx.
SGSubsystemMgr::GroupType flightgear::mapGroupNameToType | ( | const std::string & | s | ) |
Definition at line 123 of file subsystemFactory.cxx.
Definition at line 37 of file procedure.cxx.
bool flightgear::metarDataLoad | ( | const SGPath & | metar_file | ) |
Definition at line 868 of file apt_loader.cxx.
MessageBoxResult flightgear::modalMessageBox | ( | const std::string & | caption, |
const std::string & | msg, | ||
const std::string & | moreText ) |
Definition at line 123 of file MessageBox.cxx.
QOpenGLContext * flightgear::qtContextFromOSG | ( | osg::GraphicsContext * | context | ) |
Definition at line 87 of file OSGQtAdaption.cxx.
QWindow * flightgear::qtWindowFromOSG | ( | osgViewer::GraphicsWindow * | graphicsWindow | ) |
Definition at line 109 of file OSGQtAdaption.cxx.
void flightgear::registerSubsystemCommands | ( | SGCommandMgr * | cmdMgr | ) |
Definition at line 319 of file subsystemFactory.cxx.
SGSubsystemMgr::Registrant< GraphicsPresets > flightgear::registrantGraphicsPresets | ( | SGSubsystemMgr::DISPLAY | ) |
|
static |
Definition at line 1589 of file NavDataCache.cxx.
void flightgear::reloadCompositors | ( | CameraGroup * | cgroup | ) |
Force a reload of all Compositor instances in the CameraGroup, except the one used by the GUI camera.
Definition at line 949 of file CameraGroup.cxx.
void flightgear::restartTheApp | ( | ) |
restartTheApp quit the application and relaunch it, passing the –launcher flag explicitly.
Definition at line 508 of file QtLauncher.cxx.
SetupRootResult flightgear::restoreUserSelectedRoot | ( | SGPath & | path | ) |
Definition at line 733 of file QtLauncher.cxx.
RouteRestriction flightgear::restrictionFromString | ( | const std::string & | aStr | ) |
const char * flightgear::restrictionToString | ( | RouteRestriction | aRestrict | ) |
bool flightgear::runInAppLauncherDialog | ( | ) |
Definition at line 678 of file QtLauncher.cxx.
bool flightgear::runLauncherDialog | ( | ) |
Definition at line 599 of file QtLauncher.cxx.
std::tuple< SGGeod, double > flightgear::runwayStartPos | ( | FGRunwayRef | runway | ) |
Definition at line 112 of file positioninit.cxx.
void flightgear::selectUITranslation | ( | ) |
Definition at line 336 of file QtLauncher.cxx.
void flightgear::sentryReportException | ( | const std::string & | , |
const std::string & | ) |
Definition at line 578 of file sentryIntegration.cxx.
void flightgear::sentryReportFatalError | ( | const std::string & | , |
const std::string & | ) |
Definition at line 582 of file sentryIntegration.cxx.
void flightgear::sentryReportNasalError | ( | const std::string & | , |
const string_list & | ) |
Definition at line 574 of file sentryIntegration.cxx.
void flightgear::sentryReportUserError | ( | const std::string & | , |
const std::string & | , | ||
const std::string & | ) |
Definition at line 586 of file sentryIntegration.cxx.
std::string flightgear::sentryUserId | ( | ) |
retrive the anonymous user ID (a UUID) for this installation.
The UUID is generated on first-run and stored in FG_HOME in a text file.
Definition at line 551 of file sentryIntegration.cxx.
|
static |
Definition at line 413 of file positioninit.cxx.
|
static |
Definition at line 468 of file positioninit.cxx.
void flightgear::setHeadlessMode | ( | bool | headless | ) |
Definition at line 113 of file MessageBox.cxx.
|
static |
Definition at line 352 of file positioninit.cxx.
|
static |
Definition at line 77 of file positioninit.cxx.
|
static |
Definition at line 152 of file positioninit.cxx.
LockFileDialogResult flightgear::showLockFileDialog | ( | ) |
Definition at line 702 of file QtLauncher.cxx.
bool flightgear::showSetupRootDialog | ( | bool | usingDefaultRoot | ) |
Definition at line 728 of file QtLauncher.cxx.
void flightgear::shutdownQtApp | ( | ) |
Definition at line 461 of file QtLauncher.cxx.
void flightgear::shutdownSentry | ( | ) |
Definition at line 543 of file sentryIntegration.cxx.
void flightgear::startLaunchOnExit | ( | const std::vector< std::string > & | originalCommandLine | ) |
@ brief helper to re-open the launcher once FLightGear exits cleanly
Definition at line 536 of file QtLauncher.cxx.
void flightgear::updateSentryTag | ( | const std::string & | , |
const std::string & | ) |
Definition at line 569 of file sentryIntegration.cxx.
void flightgear::warnAboutGLVersion | ( | ) |
Definition at line 738 of file QtLauncher.cxx.
void flightgear::warpGUIPointer | ( | CameraGroup * | cgroup, |
int | x, | ||
int | y ) |
Warp the pointer to coordinates in the GUI camera of a camera group.
cgroup | the camera group |
x | x window coordinate of pointer |
y | y window coordinate of pointer, in "y down" coordinates. |
Definition at line 909 of file CameraGroup.cxx.
struct { ... } flightgear::built_ins[] |
SGCommandMgr::command_t flightgear::command |
Definition at line 308 of file subsystemFactory.cxx.
const char flightgear::DEFAULT_WINDOW_NAME[] = "FlightGear" |
Definition at line 31 of file WindowBuilder.hxx.
const int flightgear::displayStatsKey = 1 |
Definition at line 48 of file FGEventHandler.cxx.
|
static |
|
static |
|
static |
Definition at line 72 of file positioninit.cxx.
|
static |
to avoid blocking when metar-fetch is enabled, but the network is unresponsive, we need a timeout value.
This value is reset on initPosition, and tracked through each call to finalizePosition.
Definition at line 71 of file positioninit.cxx.
const char flightgear::ICAO_AIRCRAFT_CATEGORY_A = 'A' |
Definition at line 28 of file AircraftPerformance.hxx.
const char flightgear::ICAO_AIRCRAFT_CATEGORY_B = 'B' |
Definition at line 29 of file AircraftPerformance.hxx.
const char flightgear::ICAO_AIRCRAFT_CATEGORY_C = 'C' |
Definition at line 30 of file AircraftPerformance.hxx.
const char flightgear::ICAO_AIRCRAFT_CATEGORY_D = 'D' |
Definition at line 31 of file AircraftPerformance.hxx.
const char flightgear::ICAO_AIRCRAFT_CATEGORY_E = 'E' |
Definition at line 32 of file AircraftPerformance.hxx.
|
static |
Definition at line 38 of file VRManager.cxx.
const char* flightgear::name |
Definition at line 307 of file subsystemFactory.cxx.
const int flightgear::printStatsKey = 2 |
Definition at line 49 of file FGEventHandler.cxx.
SGSubsystemMgr::Registrant<AirportDynamicsManager> flightgear::registrantAirportDynamicsManager |
Definition at line 113 of file airportdynamicsmanager.cxx.
|
static |
Definition at line 19 of file AirportBuilder.hxx.
|
static |
Definition at line 48 of file airways.cxx.
|
static |
Definition at line 83 of file FlightPlan.cxx.
|
static |
Definition at line 1323 of file NavDataCache.cxx.
|
static |
Definition at line 696 of file QtLauncher.cxx.
|
static |
Definition at line 691 of file QtLauncher.cxx.
|
static |
Definition at line 689 of file QtLauncher.cxx.
|
static |
Definition at line 330 of file QtLauncher.cxx.
const std::string flightgear::static_rebuildLockFile = "fgfs_cache_rebuild.lock" |
Definition at line 1535 of file NavDataCache.cxx.
|
static |
Definition at line 1536 of file NavDataCache.cxx.
const auto flightgear::turnComputeDist = SG_NM_TO_METER * 4.0 |
Definition at line 36 of file rnav_waypt_controller.cxx.