swift
Public Slots | Signals | Public Member Functions | Static Public Member Functions | List of all members
swift::simplugin::flightgear::CFGSwiftBusServiceProxy Class Reference

Proxy object connected to a real FGSwiftBus::CService object via DBus. More...

Inheritance diagram for swift::simplugin::flightgear::CFGSwiftBusServiceProxy:
[legend]

Public Slots

int getVersionNumber ()
 Get Flightgear version number.
 
void getOwnAircraftSituationData (FlightgearData *o_flightgearData)
 Get own aircraft situation data.
 
void getOwnAircraftVelocityData (FlightgearData *o_flightgearData)
 Get own aircraft velocity data.
 
void addTextMessage (const QString &text)
 Add a text message to the on-screen display.
 
void setCom1ActiveKhz (int freq)
 Set the current COM1 active frequency in kHz.
 
void setCom1StandbyKhz (int freq)
 Set the current COM1 standby frequency in kHz.
 
void setCom2ActiveKhz (int freq)
 Set the current COM2 active frequency in kHz.
 
void setCom2StandbyKhz (int freq)
 Set the current COM2 standby frequency in kHz.
 
void setTransponderCode (int code)
 Set the current transponder code in decimal.
 
void setTransponderMode (int mode)
 Set the current transponder mode (depends on the aircraft, 0 and 1 usually mean standby, >1 active)
 
QString getAircraftModelPath () const
 Get full path to current aircraft model.
 
void getAircraftModelPathAsync (QString *o_modelPath)
 Get full path to current aircraft model.
 
QString getAircraftModelFilename () const
 Get base filename of current aircraft model.
 
void getAircraftModelFilenameAsync (QString *o_modelFilename)
 Get base filename of current aircraft model.
 
QString getAircraftLivery () const
 Get current aircraft livery.
 
void getAircraftLiveryAsync (QString *o_modelLivery)
 Get current aircraft livery.
 
QString getAircraftIcaoCode () const
 Get the ICAO code of the current aircraft model.
 
void getAircraftIcaoCodeAsync (QString *o_icaoCode)
 Get the ICAO code of the current aircraft model.
 
QString getAircraftDescription () const
 Get the description of the current aircraft model.
 
void getAircraftDescriptionAsync (QString *o_description)
 Get the description of the current aircraft model.
 
QString getAircraftModelString () const
 Get canonical swift model string of current aircraft model.
 
void getAircraftModelStringAsync (QString *o_modelString)
 Get canonical swift model string of current aircraft model.
 
QString getAircraftName () const
 Get name of current aircraft model.
 
void getAircraftNameAsync (QString *o_name)
 Get name of current aircraft model.
 
bool isPaused () const
 True if sim is paused.
 
void isPausedAsync (bool *o_paused)
 True if sim is paused.
 
double getLatitudeDeg () const
 Get aircraft latitude in degrees.
 
void getLatitudeDegAsync (double *o_latitude)
 Get aircraft latitude in degrees.
 
double getLongitudeDeg () const
 Get aircraft longitude in degrees.
 
void getLongitudeDegAsync (double *o_longitude)
 Get aircraft longitude in degrees.
 
double getAltitudeMslFt () const
 Get aircraft altitude in feet.
 
void getAltitudeMslFtAsync (double *o_altitude)
 Get aircraft altitude in feet.
 
double getHeightAglFt () const
 Get aircraft height in feet.
 
void getHeightAglFtAsync (double *o_height)
 Get aircraft height in feet.
 
double getGroundSpeedKts () const
 Get aircraft groundspeed in knots.
 
void getGroundSpeedKtsAsync (double *o_groundspeed)
 Get aircraft groundspeed in knots.
 
double getPitchDeg () const
 Get aircraft pitch in degrees above horizon.
 
void getPitchDegAsync (double *o_pitch)
 Get aircraft pitch in degrees above horizon.
 
double getRollDeg () const
 Get aircraft roll in degrees.
 
void getRollDegAsync (double *o_roll)
 Get aircraft roll in degrees.
 
