6 #ifndef SWIFT_CORE_CONTEXT_CONTEXTOWNAIRCRAFT_EMPTY_H
7 #define SWIFT_CORE_CONTEXT_CONTEXTOWNAIRCRAFT_EMPTY_H
14 namespace swift::core::context
29 logEmptyContextWarning(Q_FUNC_INFO);
38 logEmptyContextWarning(Q_FUNC_INFO);
45 logEmptyContextWarning(Q_FUNC_INFO);
52 logEmptyContextWarning(Q_FUNC_INFO);
63 Q_UNUSED(pressureAltitude)
64 logEmptyContextWarning(Q_FUNC_INFO);
75 Q_UNUSED(transponder);
77 logEmptyContextWarning(Q_FUNC_INFO);
85 Q_UNUSED(transponderMode);
87 logEmptyContextWarning(Q_FUNC_INFO);
99 logEmptyContextWarning(Q_FUNC_INFO);
107 logEmptyContextWarning(Q_FUNC_INFO);
116 Q_UNUSED(originator);
117 logEmptyContextWarning(Q_FUNC_INFO);
125 logEmptyContextWarning(Q_FUNC_INFO);
133 Q_UNUSED(aircraftIcaoCode);
134 Q_UNUSED(airlineIcaoCode);
135 logEmptyContextWarning(Q_FUNC_INFO);
146 logEmptyContextWarning(Q_FUNC_INFO);
153 Q_UNUSED(commandLine);
154 Q_UNUSED(originator);
155 logEmptyContextWarning(Q_FUNC_INFO);
Configuration object for the contexts.
The class providing facades (the contexts) for all DBus relevant operations.
Empty context, used during shutdown/initialization.
bool updateTransponderMode(const swift::misc::aviation::CTransponder::TransponderMode &transponderMode, const swift::misc::CIdentifier &originator)
Update own transponder mode.
swift::misc::aviation::CTransponder getOwnTransponder() const
Get own transponder.
swift::misc::aviation::CComSystem getOwnComSystem(swift::misc::aviation::CComSystem::ComUnit unit) const
Get own COM system.
bool updateSelcal(const swift::misc::aviation::CSelcal &selcal, const swift::misc::CIdentifier &originator)
Own SELCAL code.
bool updateOwnIcaoCodes(const swift::misc::aviation::CAircraftIcaoCode &aircraftIcaoCode, const swift::misc::aviation::CAirlineIcaoCode &airlineIcaoCode)
Set ICAO data.
bool updateOwnAircraftPilot(const swift::misc::network::CUser &pilot)
Set current pilot.
bool updateOwnCallsign(const swift::misc::aviation::CCallsign &callsign)
Set callsign.
bool updateOwnPosition(const swift::misc::geo::CCoordinateGeodetic &position, const swift::misc::aviation::CAltitude &altitude, const swift::misc::aviation::CAltitude &pressureAltitude)
Update position.
swift::misc::simulation::CSimulatedAircraft getOwnAircraft() const
Get own aircraft.
swift::misc::aviation::CAircraftSituation getOwnAircraftSituation() const
Get own aircraft.
bool updateCockpit(const swift::misc::aviation::CComSystem &com1, const swift::misc::aviation::CComSystem &com2, const swift::misc::aviation::CTransponder &transponder, const swift::misc::CIdentifier &originator)
Update own cockpit.
CContextOwnAircraftEmpty(CCoreFacade *runtime)
Constructor.
bool parseCommandLine(const QString &commandLine, const swift::misc::CIdentifier &originator)
Parse a given command line.
void toggleTransponderMode()
Toggle XPDR mode.
bool setTransponderMode(swift::misc::aviation::CTransponder::TransponderMode mode)
Set XPDR mode.
bool updateActiveComFrequency(const swift::misc::physical_quantities::CFrequency &frequency, swift::misc::aviation::CComSystem::ComUnit comUnit, const swift::misc::CIdentifier &originator)
Tune in a COM frequency.
Value object encapsulating information identifying a component of a modular distributed swift process...
Value object for ICAO classification.
Value object encapsulating information of an aircraft's situation.
Value object for ICAO classification.
Altitude as used in aviation, can be AGL or MSL altitude.
Value object encapsulating information of a callsign.
TransponderMode
Transponder codes.
Value object encapsulating information of a user.
Comprehensive information of an aircraft.
#define SWIFT_CORE_EXPORT
Export a class or function from the library.