FlightGear next
flightgear Namespace Reference

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< WayptWayptRef
 
typedef std::vector< WayptRefWayptVec
 
typedef SGSharedPtr< CommStationCommStationRef
 
typedef std::vector< CommStationRefCommStationList
 
typedef std::map< std::string, FGAirport * > AirportCache
 
using GraphicsFunctor = std::function<void(osg::GraphicsContext* context)>
 
typedef std::vector< OptionValueOptionValueVec
 
typedef std::map< string, const OptionDesc * > OptionDescDict
 
typedef SGSharedPtr< FGPositionedFGPositionedRef
 
using AStarOpenNodeRef = SGSharedPtr<AStarOpenNode>
 
typedef vector< AStarOpenNodeRefOpenNodeHeap
 
using AirwayRef = SGSharedPtr<Airway>
 
typedef std::vector< FlightPlan::DelegateFactoryRefFPDelegateFactoryVec
 
typedef SGSharedPtr< FlightPlanFlightPlanRef
 
typedef std::map< PositionedID, FGPositionedRefPositionedCache
 
typedef std::pair< PositionedID, PositionedIDAirportRunwayPair
 a pair of airport ID, runway ID
 
typedef std::pair< FGPositioned::Type, PositionedIDTypedPositioned
 
typedef std::vector< TypedPositionedTypedPositionedVec
 
typedef std::pair< int, PositionedIDAirwayEdge
 
typedef std::vector< AirwayEdgeAirwayEdgeVec
 
typedef std::vector< SGGeod > SGGeodVec
 
typedef SGSharedPtr< PolyLinePolyLineRef
 
typedef std::vector< PolyLineRefPolyLineList
 
typedef std::vector< FGRunwayRefRunwayVec
 
typedef SGSharedPtr< TransitionTransitionRef
 
typedef std::vector< SGPropertyNode_ptr > SGPropertyNodeVec
 
typedef SGSharedPtr< flightgear::ViewViewPtr
 
typedef std::vector< osg::ref_ptr< GraphicsWindow > > WindowVector
 

Enumerations

enum  MessageBoxResult { MSG_BOX_OK , MSG_BOX_YES , MSG_BOX_NO }
 
enum  LockFileDialogResult { LockFileContinue , LockFileReset , LockFileQuit }
 
enum class  SetupRootResult { RestoredOk , UserExit , UserSelected , UseDefault }
 
enum  OptionResult {
  FG_OPTIONS_OK = 0 , FG_OPTIONS_HELP , FG_OPTIONS_ERROR , FG_OPTIONS_EXIT ,
  FG_OPTIONS_VERBOSE_HELP , FG_OPTIONS_SHOW_AIRCRAFT , FG_OPTIONS_SHOW_SOUND_DEVICES , FG_OPTIONS_SHOW_INFO ,
  FG_OPTIONS_NO_DEFAULT_CONFIG
}
 option processing can have various result values depending on what the user requested. More...
 
enum  InitPosResult { ExactPosition , VicinityPosition , ContinueWaiting , Failure }
 
enum class  ICAOFlightRules { VFR = 0 , IFR , IFR_VFR , VFR_IFR }
 
enum class  ICAOFlightType {
  Scheduled = 0 , NonScheduled , GeneralAviation , Military ,
  Other
}
 
enum  RebuildLockStatus { RebuildLockFailed = 0 , RebuildLockAlreadyLocked , RebuildLockOk }
 
enum  ProcedureType {
  PROCEDURE_INVALID , PROCEDURE_APPROACH_ILS , PROCEDURE_APPROACH_VOR , PROCEDURE_APPROACH_NDB ,
  PROCEDURE_APPROACH_RNAV , PROCEDURE_SID , PROCEDURE_STAR , PROCEDURE_TRANSITION ,
  PROCEDURE_RUNWAY_TRANSITION
}
 
enum  WayptFlag {
  WPT_MAP = 1 << 0 , WPT_IAF = 1 << 1 , WPT_FAF = 1 << 2 , WPT_OVERFLIGHT = 1 << 3 ,
  WPT_TRANSITION = 1 << 4 , WPT_MISS = 1 << 5 , WPT_DYNAMIC = 1 << 6 , WPT_GENERATED = 1 << 7 ,
  WPT_DEPARTURE = 1 << 8 , WPT_ARRIVAL = 1 << 9 , WPT_PSEUDO = 1 << 10 , WPT_APPROACH = 1 << 11 ,
  WPT_VIA = 1 << 12 , WPT_HIDDEN = 1 << 13
}
 
enum  RouteRestriction {
  RESTRICT_NONE , RESTRICT_AT , RESTRICT_ABOVE , RESTRICT_BELOW ,
  RESTRICT_BETWEEN , SPEED_RESTRICT_MACH , RESTRICT_DELETE , RESTRICT_COMPUTED ,
  SPEED_COMPUTED_MACH
}
 
