FlightGear next
route_mgr.cxx File Reference
#include <config.h>
#include <cstdio>
#include <simgear/compiler.h>
#include "route_mgr.hxx"
#include <simgear/misc/sg_path.hxx>
#include <simgear/misc/strutils.hxx>
#include <simgear/structure/commands.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/timing/sg_time.hxx>
#include <simgear/sg_inlines.h>
#include <Main/globals.hxx>
#include "Main/fg_props.hxx"
#include "Navaids/positioned.hxx"
#include <Navaids/waypoint.hxx>
#include <Navaids/procedure.hxx>
#include <Navaids/routePath.hxx>
#include "Airports/airport.hxx"
#include "Airports/runways.hxx"
#include <GUI/new_gui.hxx>
#include <GUI/dialog.hxx>
#include <GUI/MessageBox.hxx>

Go to the source code of this file.

Macros

#define RM   "/autopilot/route-manager/"
 

Functions

static bool commandLoadFlightPlan (const SGPropertyNode *arg, SGPropertyNode *)
 
static bool commandSaveFlightPlan (const SGPropertyNode *arg, SGPropertyNode *)
 
static bool commandActivateFlightPlan (const SGPropertyNode *arg, SGPropertyNode *)
 
static bool commandClearFlightPlan (const SGPropertyNode *, SGPropertyNode *)
 
static bool commandSetActiveWaypt (const SGPropertyNode *arg, SGPropertyNode *)
 
static bool commandInsertWaypt (const SGPropertyNode *arg, SGPropertyNode *)
 
static bool commandDeleteWaypt (const SGPropertyNode *arg, SGPropertyNode *)
 
static double headingDiffDeg (double a, double b)
 
flightgear::SIDcreateDefaultSID (FGRunway *aRunway, double enrouteCourse)
 
flightgear::ApproachcreateDefaultApproach (FGRunway *aRunway, double aEnrouteCourse)
 
SGSubsystemMgr::Registrant< FGRouteMgrregistrantFGRouteMgr (SGSubsystemMgr::GENERAL, {{"gui", SGSubsystemMgr::Dependency::HARD}})
 

Macro Definition Documentation

◆ RM

#define RM   "/autopilot/route-manager/"

Definition at line 36 of file route_mgr.cxx.

Function Documentation

◆ commandActivateFlightPlan()

static bool commandActivateFlightPlan ( const SGPropertyNode * arg,
SGPropertyNode *  )
static

Definition at line 71 of file route_mgr.cxx.

◆ commandClearFlightPlan()

static bool commandClearFlightPlan ( const SGPropertyNode * ,
SGPropertyNode *  )
static

Definition at line 84 of file route_mgr.cxx.

◆ commandDeleteWaypt()

static bool commandDeleteWaypt ( const SGPropertyNode * arg,
SGPropertyNode *  )
static

Definition at line 217 of file route_mgr.cxx.

◆ commandInsertWaypt()

static bool commandInsertWaypt ( const SGPropertyNode * arg,
SGPropertyNode *  )
static

Definition at line 103 of file route_mgr.cxx.

◆ commandLoadFlightPlan()

static bool commandLoadFlightPlan ( const SGPropertyNode * arg,
SGPropertyNode *  )
static

Definition at line 42 of file route_mgr.cxx.

◆ commandSaveFlightPlan()

static bool commandSaveFlightPlan ( const SGPropertyNode * arg,
SGPropertyNode *  )
static

Definition at line 49 of file route_mgr.cxx.

◆ commandSetActiveWaypt()

static bool commandSetActiveWaypt ( const SGPropertyNode * arg,
SGPropertyNode *  )
static

Definition at line 91 of file route_mgr.cxx.

◆ createDefaultApproach()

flightgear::Approach * createDefaultApproach ( FGRunway * aRunway,
double aEnrouteCourse )

Definition at line 1099 of file route_mgr.cxx.

◆ createDefaultSID()

flightgear::SID * createDefaultSID ( FGRunway * aRunway,
double enrouteCourse )

Definition at line 945 of file route_mgr.cxx.

◆ headingDiffDeg()

static double headingDiffDeg ( double a,
double b )
static

Definition at line 938 of file route_mgr.cxx.

◆ registrantFGRouteMgr()

SGSubsystemMgr::Registrant< FGRouteMgr > registrantFGRouteMgr ( SGSubsystemMgr::GENERAL ,
{{"gui", SGSubsystemMgr::Dependency::HARD}}  )