bool getAllWheelsOnGround () const
 Get whether all wheels are on the ground.
 
void getAllWheelsOnGroundAsync (bool *o_allWheels)
 Get whether all wheels are on the ground.
 
int getCom1ActiveKhz () const
 Get the current COM1 active frequency in kHz.
 
void getCom1ActiveKhzAsync (int *o_com1Active)
 Get the current COM1 active frequency in kHz.
 
int getCom1StandbyKhz () const
 Get the current COM1 standby frequency in kHz.
 
void getCom1StandbyKhzAsync (int *o_com1Standby)
 Get the current COM1 standby frequency in kHz.
 
double getCom1Volume () const
 Get Com1 volume [0..1].
 
void getCom1VolumeAsync (double *o_com1Volume)
 Get Com1 volume [0..1].
 
double getCom2Volume () const
 Get Com2 volume [0..1].
 
void getCom2VolumeAsync (double *o_com2Volume)
 Get Com2 volume [0..1].
 
int getCom2ActiveKhz () const
 Get the current COM2 active frequency in kHz.
 
void getCom2ActiveKhzAsync (int *o_com2Active)
 Get the current COM2 active frequency in kHz.
 
int getCom2StandbyKhz () const
 Get the current COM2 standby frequency in kHz.
 
void getCom2StandbyKhzAsync (int *o_com2Standby)
 Get the current COM2 standby frequency in kHz.
 
int getTransponderCode () const
 Get the current transponder code in decimal.
 
void getTransponderCodeAsync (int *o_xpdrCode)
 Get the current transponder code in decimal.
 
int getTransponderMode () const
 Get the current transponder mode (depends on the aircraft, 0 and 1 usually mean standby, >1 active)
 
void getTransponderModeAsync (int *o_xpdrMode)
 Get the current transponder mode (depends on the aircraft, 0 and 1 usually mean standby, >1 active)
 
bool getTransponderIdent () const
 Get whether we are currently squawking ident.
 
void getTransponderIdentAsync (bool *o_ident)
 Get whether we are currently squawking ident.
 
bool getBeaconLightsOn () const
 Get whether beacon lights are on.
 
void getBeaconLightsOnAsync (bool *o_beaconLightsOn)
 Get whether beacon lights are on.
 
bool getLandingLightsOn () const
 Get whether landing lights are on.
 
void getLandingLightsOnAsync (bool *o_landingLightsOn)
 Get whether landing lights are on.
 
bool getNavLightsOn () const
 Get whether nav lights are on.
 
void getNavLightsOnAsync (bool *o_navLightsOn)
 Get whether nav lights are on.
 
bool getStrobeLightsOn () const
 Get whether strobe lights are on.
 
void getStrobeLightsOnAsync (bool *o_strobeLightsOn)
 Get whether strobe lights are on.
 
bool getTaxiLightsOn () const
 Get whether taxi lights are on.
 
void getTaxiLightsOnAsync (bool *o_taxiLightsOn)
 Get whether taxi lights are on.
 
double getPressureAltitudeFt () const
 Get pressure altitude in feet.
 
void getPressureAltitudeFtAsync (double *o_qnh)
 Get pressure altitude in feet.
 
double getFlapsDeployRatio () const
 Get flaps deploy ratio, where 0.0 is flaps fully retracted, and 1.0 is flaps fully extended.
 
void getFlapsDeployRatioAsync (double *o_flapsDeployRatio)
 Get flaps deploy ratio, where 0.0 is flaps fully retracted, and 1.0 is flaps fully extended.
 
double getGearDeployRatio () const
 Get gear deploy ratio, where 0 is up and 1 is down.
 
void getGearDeployRatioAsync (double *o_gearDeployRatio)
 Get gear deploy ratio, where 0 is up and 1 is down.
 
QList< double > getEngineN1Percentage () const
 Get the N1 speed as percent of max (per engine)
 
void getEngineN1PercentageAsync (QList< double > *o_engineN1Percentage)
 Get the N1 speed as percent of max (per engine)
 