enum  RouteUnits {
  DEFAULT_UNITS = 0 , ALTITUDE_FEET , ALTITUDE_METER , ALTITUDE_FLIGHTLEVEL ,
  SPEED_KNOTS , SPEED_MACH , SPEED_KPH
}
 

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< GraphicsPresetsregistrantGraphicsPresets (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< AirportDynamicsManagerregistrantAirportDynamicsManager
 
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< AirwayRefstatic_airwaysCache
 
static FPDelegateFactoryVec static_delegateFactories
 
static NavDataCachestatic_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"
 

Detailed Description

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 Documentation

◆ AirportCache

typedef std::map<std::string, FGAirport*> flightgear::AirportCache

Definition at line 73 of file airports_fwd.hxx.

◆ AirportRunwayPair

a pair of airport ID, runway ID

Definition at line 26 of file NavDataCache.hxx.

◆ AirwayEdge

typedef std::pair<int, PositionedID> flightgear::AirwayEdge

Definition at line 32 of file NavDataCache.hxx.

◆ AirwayEdgeVec

typedef std::vector<AirwayEdge> flightgear::AirwayEdgeVec

Definition at line 33 of file NavDataCache.hxx.

◆ AirwayRef

typedef SGSharedPtr< Airway > flightgear::AirwayRef = SGSharedPtr<Airway>

Definition at line 40 of file airways.hxx.

◆ ApproachList

typedef std::vector<Approach*> flightgear::ApproachList

Definition at line 66 of file airports_fwd.hxx.

◆ AStarOpenNodeRef

Definition at line 89 of file airways.cxx.

◆ CommStationList

Definition at line 72 of file airports_fwd.hxx.

◆ CommStationRef

Definition at line 71 of file airports_fwd.hxx.

◆ FGPositionedRef

Definition at line 49 of file airways.cxx.

◆ FlightPlanRef

typedef SGSharedPtr<FlightPlan> flightgear::FlightPlanRef

Definition at line 38 of file FlightPlan.hxx.

◆ FPDelegateFactoryVec

Definition at line 82 of file FlightPlan.cxx.

◆ GraphicsFunctor

using flightgear::GraphicsFunctor = std::function<void(osg::GraphicsContext* context)>

Definition at line 35 of file OSGQtAdaption.hxx.

◆ OpenNodeHeap

Definition at line 584 of file airways.cxx.

◆ OptionDescDict

typedef std::map<string, const OptionDesc*> flightgear::OptionDescDict

Definition at line 2155 of file options.cxx.

◆ OptionValueVec

Definition at line 2154 of file options.cxx.

◆ PolyLineList

typedef std::vector< PolyLineRef > flightgear::PolyLineList

Definition at line 41 of file PolyLine.hxx.

◆ PolyLineRef

typedef SGSharedPtr< PolyLine > flightgear::PolyLineRef

Definition at line 40 of file PolyLine.hxx.

◆ PositionedCache

Definition at line 234 of file NavDataCache.cxx.

◆ RunwayVec

typedef std::vector<FGRunwayRef> flightgear::RunwayVec

Definition at line 34 of file procedure.hxx.

◆ SGGeodVec

typedef std::vector< SGGeod > flightgear::SGGeodVec

Definition at line 36 of file PolyLine.hxx.

◆ SGPropertyNodeVec

typedef std::vector<SGPropertyNode_ptr> flightgear::SGPropertyNodeVec

Definition at line 181 of file CameraGroup.cxx.

◆ SIDList

typedef std::vector<flightgear::SID*> flightgear::SIDList

Definition at line 64 of file airports_fwd.hxx.

◆ STARList

typedef std::vector<STAR*> flightgear::STARList

Definition at line 65 of file airports_fwd.hxx.

◆ TransitionRef

typedef SGSharedPtr<Transition> flightgear::TransitionRef

Definition at line 108 of file procedure.hxx.

◆ TypedPositioned

Definition at line 28 of file NavDataCache.hxx.

◆ TypedPositionedVec

Definition at line 29 of file NavDataCache.hxx.

◆ ViewPtr

typedef SGSharedPtr<flightgear::View> flightgear::ViewPtr

Definition at line 41 of file viewmgr.hxx.

◆ WayptRef

typedef SGSharedPtr< Waypt > flightgear::WayptRef

Definition at line 68 of file airports_fwd.hxx.

◆ WayptVec

typedef std::vector< WayptRef > flightgear::WayptVec

Definition at line 69 of file airports_fwd.hxx.

◆ WindowVector

typedef std::vector<osg::ref_ptr<GraphicsWindow> > flightgear::WindowVector

Definition at line 65 of file WindowSystemAdapter.hxx.

Enumeration Type Documentation

◆ ICAOFlightRules

enum class flightgear::ICAOFlightRules
strong
Enumerator
VFR 
IFR 
IFR_VFR 
VFR_IFR 

Definition at line 40 of file FlightPlan.hxx.

◆ ICAOFlightType

enum class flightgear::ICAOFlightType
strong
Enumerator
Scheduled 
NonScheduled 
GeneralAviation 
Military 
Other 

Definition at line 48 of file FlightPlan.hxx.

◆ InitPosResult

Enumerator
ExactPosition 
VicinityPosition 
ContinueWaiting 
Failure 

Definition at line 61 of file positioninit.cxx.

◆ LockFileDialogResult

Enumerator
LockFileContinue 
LockFileReset 
LockFileQuit 

Definition at line 49 of file QtLauncher.hxx.

◆ MessageBoxResult

Enumerator
MSG_BOX_OK 
MSG_BOX_YES 
MSG_BOX_NO 

Definition at line 20 of file MessageBox.hxx.

◆ OptionResult

option processing can have various result values depending on what the user requested.

Note processOptions only returns a subset of these.

Enumerator
FG_OPTIONS_OK 
FG_OPTIONS_HELP 
FG_OPTIONS_ERROR 
FG_OPTIONS_EXIT 
FG_OPTIONS_VERBOSE_HELP 
FG_OPTIONS_SHOW_AIRCRAFT 
FG_OPTIONS_SHOW_SOUND_DEVICES 
FG_OPTIONS_SHOW_INFO 
FG_OPTIONS_NO_DEFAULT_CONFIG 

Definition at line 52 of file options.hxx.

◆ ProcedureType

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.

◆ RebuildLockStatus

Enumerator
RebuildLockFailed 
RebuildLockAlreadyLocked 
RebuildLockOk 

Definition at line 1539 of file NavDataCache.cxx.

◆ RouteRestriction

Enumerator
RESTRICT_NONE 
RESTRICT_AT 
RESTRICT_ABOVE 
RESTRICT_BELOW 
RESTRICT_BETWEEN 
SPEED_RESTRICT_MACH 

encode an 'AT' restriction in Mach, not IAS

RESTRICT_DELETE 

ignore underlying restriction (on a leg)

RESTRICT_COMPUTED 

data is computed, not a real restriction

SPEED_COMPUTED_MACH 

variant on above to encode a Mach value

Definition at line 70 of file route.hxx.

◆ RouteUnits

Enumerator
DEFAULT_UNITS 
ALTITUDE_FEET 
ALTITUDE_METER 
ALTITUDE_FLIGHTLEVEL 
SPEED_KNOTS 
SPEED_MACH 
SPEED_KPH 

Definition at line 82 of file route.hxx.

◆ SetupRootResult

enum class flightgear::SetupRootResult
strong
Enumerator
RestoredOk 
UserExit 
UserSelected 
UseDefault 

Definition at line 73 of file QtLauncher.hxx.

◆ WayptFlag

Enumerator
WPT_MAP 

missed approach point

WPT_IAF 

initial approach fix

WPT_FAF 

final approach fix

WPT_OVERFLIGHT 

must overfly the point directly

WPT_TRANSITION 

transition to/from enroute structure

WPT_MISS 

segment is part of missed approach

WPT_DYNAMIC 

waypoint position is dynamic, i.e moves based on other criteria, such as altitude, inbound course, or so on.

WPT_GENERATED 

waypoint was created automatically (not manually entered/loaded) for example waypoints from airway routing or a procedure

WPT_DEPARTURE 
WPT_ARRIVAL 
WPT_PSEUDO 

waypoint generated by VNAV / speed management profile, for step climbs or top of descent

WPT_APPROACH 
WPT_VIA 

waypoint prodcued by expanding a VIA segment

WPT_HIDDEN 

waypoint should not be shown in UI displays, etc this is used to implement FMSs which delete waypoints after passing them

Definition at line 40 of file route.hxx.

Function Documentation

◆ accquireRebuildLock()

RebuildLockStatus flightgear::accquireRebuildLock ( )

Definition at line 1545 of file NavDataCache.cxx.

◆ addSentryBreadcrumb()

void flightgear::addSentryBreadcrumb ( const std::string & ,
const std::string &  )

Definition at line 561 of file sentryIntegration.cxx.

◆ addSentryTag() [1/2]

void flightgear::addSentryTag ( const char * ,
const char *  )

Definition at line 565 of file sentryIntegration.cxx.

◆ addSentryTag() [2/2]

void flightgear::addSentryTag ( const std::string & tag,
const std::string & value )

Definition at line 599 of file sentryIntegration.cxx.

◆ airportParkingSetVicinity()

static bool flightgear::airportParkingSetVicinity ( const string & id)
static

Definition at line 181 of file positioninit.cxx.

◆ anyWaypointsWithFlag()

static bool flightgear::anyWaypointsWithFlag ( FlightPlan * plan,
WayptFlag flag )
static

Definition at line 901 of file FlightPlan.cxx.

◆ applyInitialState()

void flightgear::applyInitialState ( )

Definition at line 63 of file initialstate.cxx.

◆ buildWaypoints()

static void flightgear::buildWaypoints ( AStarOpenNodeRef aNode,
WayptVec & aRoute )
static

Definition at line 586 of file airways.cxx.

◆ canBeDuplicate()

static bool flightgear::canBeDuplicate ( FGPositionedRef ref,
FGPositioned::Type type,
const std::string & name,
const SGGeod & pos,
int freq )
static

Definition at line 122 of file navdb.cxx.

◆ checkCarrierSceneryLoaded()

static InitPosResult flightgear::checkCarrierSceneryLoaded ( const SGSharedPtr< FGAICarrier > carrierRef)
static

Definition at line 387 of file positioninit.cxx.

◆ checkKeyboardModifiersForSettingFGRoot()

bool flightgear::checkKeyboardModifiersForSettingFGRoot ( )

Definition at line 489 of file QtLauncher.cxx.

◆ computeCameraIntersection()

static bool flightgear::computeCameraIntersection ( const CameraGroup * cgroup,
const CameraInfo * cinfo,
const osg::Vec2d & windowPos,
osgUtil::LineSegmentIntersector::Intersections & intersections )
static

Definition at line 847 of file CameraGroup.cxx.

◆ computeIntersections()

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.

Parameters
cgroupthe CameraGroup
eathe event containing a window and mouse coordinates
intersectionscontainer for the result of intersection testing.
Returns
true if any intersections are found

Definition at line 891 of file CameraGroup.cxx.

◆ computeTurnCenter()

SGGeod flightgear::computeTurnCenter ( double turnRadiusM,
const SGGeod & basePos,
double inboundTrack,
double turnAngle )

Definition at line 67 of file rnav_waypt_controller.cxx.

◆ convertAltitudeUnits()

double flightgear::convertAltitudeUnits ( RouteUnits aSrc,
RouteUnits aDest,
double aValue )

Definition at line 164 of file route.cxx.

◆ convertSpeedUnits()

double flightgear::convertSpeedUnits ( RouteUnits aSrc,
RouteUnits aDest,
double aAltitudeFt,
double aValue )

Definition at line 158 of file route.cxx.

◆ copyWaypointsExpandingVias()

static WayptVec flightgear::copyWaypointsExpandingVias ( WayptRef preceeding,
const WayptVec & wps )
static

Definition at line 216 of file FlightPlan.cxx.

◆ createSubsystemByName()

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.

◆ defaultAirportICAO()

std::string flightgear::defaultAirportICAO ( )

Definition at line 38 of file DefaultAircraftLocator.cxx.

◆ defaultDownloadDir()

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.

◆ defaultSplashScreenPaths()

string_list flightgear::defaultSplashScreenPaths ( )

Definition at line 49 of file DefaultAircraftLocator.cxx.

◆ defaultTextureCacheDir()

SGPath flightgear::defaultTextureCacheDir ( )

Definition at line 3020 of file options.cxx.

◆ delayedSentryInit()

void flightgear::delayedSentryInit ( )

Definition at line 547 of file sentryIntegration.cxx.

◆ do_add_subsystem()

static bool flightgear::do_add_subsystem ( const SGPropertyNode * arg,
SGPropertyNode * root )
static

Definition at line 200 of file subsystemFactory.cxx.

◆ do_apply_preset()

static bool flightgear::do_apply_preset ( const SGPropertyNode * arg,
SGPropertyNode * root )
static

Definition at line 167 of file GraphicsPresets.cxx.

◆ do_check_subsystem_running()

static bool flightgear::do_check_subsystem_running ( const SGPropertyNode * arg,
SGPropertyNode * root )
static

Definition at line 194 of file subsystemFactory.cxx.

◆ do_list_standard_presets()

static bool flightgear::do_list_standard_presets ( const SGPropertyNode * arg,
SGPropertyNode * root )
static

Definition at line 221 of file GraphicsPresets.cxx.

◆ do_reinit()

static bool flightgear::do_reinit ( const SGPropertyNode * arg,
SGPropertyNode * root )
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.

◆ do_remove_subsystem()

static bool flightgear::do_remove_subsystem ( const SGPropertyNode * arg,
SGPropertyNode * root )
static

Definition at line 205 of file subsystemFactory.cxx.

◆ do_resume()

static bool flightgear::do_resume ( const SGPropertyNode * arg,
SGPropertyNode * root )
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.

◆ do_save_preset()

static bool flightgear::do_save_preset ( const SGPropertyNode * arg,
SGPropertyNode * root )
static

Definition at line 202 of file GraphicsPresets.cxx.

◆ do_suspend()

static bool flightgear::do_suspend ( const SGPropertyNode * arg,
SGPropertyNode * root )
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.

◆ eventToWindowCoords()

bool flightgear::eventToWindowCoords ( const osgGA::GUIEventAdapter * ea,
double & x,
double & y )

Definition at line 543 of file FGEventHandler.cxx.

◆ f_new_FGTranslate()

static naRef flightgear::f_new_FGTranslate ( const nasal::CallContext & ctx)
static

Definition at line 24 of file NasalTranslations.cxx.

◆ fatalMessageBoxThenExit()

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.

◆ fatalMessageBoxWithoutExit()

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.

◆ fgApplyStartOffset()

static void flightgear::fgApplyStartOffset ( const SGGeod & aStartPos,
double aHeading,
double aTargetHeading = HUGE_VAL )
static

Definition at line 90 of file positioninit.cxx.

◆ fgSetDistOrAltFromGlideSlope()

static void flightgear::fgSetDistOrAltFromGlideSlope ( )
static

Definition at line 263 of file positioninit.cxx.

◆ fgSetPosFromAirportIDandRwy()

static bool flightgear::fgSetPosFromAirportIDandRwy ( const string & id,
const string & rwy,
bool rwy_req )
static

Definition at line 222 of file positioninit.cxx.

◆ fgSetPosFromFix()

static bool flightgear::fgSetPosFromFix ( const string & id,
PositionedID guid )
static

Definition at line 528 of file positioninit.cxx.

◆ fgSetPosFromNAV()

static bool flightgear::fgSetPosFromNAV ( const string & id,
const double & freq,
FGPositioned::Type type,
PositionedID guid )
static

Definition at line 307 of file positioninit.cxx.

◆ filterExponential()

double flightgear::filterExponential ( double current,
double target,
double timeratio )

exponential filter

Parameters
current- current value
target- target (new) value
timeratio-

Definition at line 101 of file util.cxx.

◆ finalizeMetar()

bool flightgear::finalizeMetar ( )

Definition at line 750 of file positioninit.cxx.

◆ finalizePosition()

void flightgear::finalizePosition ( )

Definition at line 791 of file positioninit.cxx.

◆ finalizePositionForParkpos()

static bool flightgear::finalizePositionForParkpos ( const string & id,
const string & parkpos )
static

Definition at line 194 of file positioninit.cxx.

◆ findInOpen()

static AStarOpenNodeRef flightgear::findInOpen ( const OpenNodeHeap & aHeap,
FGPositioned * aPos )
static

Inefficent (linear) helper to find an open node in the heap.

Definition at line 611 of file airways.cxx.

◆ geocRadialIntersection()

bool flightgear::geocRadialIntersection ( const SGGeoc & a,
double r1,
const SGGeoc & b,
double r2,
SGGeoc & result )

Definition at line 39 of file routePath.cxx.

◆ getAircraftAuthorsText()

std::string flightgear::getAircraftAuthorsText ( )

getAircraftAuthorsText - get the aircraft authors as a single string value.

This will combine the new (structured) authors data if present, otherwise just return the old plain string

Returns

Definition at line 187 of file util.cxx.

◆ getGUICamera()

osg::Camera * flightgear::getGUICamera ( CameraGroup * cgroup)

Get the osg::Camera that draws the GUI, if any, from a camera group.

Parameters
cgroupthe camera group
Returns
the GUI camera or 0

Definition at line 836 of file CameraGroup.cxx.

◆ getOptionParamType()

static int flightgear::getOptionParamType ( string option)
static

Definition at line 2507 of file options.cxx.

◆ getPassVRFlags()

static osgXR::View::Flags flightgear::getPassVRFlags ( const simgear::compositor::Pass * pass)
static

Definition at line 307 of file VRManager.cxx.

◆ getSubsystem()

static SGSubsystem * flightgear::getSubsystem ( const SGPropertyNode * arg,
bool create )
static

Definition at line 136 of file subsystemFactory.cxx.

◆ greatCircleCrossTrackError()

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.

◆ headingDiffDeg()

static double flightgear::headingDiffDeg ( double a,
double b )
static

Definition at line 438 of file airways.cxx.

◆ initApp()

void flightgear::initApp ( int & argc,
char ** argv,
bool doInitQSettings )

Definition at line 360 of file QtLauncher.cxx.

◆ initNasalTranslations()

void flightgear::initNasalTranslations ( naRef globals,
naContext c )

Definition at line 42 of file NasalTranslations.cxx.

◆ initPosition()

bool flightgear::initPosition ( )

Definition at line 548 of file positioninit.cxx.

◆ initQSettings()

void flightgear::initQSettings ( )

Definition at line 470 of file QtLauncher.cxx.

◆ initSentry()

void flightgear::initSentry ( )

Definition at line 539 of file sentryIntegration.cxx.

◆ initTowerLocationListener()

void flightgear::initTowerLocationListener ( )

◆ isCommLine()

static bool flightgear::isCommLine ( const int code)
static

Definition at line 241 of file apt_loader.cxx.

◆ isHeadlessMode()

bool flightgear::isHeadlessMode ( )

Definition at line 118 of file MessageBox.cxx.

◆ isInitialStateName()

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.

◆ isMachRestrict()

bool flightgear::isMachRestrict ( RouteRestriction rr)

Definition at line 59 of file route.cxx.

◆ isNearby() [1/2]

static bool flightgear::isNearby ( const SGGeod & pos1,
const SGGeod & pos2 )
static

Definition at line 116 of file navdb.cxx.

◆ isNearby() [2/2]

static bool flightgear::isNearby ( const SGVec3d & pos1,
const SGVec3d & pos2 )
static

Definition at line 50 of file poidb.cxx.

◆ isSentryEnabled()

bool flightgear::isSentryEnabled ( )

Definition at line 556 of file sentryIntegration.cxx.

◆ launcherSetSceneryPaths()

void flightgear::launcherSetSceneryPaths ( )

Definition at line 560 of file QtLauncher.cxx.

◆ lowPassPeriodicDegreesPositive()

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.

Parameters
current- current value in degrees
target- target (new) value in degrees.
timeratio-

Definition at line 89 of file util.cxx.

◆ lowPassPeriodicDegreesSigned()

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.

Parameters
current- current value in degrees
target- target (new) value in degrees.
timeratio-

Definition at line 95 of file util.cxx.

◆ makeGraphicsOp()

osg::ref_ptr< osg::GraphicsOperation > flightgear::makeGraphicsOp ( const std::string & name,
GraphicsFunctor func )

Definition at line 140 of file OSGQtAdaption.cxx.

◆ mapGroupNameToType()

SGSubsystemMgr::GroupType flightgear::mapGroupNameToType ( const std::string & s)

Definition at line 123 of file subsystemFactory.cxx.

◆ markWaypoints()

static void flightgear::markWaypoints ( WayptVec & wps,
WayptFlag f )
static

Definition at line 37 of file procedure.cxx.

◆ metarDataLoad()

bool flightgear::metarDataLoad ( const SGPath & metar_file)

Definition at line 868 of file apt_loader.cxx.

◆ modalMessageBox()

MessageBoxResult flightgear::modalMessageBox ( const std::string & caption,
const std::string & msg,
const std::string & moreText )

Definition at line 123 of file MessageBox.cxx.

◆ qtContextFromOSG()

QOpenGLContext * flightgear::qtContextFromOSG ( osg::GraphicsContext * context)

Definition at line 87 of file OSGQtAdaption.cxx.

◆ qtWindowFromOSG()

QWindow * flightgear::qtWindowFromOSG ( osgViewer::GraphicsWindow * graphicsWindow)

Definition at line 109 of file OSGQtAdaption.cxx.

◆ registerMainLoop()

void flightgear::registerMainLoop ( )

Definition at line 259 of file main.cxx.

◆ registerSubsystemCommands()

void flightgear::registerSubsystemCommands ( SGCommandMgr * cmdMgr)

Definition at line 319 of file subsystemFactory.cxx.

◆ registrantGraphicsPresets()

SGSubsystemMgr::Registrant< GraphicsPresets > flightgear::registrantGraphicsPresets ( SGSubsystemMgr::DISPLAY )

◆ releaseRebuildLock()

static void flightgear::releaseRebuildLock ( )
static

Definition at line 1589 of file NavDataCache.cxx.

◆ reloadCompositors()

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.

◆ restartTheApp()

void flightgear::restartTheApp ( )

restartTheApp quit the application and relaunch it, passing the –launcher flag explicitly.

Definition at line 508 of file QtLauncher.cxx.

◆ restoreUserSelectedRoot()

SetupRootResult flightgear::restoreUserSelectedRoot ( SGPath & path)

Definition at line 733 of file QtLauncher.cxx.

◆ restrictionFromString()

RouteRestriction flightgear::restrictionFromString ( const std::string & aStr)

Definition at line 350 of file route.cxx.

◆ restrictionToString()

const char * flightgear::restrictionToString ( RouteRestriction aRestrict)

Definition at line 366 of file route.cxx.

◆ runInAppLauncherDialog()

bool flightgear::runInAppLauncherDialog ( )

Definition at line 678 of file QtLauncher.cxx.

◆ runLauncherDialog()

bool flightgear::runLauncherDialog ( )

Definition at line 599 of file QtLauncher.cxx.

◆ runwayStartPos()

std::tuple< SGGeod, double > flightgear::runwayStartPos ( FGRunwayRef runway)

Definition at line 112 of file positioninit.cxx.

◆ selectUITranslation()

void flightgear::selectUITranslation ( )

Definition at line 336 of file QtLauncher.cxx.

◆ sentryReportException()

void flightgear::sentryReportException ( const std::string & ,
const std::string &  )

Definition at line 578 of file sentryIntegration.cxx.

◆ sentryReportFatalError()

void flightgear::sentryReportFatalError ( const std::string & ,
const std::string &  )

Definition at line 582 of file sentryIntegration.cxx.

◆ sentryReportNasalError()

void flightgear::sentryReportNasalError ( const std::string & ,
const string_list &  )

Definition at line 574 of file sentryIntegration.cxx.

◆ sentryReportUserError()

void flightgear::sentryReportUserError ( const std::string & ,
const std::string & ,
const std::string &  )

Definition at line 586 of file sentryIntegration.cxx.

◆ sentryUserId()

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.

◆ setFinalPosFromCarrier()

static InitPosResult flightgear::setFinalPosFromCarrier ( const string & carrier,
const string & posid )
static

Definition at line 413 of file positioninit.cxx.

◆ setFinalPosFromCarrierFLOLS()

static InitPosResult flightgear::setFinalPosFromCarrierFLOLS ( const string & carrier,
bool abeam )
static

Definition at line 468 of file positioninit.cxx.

◆ setHeadlessMode()

void flightgear::setHeadlessMode ( bool headless)

Definition at line 113 of file MessageBox.cxx.

◆ setInitialPosFromCarrier()

static InitPosResult flightgear::setInitialPosFromCarrier ( const string & carrier)
static

Definition at line 352 of file positioninit.cxx.

◆ setInitialPosition()

static void flightgear::setInitialPosition ( const SGGeod & aPos,
double aHeadingDeg )
static

Definition at line 77 of file positioninit.cxx.

◆ setPosFromAirportIDandHdg()

static bool flightgear::setPosFromAirportIDandHdg ( const string & id,
double tgt_hdg )
static

Definition at line 152 of file positioninit.cxx.

◆ showLockFileDialog()

LockFileDialogResult flightgear::showLockFileDialog ( )

Definition at line 702 of file QtLauncher.cxx.

◆ showSetupRootDialog()

bool flightgear::showSetupRootDialog ( bool usingDefaultRoot)

Definition at line 728 of file QtLauncher.cxx.

◆ shutdownQtApp()

void flightgear::shutdownQtApp ( )

Definition at line 461 of file QtLauncher.cxx.

◆ shutdownSentry()

void flightgear::shutdownSentry ( )

Definition at line 543 of file sentryIntegration.cxx.

◆ startLaunchOnExit()

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.

◆ unregisterMainLoopProperties()

void flightgear::unregisterMainLoopProperties ( )

Definition at line 274 of file main.cxx.

◆ updateSentryTag()

void flightgear::updateSentryTag ( const std::string & ,
const std::string &  )

Definition at line 569 of file sentryIntegration.cxx.

◆ warnAboutGLVersion()

void flightgear::warnAboutGLVersion ( )

Definition at line 738 of file QtLauncher.cxx.

◆ warpGUIPointer()

void flightgear::warpGUIPointer ( CameraGroup * cgroup,
int x,
int y )

Warp the pointer to coordinates in the GUI camera of a camera group.

Parameters
cgroupthe camera group
xx window coordinate of pointer
yy window coordinate of pointer, in "y down" coordinates.

Definition at line 909 of file CameraGroup.cxx.

Variable Documentation

◆ [struct]

struct { ... } flightgear::built_ins[]
Initial value:
= {
{ "add-subsystem", do_add_subsystem },
{ "remove-subsystem", do_remove_subsystem },
{ "subsystem-running", do_check_subsystem_running },
{ "reinit", do_reinit },
{ "suspend", do_suspend },
{ "resume", do_resume },
{ 0, 0 }
}
static bool do_resume(const SGPropertyNode *arg, SGPropertyNode *root)
Built-in command: suspend one or more subsystems.
static bool do_reinit(const SGPropertyNode *arg, SGPropertyNode *root)
Built-in command: reinitialize one or more subsystems.
static bool do_check_subsystem_running(const SGPropertyNode *arg, SGPropertyNode *root)
static bool do_add_subsystem(const SGPropertyNode *arg, SGPropertyNode *root)
static bool do_suspend(const SGPropertyNode *arg, SGPropertyNode *root)
Built-in command: suspend one or more subsystems.
static bool do_remove_subsystem(const SGPropertyNode *arg, SGPropertyNode *root)

◆ command

SGCommandMgr::command_t flightgear::command

Definition at line 308 of file subsystemFactory.cxx.

◆ DEFAULT_WINDOW_NAME

const char flightgear::DEFAULT_WINDOW_NAME[] = "FlightGear"

Definition at line 31 of file WindowBuilder.hxx.

◆ displayStatsKey

const int flightgear::displayStatsKey = 1

Definition at line 48 of file FGEventHandler.cxx.

◆ DUPLICATE_DETECTION_RADIUS_NM

const double flightgear::DUPLICATE_DETECTION_RADIUS_NM = 10
static

Definition at line 46 of file poidb.cxx.

◆ DUPLICATE_DETECTION_RADIUS_SQR_M

const double flightgear::DUPLICATE_DETECTION_RADIUS_SQR_M = DUPLICATE_DETECTION_RADIUS_NM * DUPLICATE_DETECTION_RADIUS_NM * SG_NM_TO_METER * SG_NM_TO_METER
static

Definition at line 48 of file poidb.cxx.

◆ global_callbackRegistered

bool flightgear::global_callbackRegistered = false
static

Definition at line 72 of file positioninit.cxx.

◆ global_finalizeTime

SGTimeStamp flightgear::global_finalizeTime
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.

◆ ICAO_AIRCRAFT_CATEGORY_A

const char flightgear::ICAO_AIRCRAFT_CATEGORY_A = 'A'

Definition at line 28 of file AircraftPerformance.hxx.

◆ ICAO_AIRCRAFT_CATEGORY_B

const char flightgear::ICAO_AIRCRAFT_CATEGORY_B = 'B'

Definition at line 29 of file AircraftPerformance.hxx.

◆ ICAO_AIRCRAFT_CATEGORY_C

const char flightgear::ICAO_AIRCRAFT_CATEGORY_C = 'C'

Definition at line 30 of file AircraftPerformance.hxx.

◆ ICAO_AIRCRAFT_CATEGORY_D

const char flightgear::ICAO_AIRCRAFT_CATEGORY_D = 'D'

Definition at line 31 of file AircraftPerformance.hxx.

◆ ICAO_AIRCRAFT_CATEGORY_E

const char flightgear::ICAO_AIRCRAFT_CATEGORY_E = 'E'

Definition at line 32 of file AircraftPerformance.hxx.

◆ managerInstance

osg::ref_ptr<VRManager> flightgear::managerInstance
static

Definition at line 38 of file VRManager.cxx.

◆ name

const char* flightgear::name

Definition at line 307 of file subsystemFactory.cxx.

◆ NO_MAG_VAR

const double flightgear::NO_MAG_VAR = -1000.0

Definition at line 57 of file route.cxx.

◆ printStatsKey

const int flightgear::printStatsKey = 2

Definition at line 49 of file FGEventHandler.cxx.

◆ registrantAirportDynamicsManager

SGSubsystemMgr::Registrant<AirportDynamicsManager> flightgear::registrantAirportDynamicsManager

Definition at line 113 of file airportdynamicsmanager.cxx.

◆ RUNWAY_OFFSET

const float flightgear::RUNWAY_OFFSET = 3.0
static

Definition at line 19 of file AirportBuilder.hxx.

◆ static_airwaysCache

std::vector<AirwayRef> flightgear::static_airwaysCache
static

Definition at line 48 of file airways.cxx.

◆ static_delegateFactories

FPDelegateFactoryVec flightgear::static_delegateFactories
static

Definition at line 83 of file FlightPlan.cxx.

◆ static_instance

NavDataCache* flightgear::static_instance = NULL
static

Definition at line 1323 of file NavDataCache.cxx.

◆ static_lockFileDialog_Info

const char* flightgear::static_lockFileDialog_Info
static
Initial value:
=
QT_TRANSLATE_NOOP("LockFileDialog",
"If you are sure another copy is not running on this computer, "
"you can choose to reset the lock file, and run this copy as normal. "
"Alternatively, you can close this copy of the software.")

Definition at line 696 of file QtLauncher.cxx.

◆ static_lockFileDialog_Text

const char* flightgear::static_lockFileDialog_Text
static
Initial value:
=
QT_TRANSLATE_NOOP("LockFileDialog",
"FlightGear has detected another copy is already running. "
"This copy will run in read-only mode, so downloads will not be possible, "
"and settings will not be saved.")

Definition at line 691 of file QtLauncher.cxx.

◆ static_lockFileDialog_Title

const char* flightgear::static_lockFileDialog_Title
static
Initial value:
=
QT_TRANSLATE_NOOP("LockFileDialog", "Multiple copies of FlightGear running")

Definition at line 689 of file QtLauncher.cxx.

◆ static_qApp

std::unique_ptr<QApplication> flightgear::static_qApp
static

Definition at line 330 of file QtLauncher.cxx.

◆ static_rebuildLockFile

const std::string flightgear::static_rebuildLockFile = "fgfs_cache_rebuild.lock"

Definition at line 1535 of file NavDataCache.cxx.

◆ static_rebuildLockFileFd

int flightgear::static_rebuildLockFileFd = -1
static

Definition at line 1536 of file NavDataCache.cxx.

◆ turnComputeDist

const auto flightgear::turnComputeDist = SG_NM_TO_METER * 4.0

Definition at line 36 of file rnav_waypt_controller.cxx.