swift
|
Own context proxy. More...
Signals | |
void | changedAircraftCockpit (const swift::misc::simulation::CSimulatedAircraft &aircraft, const swift::misc::CIdentifier &originator) |
Aircraft cockpit update. | |
void | changedSelcal (const swift::misc::aviation::CSelcal &selcal, const swift::misc::CIdentifier &originator) |
Changed SELCAL code. | |
void | changedCallsign (const swift::misc::aviation::CCallsign &callsign) |
Own callsign was changed. | |
void | changedAircraftIcaoCodes (const swift::misc::aviation::CAircraftIcaoCode &aircraftIcaoCode, const swift::misc::aviation::CAirlineIcaoCode &airlineIcaoCode) |
Own ICAO was changed. | |
void | changedPilot (const swift::misc::network::CUser &pilot) |
Own pilot (aka the swift user) changed. | |
void | movedAircraft (const swift::misc::physical_quantities::CLength &distance) |
Aircraft has been moved from one location to another (changed scenery) | |
![]() | |
void | changedLogOrDebugSettings () |
Log or debug values changed. | |
Public Member Functions | |
virtual QString | getPathAndContextId () const |
Id and path name for round trip protection. More... | |
virtual | ~IContextOwnAircraft () |
Destructor. | |
![]() | |
~IContext ()=default | |
Destructor. | |
bool | isUsingImplementingObject () const |
Using local implementing object? | |
bool | isLocalObject () const |
Local or remote object? | |
bool | isEmptyObject () const |
Empty object? | |
CCoreFacade * | getRuntime () |
Runtime. | |
const CCoreFacade * | getRuntime () const |
Const runtime. | |
CCoreFacadeConfig::ContextMode | getMode () const |
Mode. | |
qint64 | getUniqueId () const |
Unique id. | |
const IContextApplication * | getIContextApplication () const |
Context for application. | |
IContextApplication * | getIContextApplication () |
Application. | |
IContextAudio * | getIContextAudio () |
Context for network. | |
const IContextAudio * | getIContextAudio () const |
Context for network. | |
IContextNetwork * | getIContextNetwork () |
Context for network. | |
const IContextNetwork * | getIContextNetwork () const |
Context for network. | |
IContextOwnAircraft * | getIContextOwnAircraft () |
Context for own aircraft. | |
const IContextOwnAircraft * | getIContextOwnAircraft () const |
Context for own aircraft. | |
const IContextSimulator * | getIContextSimulator () const |
Context for simulator. | |
IContextSimulator * | getIContextSimulator () |
Simulator. | |
void | setDebugEnabled (bool debug) |
Set debug flag. | |
bool | isDebugEnabled () const |
Debug enabled? | |
virtual bool | parseCommandLine (const QString &commandLine, const swift::misc::CIdentifier &originator)=0 |
Parse a given command line. | |
Static Public Member Functions | |
static const QString & | InterfaceName () |
DBus interface name. | |
static const QString & | ObjectPath () |
DBus object path. | |
static IContextOwnAircraft * | create (CCoreFacade *parent, CCoreFacadeConfig::ContextMode mode, swift::misc::CDBusServer *server, QDBusConnection &connection) |
Factory method. | |
![]() | |
static const QStringList & | getLogCategories () |
Log categories. | |
Protected Member Functions | |
IContextOwnAircraft (CCoreFacadeConfig::ContextMode mode, CCoreFacade *runtime) | |
Constructor. | |
![]() | |
IContext (CCoreFacadeConfig::ContextMode mode, QObject *parent) | |
Constructor. | |
QString | buildPathAndContextId (const QString &path) const |
Path and context id. | |
void | relayBaseClassSignals (const QString &serviceName, QDBusConnection &connection, const QString &objectPath, const QString &interfaceName) |
Relay signals from this class. | |
void | logEmptyContextWarning (const QString &functionName) const |
Empty context called. | |
virtual void | onAboutToShutdown () |
Called when shutdown is about to be called. | |
void | registerWithDBus (const QString &objectPath, misc::CDBusServer *server) |
Register myself in DBus. | |
Additional Inherited Members | |
![]() | |
static const misc::CStatusMessage & | statusMessageEmptyContext () |
Standard message when status message is returned in empty context. | |
Own context proxy.
Definition at line 51 of file contextownaircraft.h.
|
staticslot |
Default own aircraft.
Definition at line 49 of file contextownaircraft.cpp.
|
staticslot |
Default situation.
Definition at line 41 of file contextownaircraft.cpp.
|
inlinevirtual |
Id and path name for round trip protection.
Implements swift::core::context::IContext.
Definition at line 72 of file contextownaircraft.h.
|
pure virtualslot |
Update position.