double getSpeedBrakeRatio () const
 Get the ratio how much the speedbrakes surfaces are extended (0.0 is fully retracted, and 1.0 is fully extended)
 
void getSpeedBrakeRatioAsync (double *o_speedBrakeRatio)
 Get the ratio how much the speedbrakes surfaces are extended (0.0 is fully retracted, and 1.0 is fully extended)
 
double getGroundElevation () const
 Get ground elevation [m] for current airplane position.
 
void getGroundElevationAsync (double *o_groundElevation)
 Get ground elevation [m] for current airplane position.
 

Signals

SWIFT_NO_RELAY void asyncMethodError (QDBusError error)
 Emitted if an asynchronous method call caused a DBus error.
 
void aircraftModelChanged (const QString &path, const QString &filename, const QString &livery, const QString &icao, const QString &modelString, const QString &name, const QString &description)
 Own aircraft model changed.
 

Public Member Functions

 CFGSwiftBusServiceProxy (QDBusConnection &connection, QObject *parent=nullptr, bool dummy=false)
 Constructor.
 
bool isValid () const
 Does the remote object exist?
 
void cancelAllPendingAsyncCalls ()
 Cancel all current async slot calls.
 
- Public Member Functions inherited from QObject
QBindable< QStringbindableObjectName ()
 
 QObject (QObject *parent)
 
 QT_NO_CONTEXTLESS_CONNECT QT_NO_CONTEXTLESS_CONNECT
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 
 Q_CLASSINFO (Name, Value)
 
 Q_EMIT Q_EMIT
 
 Q_ENUM (...)
 
 Q_ENUMS (...)
 
 Q_ENUM_NS (...)
 
 Q_FLAG (...)
 
 Q_FLAGS (...)
 
 Q_FLAG_NS (...)
 
 Q_GADGET Q_GADGET
 
 Q_GADGET_EXPORT (EXPORT_MACRO)
 
 Q_INTERFACES (...)
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_MOC_INCLUDE Q_MOC_INCLUDE
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_OBJECT Q_OBJECT
 
 Q_PROPERTY (...)
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SLOT Q_SLOT
 
 Q_SLOTS Q_SLOTS
 
qobject_cast (QObject *object)
 
qobject_cast (const QObject *object)
 
bool blockSignals (bool block)
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
bool moveToThread (QThread *targetThread)
 
bool setProperty (const char *name, QVariant &&value)
 
bool setProperty (const char *name, const QVariant &value)
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::nanoseconds interval, Qt::TimerType timerType)
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
void installEventFilter (QObject *filterObj)
 
void killTimer (Qt::TimerId id)
 
void killTimer (int id)
 
void objectNameChanged (const QString &objectName)
 
void removeEventFilter (QObject *obj)
 
void setObjectName (QAnyStringView name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
QList< QByteArraydynamicPropertyNames () const const
 
QList< T > findChildren (QAnyStringView name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
QObjectparent () const const
 
QString objectName () const const
 
QThreadthread () const const
 
QVariant property (const char *name) const const
 
findChild (QAnyStringView name, Qt::FindChildOptions options) const const
 
findChild (Qt::FindChildOptions options) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool inherits (const char *className) const const
 
bool isQuickItemType () const const
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
bool signalsBlocked () const const
 
virtual const QMetaObjectmetaObject () const const
 
const QObjectListchildren () const const
 
void dumpObjectInfo () const const
 
void dumpObjectTree () const const
 

Static Public Member Functions

static const QStringInterfaceName ()
 Service name.
 
static const QStringObjectPath ()
 Service path.
 
- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 

Additional Inherited Members

- Public Types inherited from QObject
enum  TimerId
 
- Public Attributes inherited from QObject
typedef QObjectList
 
 Invalid
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
virtual void timerEvent (QTimerEvent *event)
 
QObjectsender () const const
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
int senderSignalIndex () const const
 
- Properties inherited from QObject
 objectName
 

Detailed Description

Proxy object connected to a real FGSwiftBus::CService object via DBus.

Definition at line 37 of file fgswiftbusserviceproxy.h.


The documentation for this class was generated from the following files: