|
swift
|
Value object for a flight plan. More...
#include <flightplan.h>
Public Types | |
| enum | FlightRules { VFR = 0 , IFR , SVFR , DVFR , UNKNOWN } |
| Flight rules (VFR or IFR). More... | |
| enum | ColumnIndex { IndexCallsign = CPropertyIndexRef::GlobalIndexCFlightPlan , IndexOriginAirportIcao , IndexDestinationAirportIcao , IndexAlternateAirportIcao , IndexRemarks } |
| Properties by index. More... | |
| Public Types inherited from swift::misc::CValueObject< CFlightPlan > | |
| using | base_type |
| Base class. | |
| Public Types inherited from swift::misc::CEmpty | |
| using | base_type = CEmpty |
| Base class is alias of itself. | |
| Public Types inherited from swift::misc::mixin::Index< CFlightPlan > | |
| enum | ColumnIndex |
| Base class enums. More... | |
| Public Types inherited from swift::misc::ITimestampBased | |
| enum | ColumnIndex { IndexUtcTimestamp = CPropertyIndexRef::GlobalIndexITimestampBased , IndexUtcTimestampFormattedYmdhms , IndexUtcTimestampFormattedYmdhmsz , IndexUtcTimestampFormattedMdhms , IndexUtcTimestampFormattedMdhmsz , IndexUtcTimestampFormattedDhms , IndexUtcTimestampFormattedHms , IndexUtcTimestampFormattedHm , IndexMSecsSinceEpoch } |
| Properties by index. More... | |
Public Member Functions | |
| CFlightPlan ()=default | |
| Default constructor. | |
| CFlightPlan (const CCallsign &callsign, const CFlightPlanAircraftInfo &aircraftInfo, const CAirportIcaoCode &originAirportIcao, const CAirportIcaoCode &destinationAirportIcao, const CAirportIcaoCode &alternateAirportIcao, const QDateTime &takeoffTimePlanned, const QDateTime &takeoffTimeActual, const physical_quantities::CTime &enrouteTime, const physical_quantities::CTime &fuelTime, const CAltitude &cruiseAltitude, const physical_quantities::CSpeed &cruiseTrueAirspeed, FlightRules flightRules, const QString &route, const QString &remarks) | |
| Constructor. | |
| void | setCallsign (const CCallsign &callsign) |
| Callsign (of aircraft). | |
| void | setAircraftInfo (const CFlightPlanAircraftInfo &aircraftInfo) |
| Set information about the aircraft used in this flightplan. | |
| void | setOriginAirportIcao (const QString &originAirportIcao) |
| Set origin airport ICAO code. | |
| void | setOriginAirportIcao (const CAirportIcaoCode &originAirportIcao) |
| Set origin airport ICAO code. | |
| void | setDestinationAirportIcao (const QString &destinationAirportIcao) |
| Set destination airport ICAO code. | |
| void | setDestinationAirportIcao (const CAirportIcaoCode &destinationAirportIcao) |
| Set destination airport ICAO code. | |
| void | setAlternateAirportIcao (const QString &alternateAirportIcao) |
| Set alternate destination airport ICAO code. | |
| void | setAlternateAirportIcao (const CAirportIcaoCode &alternateAirportIcao) |
| Set alternate destination airport ICAO code. | |
| void | setTakeoffTimePlanned (const QDateTime &takeoffTimePlanned) |
| Set planned takeoff time. | |
| void | setTakeoffTimePlanned (const QString &time) |
| Set planned takeoff time hh:mm. | |
| void | setTakeoffTimeActual (const QDateTime &takeoffTimeActual) |
| Set actual takeoff time (reserved for ATC use). | |
| void | setTakeoffTimeActual (const QString &time) |
| Set actual takeoff time hh:mm. | |
| void | setEnrouteTime (const physical_quantities::CTime &enrouteTime) |
| Set planned enroute flight time. | |
| void | setFuelTime (const physical_quantities::CTime &fuelTime) |
| Set amount of fuel load in time. | |
| void | setFuelTime (const QString &fuelTime) |
| Set amount of fuel load in time hh:mm. | |
| void | setCruiseAltitude (const CAltitude &cruiseAltitude) |
| Set planned cruise altitude. | |
| void | setCruiseAltitudeString (const QString &altitudeString) |
| Cruising altitude already as string. | |
| void | setCruiseTrueAirspeed (const physical_quantities::CSpeed &cruiseTrueAirspeed) |
| Set planned cruise TAS. | |
| void | setFlightRule (FlightRules flightRule) |
| Set flight rules (VFR or IFR). | |
| void | setFlightRule (const QString &flightRule) |
| Set flight rules (VFR or IFR). | |
| void | setRoute (const QString &route) |
| Set route string. | |
| void | setRemarks (const QString &remarks) |
| Set remarks string (max 100 characters). | |
| void | setVoiceCapabilities (const QString &capabilities) |
| Set voice capabilities. | |
| void | setWhenLastSentOrLoaded (const QDateTime &dateTime) |
| When last sent. | |
| const CCallsign & | getCallsign () const |
| Aircraft callsign. | |
| bool | hasCallsign () const |
| Has callsign? | |
| const CAirportIcaoCode & | getOriginAirportIcao () const |
| Get origin airport ICAO code. | |
| const CAirportIcaoCode & | getDestinationAirportIcao () const |
| Get destination airport ICAO code. | |
| const CAirportIcaoCode & | getAlternateAirportIcao () const |
| Get alternate destination airport ICAO code. | |
| const QDateTime & | getTakeoffTimePlanned () const |
| Get planned takeoff time (planned). | |
| QString | getTakeoffTimePlannedHourMin () const |
| Get planned takeoff time (planned). | |
| const QDateTime & | getTakeoffTimeActual () const |
| Get actual takeoff time (actual). | |
| QString | getTakeoffTimeActualHourMin () const |
| Get actual takeoff time (actual). | |
| const physical_quantities::CTime & | getEnrouteTime () const |
| Get planned enroute flight time. | |
| QString | getEnrouteTimeHourMin () const |
| Get planned enroute flight time. | |
| const physical_quantities::CTime & | getFuelTime () const |
| Get amount of fuel load in time. | |
| QString | getFuelTimeHourMin () const |
| Get amount of fuel load in time. | |
| const CAltitude & | getCruiseAltitude () const |
| Cruising altitudes. | |
| const QString & | getCruiseAltitudeString () const |
| Cruising altitude already as string. | |
| const physical_quantities::CSpeed & | getCruiseTrueAirspeed () const |
| Get planned cruise TAS. | |
| FlightRules | getFlightRules () const |
| Get flight rules as in FlightRules. | |
| QString | getFlightRulesAsString () const |
| Get flight rules as in FlightRules as string. | |
| const QString & | getRoute () const |
| Get route string. | |
| const QDateTime | whenLastSentOrLoaded () const |
| When last sent. | |
| bool | wasSentOrLoaded () const |
| Flight plan already sent. | |
| qint64 | timeDiffSentOrLoadedMs () const |
| Received before n ms. | |
| const QString & | getRemarks () const |
| Get remarks string. | |
| const CFlightPlanRemarks & | getFlightPlanRemarks () const |
| Get the parsable remarks. | |
| void | setFlightPlanRemarks (const CFlightPlanRemarks &remarks) |
| Set FP remarks. | |
| CFlightPlanAircraftInfo | getAircraftInfo () const |
| Get ICAO aircraft NAV/COM equipment. | |
| QVariant | propertyByIndex (CPropertyIndexRef index) const |
| Property by index. | |
| void | setPropertyByIndex (CPropertyIndexRef index, const QVariant &variant) |
| Set property by index. | |
| CIcons::IconIndex | toIcon () const |
| As icon, not implemented by all classes. | |
| QString | convertToQString (bool i18n=false) const |
| Cast as QString. | |
| QString | asHTML (bool i18n=false) const |
| As HTML. | |
| Public Member Functions inherited from swift::misc::mixin::MetaType< CFlightPlan > | |
| int | getMetaTypeId () const |
| Returns the Qt meta type ID of this object. | |
| QString | getClassName () const |
| Class name. | |
| bool | isA (int metaTypeId) const |
| Returns true if this object is an instance of the class with the given meta type ID, or one of its subclasses. | |
| Public Member Functions inherited from swift::misc::mixin::DBusByMetaClass< CFlightPlan > | |
| void | marshallToDbus (QDBusArgument &arg, Tags...) const |
| Marshall without begin/endStructure, for when composed within another object. | |
| void | unmarshallFromDbus (const QDBusArgument &arg, Tags...) |
| Unmarshall without begin/endStructure, for when composed within another object. | |
| Public Member Functions inherited from swift::misc::mixin::DataStreamByMetaClass< CFlightPlan > | |
| void | marshalToDataStream (QDataStream &stream) const |
| Marshal a value to a QDataStream. | |
| void | unmarshalFromDataStream (QDataStream &stream) |
| Unmarshal a value from a QDataStream. | |
| Public Member Functions inherited from swift::misc::mixin::JsonByMetaClass< CFlightPlan > | |
| QJsonObject | toJson () const |
| Cast to JSON object. | |
| QString | toJsonString (QJsonDocument::JsonFormat format=QJsonDocument::Indented) const |
| Convenience function JSON as string. | |
| void | convertFromJson (const QJsonObject &json) |
| Assign from JSON object. | |
| Public Member Functions inherited from swift::misc::mixin::String< CFlightPlan > | |
| QString | toQString (bool i18n=false) const |
| Cast as QString. | |
| std::string | toStdString (bool i18n=false) const |
| To std string. | |
| QString | stringForStreaming () const |
| String for streaming operators. | |
| Public Member Functions inherited from swift::misc::mixin::Index< CFlightPlan > | |
| CPropertyIndexList | apply (const CPropertyIndexVariantMap &indexMap, bool skipEqualValues=false) |
| Update by variant map. | |
| void | setPropertyByIndex (CPropertyIndexRef index, const QVariant &variant) |
| Set property by index. | |
| QVariant | propertyByIndex (CPropertyIndexRef index) const |
| Property by index. | |
| int | comparePropertyByIndex (CPropertyIndexRef index, const CFlightPlan &compareValue) const |
| Compare for index. | |
| bool | equalsPropertyByIndex (const QVariant &compareValue, CPropertyIndexRef index) const |
| Is given variant equal to value of property index? | |
| Public Member Functions inherited from swift::misc::mixin::Icon< CFlightPlan > | |
| CIcons::CIcons::StandardIconUnknown16 | toIcon () const |
| As icon, not implemented by all classes. | |
| Public Member Functions inherited from swift::misc::ITimestampBased | |
| QDateTime | getUtcTimestamp () const |
| Get timestamp. | |
| qint64 | getMSecsSinceEpoch () const |
| Timestamp as ms value. | |
| qint64 | getTimeDifferenceMs (qint64 compareTime) const |
| Time difference in ms. | |
| qint64 | getTimeDifferenceAbsMs (qint64 compareTime) const |
| Time difference in ms. | |
| qint64 | getTimeDifferenceToNowMs () const |
| Time difference to now. | |
| qint64 | getTimeDifferenceMs (const ITimestampBased &compare) const |
| Time difference in ms. | |
| qint64 | getAbsTimeDifferenceMs (qint64 compareTime) const |
| Time difference in ms. | |
| qint64 | getAbsTimeDifferenceMs (const ITimestampBased &compare) const |
| Time difference in ms. | |
| void | setTimestampToNull () |
| Set to null. | |
| void | setMSecsSinceEpoch (qint64 mSecsSinceEpoch) |
| Timestamp as ms value. | |
| void | setByYearMonthDayHourMinute (const QString &yyyyMMddhhmmss) |
| Set by value such as "20141003231045". | |
| void | setUtcTimestamp (const QDateTime ×tamp) |
| Set timestamp. | |
| bool | isNewerThan (const ITimestampBased &otherTimestampObj) const |
| Is this newer than other? | |
| bool | isNewerThan (qint64 mSecsSinceEpoch) const |
| Is newer than epoch value? | |
| bool | isOlderThan (const ITimestampBased &otherTimestampObj) const |
| Is this older than other? | |
| bool | isOlderThan (qint64 mSecsSinceEpoch) const |
| Is this older than other? | |
| bool | isOlderThanNowMinusOffset (int offsetMs) const |
| Older than now-offset. | |
| bool | isSame (const ITimestampBased &otherTimestampObj) const |
| Same timestamp. | |
| qint64 | msecsTo (const ITimestampBased &otherTimestampObj) const |
| Time difference. | |
| qint64 | absMsecsTo (const ITimestampBased &otherTimestampObj) const |
| Time difference. | |
| qint64 | msecsToNow () const |
| Milliseconds to now. | |
| void | setCurrentUtcTime () |
| Set the current time as timestamp. | |
| void | addMsecs (qint64 ms) |
| Add the given number of milliseconds to the timestamp. | |
| QString | getFormattedUtcTimestampHms () const |
| As hh:mm:ss. | |
| QString | getFormattedUtcTimestampHmsz () const |
| As hh:mm:ss.zzz. | |
| QString | getFormattedUtcTimestampHm () const |
| As hh:mm. | |
| QString | getFormattedUtcTimestampDhms () const |
| As dd HH mm ss. | |
| QString | getFormattedUtcTimestampMdhms () const |
| As MM dd HH mm ss. | |
| QString | getFormattedUtcTimestampMdhmsz () const |
| As MM dd HH mm ss.zzz. | |
| QString | getFormattedUtcTimestampYmdhms () const |
| As yyyy MM dd HH mm ss. | |
| QString | getFormattedUtcTimestampYmdhmsz () const |
| As yyyy MM dd HH mm ss.zzz. | |
| bool | hasValidTimestamp () const |
| Valid timestamp? | |
Static Public Member Functions | |
| static const QStringList & | getLogCategories () |
| The log. catgeories. | |
| static CFlightPlan | fromVPilotFormat (const QString &vPilotData) |
| From vPilot data. | |
| static CFlightPlan | fromSB4Format (const QString &sbData) |
| From SB4 data. | |
| static CFlightPlan | fromSimBriefFormat (const QString &simBrief) |
| From SimBrief format (XML). | |
| static CFlightPlan | fromMultipleFormats (const QString &data, const QString &fileSuffix) |
| From multiple formats. | |
| static CFlightPlan | loadFromMultipleFormats (const QString &fileName, CStatusMessageList *msgs=nullptr) |
| Load from multiple formats. | |
| static const QString & | flightRulesToString (FlightRules rules) |
| Rules to string. | |
| static FlightRules | stringToFlightRules (const QString &flightRules) |
| String to flight rules. | |
| static const QStringList & | flightRules () |
| All rules as string. | |
| static bool | isVFRRules (FlightRules rule) |
| Is rule a VFR rule? | |
| static bool | isVFRRules (const QString &rule) |
| Is rule a VFR rule? | |
| static bool | isIFRRules (FlightRules rule) |
| Is rule a IFR rule? | |
| static bool | isIFRRules (const QString &rule) |
| Is rule a IFR rule? | |
| Static Public Member Functions inherited from swift::misc::mixin::MetaType< CFlightPlan > | |
| static void | registerMetadata () |
| Register metadata. | |
| Static Public Member Functions inherited from swift::misc::mixin::JsonByMetaClass< CFlightPlan > | |
| static DerivedObj | fromJson (const QJsonObject &json) |
| Get object from QJsonObject. | |
| static DerivedObj | fromJsonNoThrow (const QString &jsonString, bool acceptCacheJson, bool &success, QString &errMsg) |
| Get object from JSON string. | |
| Static Public Member Functions inherited from swift::misc::ITimestampBased | |
| static bool | isAnyTimestampIndex (int index) |
| Any of the timestamp indexes. | |
| static bool | canHandleIndex (CPropertyIndexRef index) |
| Can given index be handled. | |
Static Public Attributes | |
| static constexpr int | MaxRemarksLength = 512 |
| Max.remarks length. | |
| static constexpr int | MaxRouteLength = 512 |
| Max.route length. | |
| static constexpr int | MaxRouteAndRemarksLength = 624 |
| Max.length for Route and Remarks. | |
Additional Inherited Members | |
| Protected Member Functions inherited from swift::misc::CValueObject< CFlightPlan > | |
| CEmpty ()=default | |
| Inheriting constructors. | |
| CEmpty (const CEmpty &)=default | |
| Inheriting constructors. | |
| CValueObject ()=default | |
| Default constructor. | |
| CValueObject & | operator= (const CValueObject &)=default |
| Copy assignment operator. | |
| ~CValueObject ()=default | |
| Destructor. | |
| Protected Member Functions inherited from swift::misc::CEmpty | |
| CEmpty ()=default | |
| Protected default constructor. | |
| CEmpty (const CEmpty &)=default | |
| Protected copy constructor. | |
| CEmpty & | operator= (const CEmpty &)=default |
| Protected copy assignment operator. | |
| ~CEmpty ()=default | |
| Non-virtual protected destructor. | |
| Protected Member Functions inherited from swift::misc::ITimestampBased | |
| ITimestampBased ()=default | |
| Constructor. | |
| ITimestampBased (qint64 msSincePoch) | |
| Constructor. | |
| ITimestampBased (const QDateTime ×tamp) | |
| Constructor. | |
| QVariant | propertyByIndex (CPropertyIndexRef index) const |
| Property by index. | |
| void | setPropertyByIndex (CPropertyIndexRef index, const QVariant &variant) |
| Set property by index. | |
| int | comparePropertyByIndex (CPropertyIndexRef index, const ITimestampBased &compareValue) const |
| Compare for index. | |
| void | updateMissingParts (const ITimestampBased &other) |
| Update missing parts. | |
| Protected Attributes inherited from swift::misc::ITimestampBased | |
| qint64 | m_timestampMSecsSinceEpoch = -1 |
| timestamp value | |
Value object for a flight plan.
Definition at line 147 of file flightplan.h.
Properties by index.
Definition at line 164 of file flightplan.h.
Flight rules (VFR or IFR).
| Enumerator | |
|---|---|
| VFR | Visual flight rules. |
| IFR | Instrument flight rules. |
| SVFR | Special VFR (reserved for ATC use),. |
| DVFR | Defense VFR. |
| UNKNOWN | Unknown. |
Definition at line 154 of file flightplan.h.
| swift::misc::aviation::CFlightPlan::CFlightPlan | ( | const CCallsign & | callsign, |
| const CFlightPlanAircraftInfo & | aircraftInfo, | ||
| const CAirportIcaoCode & | originAirportIcao, | ||
| const CAirportIcaoCode & | destinationAirportIcao, | ||
| const CAirportIcaoCode & | alternateAirportIcao, | ||
| const QDateTime & | takeoffTimePlanned, | ||
| const QDateTime & | takeoffTimeActual, | ||
| const physical_quantities::CTime & | enrouteTime, | ||
| const physical_quantities::CTime & | fuelTime, | ||
| const CAltitude & | cruiseAltitude, | ||
| const physical_quantities::CSpeed & | cruiseTrueAirspeed, | ||
| CFlightPlan::FlightRules | flightRules, | ||
| const QString & | route, | ||
| const QString & | remarks ) |
Constructor.
Definition at line 250 of file flightplan.cpp.
| QString swift::misc::aviation::CFlightPlan::asHTML | ( | bool | i18n = false | ) | const |
As HTML.
Definition at line 366 of file flightplan.cpp.
| QString swift::misc::aviation::CFlightPlan::convertToQString | ( | bool | i18n = false | ) | const |
Cast as QString.
Definition at line 364 of file flightplan.cpp.
|
static |
All rules as string.
Definition at line 822 of file flightplan.cpp.
|
static |
Rules to string.
Definition at line 776 of file flightplan.cpp.
|
static |
From multiple formats.
Definition at line 628 of file flightplan.cpp.
|
static |
From SB4 data.
Definition at line 444 of file flightplan.cpp.
|
static |
From SimBrief format (XML).
Definition at line 485 of file flightplan.cpp.
|
static |
From vPilot data.
Definition at line 382 of file flightplan.cpp.
|
inline |
Get ICAO aircraft NAV/COM equipment.
Definition at line 384 of file flightplan.h.
|
inline |
Get alternate destination airport ICAO code.
Definition at line 315 of file flightplan.h.
|
inline |
Aircraft callsign.
Definition at line 303 of file flightplan.h.
|
inline |
Cruising altitudes.
Definition at line 348 of file flightplan.h.
|
inline |
Cruising altitude already as string.
Definition at line 351 of file flightplan.h.
|
inline |
Get planned cruise TAS.
Definition at line 354 of file flightplan.h.
|
inline |
Get destination airport ICAO code.
Definition at line 312 of file flightplan.h.
|
inline |
Get planned enroute flight time.
Definition at line 330 of file flightplan.h.
|
inline |
Get planned enroute flight time.
Definition at line 333 of file flightplan.h.
|
inline |
Get the parsable remarks.
Definition at line 378 of file flightplan.h.
|
inline |
Get flight rules as in FlightRules.
Definition at line 357 of file flightplan.h.
|
inline |
Get flight rules as in FlightRules as string.
Definition at line 360 of file flightplan.h.
|
inline |
Get amount of fuel load in time.
Definition at line 339 of file flightplan.h.
|
inline |
Get amount of fuel load in time.
Definition at line 342 of file flightplan.h.
|
static |
The log. catgeories.
Definition at line 244 of file flightplan.cpp.
|
inline |
Get origin airport ICAO code.
Definition at line 309 of file flightplan.h.
|
inline |
Get remarks string.
Definition at line 375 of file flightplan.h.
|
inline |
Get route string.
Definition at line 363 of file flightplan.h.
|
inline |
Get actual takeoff time (actual).
Definition at line 324 of file flightplan.h.
| QString swift::misc::aviation::CFlightPlan::getTakeoffTimeActualHourMin | ( | ) | const |
Get actual takeoff time (actual).
Definition at line 310 of file flightplan.cpp.
|
inline |
Get planned takeoff time (planned).
Definition at line 318 of file flightplan.h.
| QString swift::misc::aviation::CFlightPlan::getTakeoffTimePlannedHourMin | ( | ) | const |
Get planned takeoff time (planned).
Definition at line 308 of file flightplan.cpp.
|
inline |
Has callsign?
Definition at line 306 of file flightplan.h.
|
static |
Is rule a IFR rule?
Definition at line 841 of file flightplan.cpp.
|
static |
Is rule a IFR rule?
Definition at line 839 of file flightplan.cpp.
|
static |
Is rule a VFR rule?
Definition at line 833 of file flightplan.cpp.
|
static |
Is rule a VFR rule?
Definition at line 828 of file flightplan.cpp.
|
static |
Load from multiple formats.
Definition at line 653 of file flightplan.cpp.
| QVariant swift::misc::aviation::CFlightPlan::propertyByIndex | ( | CPropertyIndexRef | index | ) | const |
Property by index.
Definition at line 312 of file flightplan.cpp.
| void swift::misc::aviation::CFlightPlan::setAircraftInfo | ( | const CFlightPlanAircraftInfo & | aircraftInfo | ) |
Set information about the aircraft used in this flightplan.
Definition at line 275 of file flightplan.cpp.
|
inline |
Set alternate destination airport ICAO code.
Definition at line 226 of file flightplan.h.
|
inline |
Set alternate destination airport ICAO code.
Definition at line 220 of file flightplan.h.
| void swift::misc::aviation::CFlightPlan::setCallsign | ( | const CCallsign & | callsign | ) |
Callsign (of aircraft).
Definition at line 269 of file flightplan.cpp.
|
inline |
Set planned cruise altitude.
Definition at line 269 of file flightplan.h.
|
inline |
Cruising altitude already as string.
Definition at line 276 of file flightplan.h.
|
inline |
Set planned cruise TAS.
Definition at line 279 of file flightplan.h.
|
inline |
Set destination airport ICAO code.
Definition at line 214 of file flightplan.h.
|
inline |
Set destination airport ICAO code.
Definition at line 208 of file flightplan.h.
|
inline |
Set planned enroute flight time.
Definition at line 252 of file flightplan.h.
|
inline |
Set FP remarks.
Definition at line 381 of file flightplan.h.
| void swift::misc::aviation::CFlightPlan::setFlightRule | ( | const QString & | flightRule | ) |
Set flight rules (VFR or IFR).
Definition at line 287 of file flightplan.cpp.
|
inline |
Set flight rules (VFR or IFR).
Definition at line 285 of file flightplan.h.
|
inline |
Set amount of fuel load in time.
Definition at line 259 of file flightplan.h.
|
inline |
Set amount of fuel load in time hh:mm.
Definition at line 266 of file flightplan.h.
|
inline |
Set origin airport ICAO code.
Definition at line 202 of file flightplan.h.
|
inline |
Set origin airport ICAO code.
Definition at line 199 of file flightplan.h.
| void swift::misc::aviation::CFlightPlan::setPropertyByIndex | ( | CPropertyIndexRef | index, |
| const QVariant & | variant ) |
Set property by index.
Definition at line 335 of file flightplan.cpp.
| void swift::misc::aviation::CFlightPlan::setRemarks | ( | const QString & | remarks | ) |
Set remarks string (max 100 characters).
Definition at line 300 of file flightplan.cpp.
| void swift::misc::aviation::CFlightPlan::setRoute | ( | const QString & | route | ) |
Set route string.
Definition at line 293 of file flightplan.cpp.
| void swift::misc::aviation::CFlightPlan::setTakeoffTimeActual | ( | const QDateTime & | takeoffTimeActual | ) |
Set actual takeoff time (reserved for ATC use).
Definition at line 282 of file flightplan.cpp.
|
inline |
Set actual takeoff time hh:mm.
Definition at line 245 of file flightplan.h.
| void swift::misc::aviation::CFlightPlan::setTakeoffTimePlanned | ( | const QDateTime & | takeoffTimePlanned | ) |
Set planned takeoff time.
Definition at line 277 of file flightplan.cpp.
|
inline |
Set planned takeoff time hh:mm.
Definition at line 235 of file flightplan.h.
| void swift::misc::aviation::CFlightPlan::setVoiceCapabilities | ( | const QString & | capabilities | ) |
Set voice capabilities.
Definition at line 302 of file flightplan.cpp.
|
inline |
When last sent.
Definition at line 300 of file flightplan.h.
|
static |
String to flight rules.
Definition at line 796 of file flightplan.cpp.
|
inline |
Received before n ms.
Definition at line 372 of file flightplan.h.
| CIcons::IconIndex swift::misc::aviation::CFlightPlan::toIcon | ( | ) | const |
As icon, not implemented by all classes.
Definition at line 847 of file flightplan.cpp.
|
inline |
Flight plan already sent.
Definition at line 369 of file flightplan.h.
|
inline |
When last sent.
Definition at line 366 of file flightplan.h.
|
staticconstexpr |
Max.remarks length.
Definition at line 176 of file flightplan.h.
|
staticconstexpr |
Max.length for Route and Remarks.
Definition at line 178 of file flightplan.h.
|
staticconstexpr |
Max.route length.
Definition at line 177 of file flightplan.h.