|
FlightGear next
|
#include <FlightPlanController.hxx>
Inherits QObject.
Public Types | |
| enum | FlightRules { VFR = 0 , IFR , IFR_VFR , VFR_IFR } |
| enum | FlightType { Scheduled = 0 , NonScheduled , GeneralAviation , Military , Other } |
Public Slots | |
| void | setFlightType (FlightType ty) |
| void | setFlightRules (FlightRules r) |
| void | setCallsign (QString s) |
| void | setRemarks (QString r) |
| void | setAircraftType (QString ty) |
| void | setDeparture (QmlPositioned *destinationAirport) |
| void | setDestination (QmlPositioned *destinationAirport) |
| void | setAlternate (QmlPositioned *apt) |
| void | setCruiseSpeed (QuantityValue cruiseSpeed) |
| void | setEstimatedDurationMinutes (int mins) |
| void | computeDuration () |
| void | clearPlan () |
| void | savePlan () |
Signals | |
| void | infoChanged () |
| void | waypointsChanged () |
| void | enabledChanged (bool enabled) |
| void | descriptionChanged (QString description) |
Public Member Functions | |
| virtual | ~FlightPlanController () |
| FlightPlanController (QObject *parent, LaunchConfig *config) | |
| bool | loadFromPath (QString path) |
| bool | saveToPath (QString path) const |
| QuantityValue | cruiseAltitude () const |
| void | setCruiseAltitude (QuantityValue alt) |
| QString | description () const |
| QmlPositioned * | departure () const |
| QmlPositioned * | destination () const |
| QmlPositioned * | alternate () const |
| QuantityValue | cruiseSpeed () const |
| FlightRules | flightRules () const |
| FlightType | flightType () const |
| QString | callsign () const |
| QString | remarks () const |
| QString | aircraftType () const |
| int | estimatedDurationMinutes () const |
| QuantityValue | totalDistanceNm () const |
| Q_INVOKABLE bool | tryParseRoute (QString routeDesc) |
| Q_INVOKABLE bool | tryGenerateRoute () |
| Q_INVOKABLE void | clearRoute () |
| LegsModel * | legs () const |
| QString | icaoRoute () const |
| flightgear::FlightPlanRef | flightplan () const |
| Q_INVOKABLE bool | loadPlan () |
Properties | |
| bool | enabled |
| QString | description |
| QString | callsign |
| QString | remarks |
| QString | aircraftType |
| LegsModel * | legs |
| QString | icaoRoute |
| FlightRules | flightRules |
| FlightType | flightType |
| QuantityValue | totalDistanceNm |
| int | estimatedDurationMinutes |
| QuantityValue | cruiseAltitude |
| QuantityValue | cruiseSpeed |
| QmlPositioned * | departure |
| QmlPositioned * | destination |
| QmlPositioned * | alternate |
Friends | |
| class | FPDelegate |
Definition at line 39 of file FlightPlanController.hxx.
| Enumerator | |
|---|---|
| VFR | |
| IFR | |
| IFR_VFR | |
| VFR_IFR | |
Definition at line 78 of file FlightPlanController.hxx.
| Enumerator | |
|---|---|
| Scheduled | |
| NonScheduled | |
| GeneralAviation | |
| Military | |
| Other | |
Definition at line 86 of file FlightPlanController.hxx.
|
virtual |
Definition at line 211 of file FlightPlanController.cxx.
|
explicit |
Definition at line 190 of file FlightPlanController.cxx.
| QString FlightPlanController::aircraftType | ( | ) | const |
Definition at line 422 of file FlightPlanController.cxx.
| QmlPositioned * FlightPlanController::alternate | ( | ) | const |
Definition at line 371 of file FlightPlanController.cxx.
| QString FlightPlanController::callsign | ( | ) | const |
Definition at line 412 of file FlightPlanController.cxx.
|
slot |
Definition at line 216 of file FlightPlanController.cxx.
| void FlightPlanController::clearRoute | ( | ) |
Definition at line 513 of file FlightPlanController.cxx.
|
slot |
Definition at line 532 of file FlightPlanController.cxx.
| QuantityValue FlightPlanController::cruiseAltitude | ( | ) | const |
Definition at line 296 of file FlightPlanController.cxx.
| QuantityValue FlightPlanController::cruiseSpeed | ( | ) | const |
Definition at line 379 of file FlightPlanController.cxx.
| QmlPositioned * FlightPlanController::departure | ( | ) | const |
Definition at line 355 of file FlightPlanController.cxx.
| QString FlightPlanController::description | ( | ) | const |
Definition at line 342 of file FlightPlanController.cxx.
|
signal |
| QmlPositioned * FlightPlanController::destination | ( | ) | const |
Definition at line 363 of file FlightPlanController.cxx.
|
signal |
| int FlightPlanController::estimatedDurationMinutes | ( | ) | const |
Definition at line 457 of file FlightPlanController.cxx.
|
inline |
Definition at line 132 of file FlightPlanController.hxx.
| FlightPlanController::FlightRules FlightPlanController::flightRules | ( | ) | const |
Definition at line 392 of file FlightPlanController.cxx.
| FlightPlanController::FlightType FlightPlanController::flightType | ( | ) | const |
Definition at line 397 of file FlightPlanController.cxx.
| QString FlightPlanController::icaoRoute | ( | ) | const |
Definition at line 518 of file FlightPlanController.cxx.
|
signal |
|
inline |
Definition at line 127 of file FlightPlanController.hxx.
| bool FlightPlanController::loadFromPath | ( | QString | path | ) |
Definition at line 229 of file FlightPlanController.cxx.
| bool FlightPlanController::loadPlan | ( | ) |
Definition at line 538 of file FlightPlanController.cxx.
| QString FlightPlanController::remarks | ( | ) | const |
Definition at line 417 of file FlightPlanController.cxx.
|
slot |
Definition at line 554 of file FlightPlanController.cxx.
| bool FlightPlanController::saveToPath | ( | QString | path | ) | const |
Definition at line 251 of file FlightPlanController.cxx.
|
slot |
Definition at line 447 of file FlightPlanController.cxx.
|
slot |
Definition at line 601 of file FlightPlanController.cxx.
|
slot |
Definition at line 427 of file FlightPlanController.cxx.
| void FlightPlanController::setCruiseAltitude | ( | QuantityValue | alt | ) |
Definition at line 309 of file FlightPlanController.cxx.
|
slot |
Definition at line 615 of file FlightPlanController.cxx.
|
slot |
Definition at line 573 of file FlightPlanController.cxx.
|
slot |
Definition at line 587 of file FlightPlanController.cxx.
|
slot |
Definition at line 523 of file FlightPlanController.cxx.
|
slot |
Definition at line 402 of file FlightPlanController.cxx.
|
slot |
Definition at line 407 of file FlightPlanController.cxx.
|
slot |
Definition at line 437 of file FlightPlanController.cxx.
| QuantityValue FlightPlanController::totalDistanceNm | ( | ) | const |
Definition at line 462 of file FlightPlanController.cxx.
| bool FlightPlanController::tryGenerateRoute | ( | ) |
Definition at line 473 of file FlightPlanController.cxx.
| bool FlightPlanController::tryParseRoute | ( | QString | routeDesc | ) |
Definition at line 467 of file FlightPlanController.cxx.
|
signal |
|
friend |
Definition at line 170 of file FlightPlanController.hxx.
|
readwrite |
Definition at line 48 of file FlightPlanController.hxx.
|
readwrite |
Definition at line 71 of file FlightPlanController.hxx.
|
readwrite |
Definition at line 46 of file FlightPlanController.hxx.
|
readwrite |
Definition at line 66 of file FlightPlanController.hxx.
|
readwrite |
Definition at line 67 of file FlightPlanController.hxx.
|
readwrite |
Definition at line 69 of file FlightPlanController.hxx.
|
read |
Definition at line 44 of file FlightPlanController.hxx.
|
readwrite |
Definition at line 70 of file FlightPlanController.hxx.
| bool FlightPlanController::enabled |
Definition at line 43 of file FlightPlanController.hxx.
|
readwrite |
Definition at line 64 of file FlightPlanController.hxx.
|
readwrite |
Definition at line 57 of file FlightPlanController.hxx.
|
readwrite |
Definition at line 58 of file FlightPlanController.hxx.
|
read |
Definition at line 52 of file FlightPlanController.hxx.
|
read |
Definition at line 50 of file FlightPlanController.hxx.
|
readwrite |
Definition at line 47 of file FlightPlanController.hxx.
|
read |
Definition at line 62 of file FlightPlanController.hxx.