|
FlightGear next
|
#include "config.h"#include <algorithm>#include <cstring>#include <optional>#include "NasalFlightPlan.hxx"#include "NasalPositioned.hxx"#include <Airports/airport.hxx>#include <Airports/dynamics.hxx>#include <Airports/parking.hxx>#include <Airports/runways.hxx>#include <Autopilot/route_mgr.hxx>#include <Main/fg_props.hxx>#include <Main/globals.hxx>#include <Navaids/FlightPlan.hxx>#include <Navaids/NavDataCache.hxx>#include <Navaids/airways.hxx>#include <Navaids/fix.hxx>#include <Navaids/navrecord.hxx>#include <Navaids/procedure.hxx>#include <Navaids/routePath.hxx>#include <Navaids/waypoint.hxx>#include <Scenery/scenery.hxx>#include <Scripting/NasalSys.hxx>Go to the source code of this file.
Classes | |
| class | NasalFPDelegate |
| class | NasalFPDelegateFactory |
Functions | |
| static void | wayptGhostDestroy (void *g) |
| static void | legGhostDestroy (void *g) |
| static void | routeBaseGhostDestroy (void *g) |
| static const char * | wayptGhostGetMember (naContext c, void *g, naRef field, naRef *out) |
| static void | waypointGhostSetMember (naContext c, void *g, naRef field, naRef value) |
| static const char * | legGhostGetMember (naContext c, void *g, naRef field, naRef *out) |
| static void | legGhostSetMember (naContext c, void *g, naRef field, naRef value) |
| static const char * | flightplanGhostGetMember (naContext c, void *g, naRef field, naRef *out) |
| static void | flightplanGhostSetMember (naContext c, void *g, naRef field, naRef value) |
| static const char * | procedureGhostGetMember (naContext c, void *g, naRef field, naRef *out) |
| static const char * | airwayGhostGetMember (naContext c, void *g, naRef field, naRef *out) |
| static void | hashset (naContext c, naRef hash, const char *key, naRef val) |
| static naRef | stringToNasal (naContext c, const std::string &s) |
| static bool | convertToNum (naRef v, double &result) |
| static WayptFlag | wayptFlagFromString (const char *s) |
| static naRef | wayptFlagToNasal (naContext c, unsigned int flags) |
| static std::optional< Airway::Level > | airwayLevelFromNasal (naRef na) |
| Waypt * | wayptGhost (naRef r) |
| FlightPlan::Leg * | fpLegGhost (naRef r) |
| Procedure * | procedureGhost (naRef r) |
| static FlightPlan * | flightplanGhost (naRef r) |
| static Airway * | airwayGhost (naRef r) |
| naRef | ghostForWaypt (naContext c, const Waypt *wpt) |
| naRef | ghostForLeg (naContext c, const FlightPlan::Leg *leg) |
| naRef | ghostForFlightPlan (naContext c, const FlightPlan *fp) |
| naRef | ghostForProcedure (naContext c, const Procedure *proc) |
| naRef | ghostForAirway (naContext c, const Airway *awy) |
| static naRef | waypointNavaid (naContext c, Waypt *wpt) |
| static naRef | waypointAirport (naContext c, Waypt *wpt) |
| static naRef | waypointRunway (naContext c, Waypt *wpt) |
| static const char * | waypointCommonGetMember (naContext c, Waypt *wpt, const char *fieldName, naRef *out) |
| static bool | waypointCommonSetMember (naContext c, Waypt *wpt, const char *fieldName, naRef value) |
| static RouteRestriction | routeRestrictionFromArg (naRef arg) |
| static RouteUnits | routeUnitsFromArg (naRef arg) |
| naRef | routeRestrictionToNasal (naContext c, RouteRestriction rr) |
| static naRef | f_fpLeg_navaid (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_fpLeg_airport (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_fpLeg_runway (naContext c, naRef me, int argc, naRef *args) |
| static naRef | procedureTpType (naContext c, ProcedureType ty) |
| static naRef | procedureRadioType (naContext c, ProcedureType ty) |
| static naRef | f_createFlightplan (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan (naContext c, naRef me, int argc, naRef *args) |
| void | shutdownNasalFlightPlan () |
| static naRef | f_registerFPDelegate (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_unregisterFPDelegate (naContext c, naRef me, int argc, naRef *args) |
| static WayptRef | wayptFromArg (naRef arg) |
| static naRef | convertWayptVecToNasal (naContext c, const WayptVec &wps) |
| static naRef | f_airwaySearch (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_findAirway (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_createWP (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_createWPFrom (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_createViaTo (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_createViaFromTo (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_createDiscontinuity (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_getWP (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_currentWP (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_nextWP (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_numWaypoints (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_numRemainingWaypoints (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_appendWP (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_insertWP (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_insertWPAfter (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_insertWaypoints (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_deleteWP (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_clearLegs (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_clearAll (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_clearWPType (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_clone (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_pathGeod (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_finish (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_activate (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_indexOfWp (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_save (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_parseICAORoute (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_flightplan_toICAORoute (naContext c, naRef me, int, naRef *) |
| static naRef | f_flightplan_computeDuration (naContext c, naRef me, int, naRef *) |
| static naRef | f_leg_setSpeed (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_leg_setAltitude (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_leg_altitude (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_leg_speed (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_leg_courseAndDistanceFrom (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_leg_path (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_procedure_transition (naContext c, naRef me, int argc, naRef *args) |
| static naRef | approachRoute (Approach *app, naContext c, int argc, naRef *args) |
| static naRef | f_procedure_route (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_airway_contains (naContext c, naRef me, int argc, naRef *args) |
| static naRef | f_airway_viaWaypoints (naContext c, naRef me, int argc, naRef *args) |
| naRef | initNasalFlightPlan (naRef globals, naContext c) |
Variables | ||
| static naGhostType | WayptGhostType | |
| static naGhostType | FPLegGhostType | |
| static naGhostType | FlightPlanGhostType | |
| static naGhostType | ProcedureGhostType | |
| static naGhostType | AirwayGhostType | |
| static naRef | flightplanPrototype | |
| static naRef | fpLegPrototype | |
| static naRef | procedurePrototype | |
| static naRef | airwayPrototype | |
| static std::vector< FlightPlan::DelegateFactoryRef > | static_nasalDelegateFactories | |
| struct { | ||
| const char * name | ||
| naCFunction func | ||
| } | funcs [] | |
|
static |
Definition at line 200 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1068 of file NasalFlightPlan.cxx.
|
static |
Definition at line 124 of file NasalFlightPlan.cxx.
|
static |
Definition at line 2183 of file NasalFlightPlan.cxx.
|
static |
Definition at line 92 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1358 of file NasalFlightPlan.cxx.
|
static |
Definition at line 2250 of file NasalFlightPlan.cxx.
|
static |
Definition at line 2269 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1367 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1614 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1099 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1551 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1493 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1438 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1463 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1398 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1129 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1881 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1692 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1801 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1790 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1813 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1833 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1973 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1640 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1774 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1868 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1619 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1897 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1739 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1705 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1722 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1659 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1677 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1668 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1948 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1844 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1927 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1963 of file NasalFlightPlan.cxx.
|
static |
Definition at line 506 of file NasalFlightPlan.cxx.
|
static |
Definition at line 493 of file NasalFlightPlan.cxx.
|
static |
Definition at line 519 of file NasalFlightPlan.cxx.
|
static |
Definition at line 2078 of file NasalFlightPlan.cxx.
|
static |
Definition at line 2115 of file NasalFlightPlan.cxx.
|
static |
Definition at line 2136 of file NasalFlightPlan.cxx.
|
static |
Definition at line 2019 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1984 of file NasalFlightPlan.cxx.
|
static |
Definition at line 2100 of file NasalFlightPlan.cxx.
|
static |
Definition at line 2214 of file NasalFlightPlan.cxx.
|
static |
Definition at line 2158 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1287 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1311 of file NasalFlightPlan.cxx.
|
static |
Definition at line 193 of file NasalFlightPlan.cxx.
|
static |
Definition at line 615 of file NasalFlightPlan.cxx.
|
static |
Definition at line 691 of file NasalFlightPlan.cxx.
| FlightPlan::Leg * fpLegGhost | ( | naRef | r | ) |
Definition at line 179 of file NasalFlightPlan.cxx.
| naRef ghostForAirway | ( | naContext | c, |
| const Airway * | awy ) |
Definition at line 259 of file NasalFlightPlan.cxx.
| naRef ghostForFlightPlan | ( | naContext | c, |
| const FlightPlan * | fp ) |
Definition at line 239 of file NasalFlightPlan.cxx.
| naRef ghostForLeg | ( | naContext | c, |
| const FlightPlan::Leg * | leg ) |
Definition at line 229 of file NasalFlightPlan.cxx.
| naRef ghostForProcedure | ( | naContext | c, |
| const Procedure * | proc ) |
Definition at line 249 of file NasalFlightPlan.cxx.
| naRef ghostForWaypt | ( | naContext | c, |
| const Waypt * | wpt ) |
Definition at line 219 of file NasalFlightPlan.cxx.
|
static |
Definition at line 78 of file NasalFlightPlan.cxx.
| naRef initNasalFlightPlan | ( | naRef | globals, |
| naContext | c ) |
Definition at line 2331 of file NasalFlightPlan.cxx.
|
static |
Definition at line 171 of file NasalFlightPlan.cxx.
|
static |
Definition at line 531 of file NasalFlightPlan.cxx.
|
static |
Definition at line 589 of file NasalFlightPlan.cxx.
| Procedure * procedureGhost | ( | naRef | r | ) |
Definition at line 186 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1022 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1010 of file NasalFlightPlan.cxx.
|
static |
Definition at line 993 of file NasalFlightPlan.cxx.
|
static |
Definition at line 207 of file NasalFlightPlan.cxx.
|
static |
Definition at line 440 of file NasalFlightPlan.cxx.
| naRef routeRestrictionToNasal | ( | naContext | c, |
| RouteRestriction | rr ) |
Definition at line 475 of file NasalFlightPlan.cxx.
|
static |
Definition at line 458 of file NasalFlightPlan.cxx.
| void shutdownNasalFlightPlan | ( | ) |
Definition at line 1279 of file NasalFlightPlan.cxx.
|
static |
Definition at line 85 of file NasalFlightPlan.cxx.
|
static |
Definition at line 282 of file NasalFlightPlan.cxx.
|
static |
Definition at line 307 of file NasalFlightPlan.cxx.
|
static |
Definition at line 394 of file NasalFlightPlan.cxx.
|
static |
Definition at line 582 of file NasalFlightPlan.cxx.
|
static |
Definition at line 270 of file NasalFlightPlan.cxx.
|
static |
Definition at line 296 of file NasalFlightPlan.cxx.
|
static |
Definition at line 103 of file NasalFlightPlan.cxx.
|
static |
Definition at line 114 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1335 of file NasalFlightPlan.cxx.
| Waypt * wayptGhost | ( | naRef | r | ) |
Definition at line 151 of file NasalFlightPlan.cxx.
|
static |
Definition at line 164 of file NasalFlightPlan.cxx.
|
static |
Definition at line 433 of file NasalFlightPlan.cxx.
|
static |
Definition at line 73 of file NasalFlightPlan.cxx.
|
static |
Definition at line 217 of file NasalFlightPlan.cxx.
|
static |
Definition at line 61 of file NasalFlightPlan.cxx.
|
static |
Definition at line 214 of file NasalFlightPlan.cxx.
|
static |
Definition at line 53 of file NasalFlightPlan.cxx.
|
static |
Definition at line 215 of file NasalFlightPlan.cxx.
| naCFunction func |
Definition at line 2315 of file NasalFlightPlan.cxx.
| struct { ... } funcs[] |
| const char* name |
Definition at line 2314 of file NasalFlightPlan.cxx.
|
static |
Definition at line 67 of file NasalFlightPlan.cxx.
|
static |
Definition at line 216 of file NasalFlightPlan.cxx.
|
static |
Definition at line 1277 of file NasalFlightPlan.cxx.
|
static |
Definition at line 45 of file NasalFlightPlan.cxx.