swift
Loading...
Searching...
No Matches
swift::simplugin::flightgear::CFGSwiftBusServiceProxy Class Reference

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

#include <fgswiftbusserviceproxy.h>

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< QString > bindableObjectName ()
 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
T qobject_cast (QObject *object)
T 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< QByteArray > dynamicPropertyNames () 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
QObject * parent () const const
QString objectName () const const
QThread * thread () const const
QVariant property (const char *name) const const
T findChild (QAnyStringView name, Qt::FindChildOptions options) const const
T 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 isQmlExposed () const const
bool isQuickItemType () const const
bool isWidgetType () const const
bool isWindowType () const const
bool signalsBlocked () const const
virtual const QMetaObject * metaObject () const const
const QObjectList & children () const const
void dumpObjectInfo () const const
void dumpObjectTree () const const

Static Public Member Functions

static const QString & InterfaceName ()
 Service name.
static const QString & ObjectPath ()
 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)
QObject * sender () 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.

Constructor & Destructor Documentation

◆ CFGSwiftBusServiceProxy()

swift::simplugin::flightgear::CFGSwiftBusServiceProxy::CFGSwiftBusServiceProxy ( QDBusConnection & connection,
QObject * parent = nullptr,
bool dummy = false )

Constructor.

Definition at line 17 of file fgswiftbusserviceproxy.cpp.

Member Function Documentation

◆ addTextMessage

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::addTextMessage ( const QString & text)
slot

Add a text message to the on-screen display.

Definition at line 93 of file fgswiftbusserviceproxy.cpp.

◆ cancelAllPendingAsyncCalls()

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::cancelAllPendingAsyncCalls ( )
inline

Cancel all current async slot calls.

Definition at line 63 of file fgswiftbusserviceproxy.h.

◆ getAircraftDescription

QString swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftDescription ( ) const
slot

Get the description of the current aircraft model.

Definition at line 134 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftDescriptionAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftDescriptionAsync ( QString * o_description)
slot

Get the description of the current aircraft model.

Definition at line 138 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftIcaoCode

QString swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftIcaoCode ( ) const
slot

Get the ICAO code of the current aircraft model.

Definition at line 125 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftIcaoCodeAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftIcaoCodeAsync ( QString * o_icaoCode)
slot

Get the ICAO code of the current aircraft model.

Definition at line 129 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftLivery

QString swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftLivery ( ) const
slot

Get current aircraft livery.

Definition at line 116 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftLiveryAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftLiveryAsync ( QString * o_modelLivery)
slot

Get current aircraft livery.

Definition at line 120 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftModelFilename

QString swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftModelFilename ( ) const
slot

Get base filename of current aircraft model.

Definition at line 107 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftModelFilenameAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftModelFilenameAsync ( QString * o_modelFilename)
slot

Get base filename of current aircraft model.

Definition at line 111 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftModelPath

QString swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftModelPath ( ) const
slot

Get full path to current aircraft model.

Definition at line 98 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftModelPathAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftModelPathAsync ( QString * o_modelPath)
slot

Get full path to current aircraft model.

Definition at line 102 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftModelString

QString swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftModelString ( ) const
slot

Get canonical swift model string of current aircraft model.

Definition at line 143 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftModelStringAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftModelStringAsync ( QString * o_modelString)
slot

Get canonical swift model string of current aircraft model.

Definition at line 147 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftName

QString swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftName ( ) const
slot

Get name of current aircraft model.

Definition at line 152 of file fgswiftbusserviceproxy.cpp.

◆ getAircraftNameAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAircraftNameAsync ( QString * o_name)
slot

Get name of current aircraft model.

Definition at line 156 of file fgswiftbusserviceproxy.cpp.

◆ getAllWheelsOnGround

bool swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAllWheelsOnGround ( ) const
slot

Get whether all wheels are on the ground.

Definition at line 233 of file fgswiftbusserviceproxy.cpp.

◆ getAllWheelsOnGroundAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAllWheelsOnGroundAsync ( bool * o_allWheels)
slot

Get whether all wheels are on the ground.

Definition at line 237 of file fgswiftbusserviceproxy.cpp.

◆ getAltitudeMslFt

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAltitudeMslFt ( ) const
slot

Get aircraft altitude in feet.

Definition at line 188 of file fgswiftbusserviceproxy.cpp.

◆ getAltitudeMslFtAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getAltitudeMslFtAsync ( double * o_altitude)
slot

Get aircraft altitude in feet.

Definition at line 192 of file fgswiftbusserviceproxy.cpp.

◆ getBeaconLightsOn

bool swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getBeaconLightsOn ( ) const
slot

Get whether beacon lights are on.

Definition at line 323 of file fgswiftbusserviceproxy.cpp.

◆ getBeaconLightsOnAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getBeaconLightsOnAsync ( bool * o_beaconLightsOn)
slot

Get whether beacon lights are on.

Definition at line 328 of file fgswiftbusserviceproxy.cpp.

◆ getCom1ActiveKhz

int swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getCom1ActiveKhz ( ) const
slot

Get the current COM1 active frequency in kHz.

Definition at line 242 of file fgswiftbusserviceproxy.cpp.

◆ getCom1ActiveKhzAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getCom1ActiveKhzAsync ( int * o_com1Active)
slot

Get the current COM1 active frequency in kHz.

Definition at line 246 of file fgswiftbusserviceproxy.cpp.

◆ getCom1StandbyKhz

int swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getCom1StandbyKhz ( ) const
slot

Get the current COM1 standby frequency in kHz.

Definition at line 251 of file fgswiftbusserviceproxy.cpp.

◆ getCom1StandbyKhzAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getCom1StandbyKhzAsync ( int * o_com1Standby)
slot

Get the current COM1 standby frequency in kHz.

Definition at line 255 of file fgswiftbusserviceproxy.cpp.

◆ getCom1Volume

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getCom1Volume ( ) const
slot

Get Com1 volume [0..1].

Definition at line 269 of file fgswiftbusserviceproxy.cpp.

◆ getCom1VolumeAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getCom1VolumeAsync ( double * o_com1Volume)
slot

Get Com1 volume [0..1].

Definition at line 273 of file fgswiftbusserviceproxy.cpp.

◆ getCom2ActiveKhz

int swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getCom2ActiveKhz ( ) const
slot

Get the current COM2 active frequency in kHz.

Definition at line 260 of file fgswiftbusserviceproxy.cpp.

◆ getCom2ActiveKhzAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getCom2ActiveKhzAsync ( int * o_com2Active)
slot

Get the current COM2 active frequency in kHz.

Definition at line 264 of file fgswiftbusserviceproxy.cpp.

◆ getCom2StandbyKhz

int swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getCom2StandbyKhz ( ) const
slot

Get the current COM2 standby frequency in kHz.

Definition at line 287 of file fgswiftbusserviceproxy.cpp.

◆ getCom2StandbyKhzAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getCom2StandbyKhzAsync ( int * o_com2Standby)
slot

Get the current COM2 standby frequency in kHz.

Definition at line 291 of file fgswiftbusserviceproxy.cpp.

◆ getCom2Volume

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getCom2Volume ( ) const
slot

Get Com2 volume [0..1].

Definition at line 278 of file fgswiftbusserviceproxy.cpp.

◆ getCom2VolumeAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getCom2VolumeAsync ( double * o_com2Volume)
slot

Get Com2 volume [0..1].

Definition at line 282 of file fgswiftbusserviceproxy.cpp.

◆ getEngineN1Percentage

QList< double > swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getEngineN1Percentage ( ) const
slot

Get the N1 speed as percent of max (per engine).

Definition at line 432 of file fgswiftbusserviceproxy.cpp.

◆ getEngineN1PercentageAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getEngineN1PercentageAsync ( QList< double > * o_engineN1Percentage)
slot

Get the N1 speed as percent of max (per engine).

Definition at line 437 of file fgswiftbusserviceproxy.cpp.

◆ getFlapsDeployRatio

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getFlapsDeployRatio ( ) const
slot

Get flaps deploy ratio, where 0.0 is flaps fully retracted, and 1.0 is flaps fully extended.

Definition at line 412 of file fgswiftbusserviceproxy.cpp.

◆ getFlapsDeployRatioAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getFlapsDeployRatioAsync ( double * o_flapsDeployRatio)
slot

Get flaps deploy ratio, where 0.0 is flaps fully retracted, and 1.0 is flaps fully extended.

Definition at line 417 of file fgswiftbusserviceproxy.cpp.

◆ getGearDeployRatio

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getGearDeployRatio ( ) const
slot

Get gear deploy ratio, where 0 is up and 1 is down.

Definition at line 422 of file fgswiftbusserviceproxy.cpp.

◆ getGearDeployRatioAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getGearDeployRatioAsync ( double * o_gearDeployRatio)
slot

Get gear deploy ratio, where 0 is up and 1 is down.

Definition at line 427 of file fgswiftbusserviceproxy.cpp.

◆ getGroundElevation

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getGroundElevation ( ) const
slot

Get ground elevation [m] for current airplane position.

Definition at line 452 of file fgswiftbusserviceproxy.cpp.

◆ getGroundElevationAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getGroundElevationAsync ( double * o_groundElevation)
slot

Get ground elevation [m] for current airplane position.

Definition at line 457 of file fgswiftbusserviceproxy.cpp.

◆ getGroundSpeedKts

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getGroundSpeedKts ( ) const
slot

Get aircraft groundspeed in knots.

Definition at line 206 of file fgswiftbusserviceproxy.cpp.

◆ getGroundSpeedKtsAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getGroundSpeedKtsAsync ( double * o_groundspeed)
slot

Get aircraft groundspeed in knots.

Definition at line 210 of file fgswiftbusserviceproxy.cpp.

◆ getHeightAglFt

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getHeightAglFt ( ) const
slot

Get aircraft height in feet.

Definition at line 197 of file fgswiftbusserviceproxy.cpp.

◆ getHeightAglFtAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getHeightAglFtAsync ( double * o_height)
slot

Get aircraft height in feet.

Definition at line 201 of file fgswiftbusserviceproxy.cpp.

◆ getLandingLightsOn

bool swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getLandingLightsOn ( ) const
slot

Get whether landing lights are on.

Definition at line 333 of file fgswiftbusserviceproxy.cpp.

◆ getLandingLightsOnAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getLandingLightsOnAsync ( bool * o_landingLightsOn)
slot

Get whether landing lights are on.

Definition at line 338 of file fgswiftbusserviceproxy.cpp.

◆ getLatitudeDeg

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getLatitudeDeg ( ) const
slot

Get aircraft latitude in degrees.

Definition at line 170 of file fgswiftbusserviceproxy.cpp.

◆ getLatitudeDegAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getLatitudeDegAsync ( double * o_latitude)
slot

Get aircraft latitude in degrees.

Definition at line 174 of file fgswiftbusserviceproxy.cpp.

◆ getLongitudeDeg

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getLongitudeDeg ( ) const
slot

Get aircraft longitude in degrees.

Definition at line 179 of file fgswiftbusserviceproxy.cpp.

◆ getLongitudeDegAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getLongitudeDegAsync ( double * o_longitude)
slot

Get aircraft longitude in degrees.

Definition at line 183 of file fgswiftbusserviceproxy.cpp.

◆ getNavLightsOn

bool swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getNavLightsOn ( ) const
slot

Get whether nav lights are on.

Definition at line 343 of file fgswiftbusserviceproxy.cpp.

◆ getNavLightsOnAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getNavLightsOnAsync ( bool * o_navLightsOn)
slot

Get whether nav lights are on.

Definition at line 348 of file fgswiftbusserviceproxy.cpp.

◆ getOwnAircraftSituationData

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getOwnAircraftSituationData ( FlightgearData * o_flightgearData)
slot

Get own aircraft situation data.

Definition at line 37 of file fgswiftbusserviceproxy.cpp.

◆ getOwnAircraftVelocityData

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getOwnAircraftVelocityData ( FlightgearData * o_flightgearData)
slot

Get own aircraft velocity data.

Definition at line 66 of file fgswiftbusserviceproxy.cpp.

◆ getPitchDeg

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getPitchDeg ( ) const
slot

Get aircraft pitch in degrees above horizon.

Definition at line 215 of file fgswiftbusserviceproxy.cpp.

◆ getPitchDegAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getPitchDegAsync ( double * o_pitch)
slot

Get aircraft pitch in degrees above horizon.

Definition at line 219 of file fgswiftbusserviceproxy.cpp.

◆ getPressureAltitudeFt

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getPressureAltitudeFt ( ) const
slot

Get pressure altitude in feet.

Definition at line 373 of file fgswiftbusserviceproxy.cpp.

◆ getPressureAltitudeFtAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getPressureAltitudeFtAsync ( double * o_qnh)
slot

Get pressure altitude in feet.

Definition at line 378 of file fgswiftbusserviceproxy.cpp.

◆ getRollDeg

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getRollDeg ( ) const
slot

Get aircraft roll in degrees.

Definition at line 224 of file fgswiftbusserviceproxy.cpp.

◆ getRollDegAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getRollDegAsync ( double * o_roll)
slot

Get aircraft roll in degrees.

Definition at line 228 of file fgswiftbusserviceproxy.cpp.

◆ getSpeedBrakeRatio

double swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getSpeedBrakeRatio ( ) const
slot

Get the ratio how much the speedbrakes surfaces are extended (0.0 is fully retracted, and 1.0 is fully extended).

Definition at line 442 of file fgswiftbusserviceproxy.cpp.

◆ getSpeedBrakeRatioAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getSpeedBrakeRatioAsync ( double * o_speedBrakeRatio)
slot

Get the ratio how much the speedbrakes surfaces are extended (0.0 is fully retracted, and 1.0 is fully extended).

Definition at line 447 of file fgswiftbusserviceproxy.cpp.

◆ getStrobeLightsOn

bool swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getStrobeLightsOn ( ) const
slot

Get whether strobe lights are on.

Definition at line 353 of file fgswiftbusserviceproxy.cpp.

◆ getStrobeLightsOnAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getStrobeLightsOnAsync ( bool * o_strobeLightsOn)
slot

Get whether strobe lights are on.

Definition at line 358 of file fgswiftbusserviceproxy.cpp.

◆ getTaxiLightsOn

bool swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getTaxiLightsOn ( ) const
slot

Get whether taxi lights are on.

Definition at line 363 of file fgswiftbusserviceproxy.cpp.

◆ getTaxiLightsOnAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getTaxiLightsOnAsync ( bool * o_taxiLightsOn)
slot

Get whether taxi lights are on.

Definition at line 368 of file fgswiftbusserviceproxy.cpp.

◆ getTransponderCode

int swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getTransponderCode ( ) const
slot

Get the current transponder code in decimal.

Definition at line 296 of file fgswiftbusserviceproxy.cpp.

◆ getTransponderCodeAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getTransponderCodeAsync ( int * o_xpdrCode)
slot

Get the current transponder code in decimal.

Definition at line 300 of file fgswiftbusserviceproxy.cpp.

◆ getTransponderIdent

bool swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getTransponderIdent ( ) const
slot

Get whether we are currently squawking ident.

Definition at line 314 of file fgswiftbusserviceproxy.cpp.

◆ getTransponderIdentAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getTransponderIdentAsync ( bool * o_ident)
slot

Get whether we are currently squawking ident.

Definition at line 318 of file fgswiftbusserviceproxy.cpp.

◆ getTransponderMode

int swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getTransponderMode ( ) const
slot

Get the current transponder mode (depends on the aircraft, 0 and 1 usually mean standby, >1 active).

Definition at line 305 of file fgswiftbusserviceproxy.cpp.

◆ getTransponderModeAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getTransponderModeAsync ( int * o_xpdrMode)
slot

Get the current transponder mode (depends on the aircraft, 0 and 1 usually mean standby, >1 active).

Definition at line 309 of file fgswiftbusserviceproxy.cpp.

◆ getVersionNumber

int swift::simplugin::flightgear::CFGSwiftBusServiceProxy::getVersionNumber ( )
slot

Get Flightgear version number.

Definition at line 32 of file fgswiftbusserviceproxy.cpp.

◆ InterfaceName()

const QString & swift::simplugin::flightgear::CFGSwiftBusServiceProxy::InterfaceName ( )
inlinestatic

Service name.

Definition at line 43 of file fgswiftbusserviceproxy.h.

◆ isPaused

bool swift::simplugin::flightgear::CFGSwiftBusServiceProxy::isPaused ( ) const
slot

True if sim is paused.

Definition at line 161 of file fgswiftbusserviceproxy.cpp.

◆ isPausedAsync

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::isPausedAsync ( bool * o_paused)
slot

True if sim is paused.

Definition at line 165 of file fgswiftbusserviceproxy.cpp.

◆ isValid()

bool swift::simplugin::flightgear::CFGSwiftBusServiceProxy::isValid ( ) const
inline

Does the remote object exist?

Definition at line 60 of file fgswiftbusserviceproxy.h.

◆ ObjectPath()

const QString & swift::simplugin::flightgear::CFGSwiftBusServiceProxy::ObjectPath ( )
inlinestatic

Service path.

Definition at line 50 of file fgswiftbusserviceproxy.h.

◆ setCom1ActiveKhz

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::setCom1ActiveKhz ( int freq)
slot

Set the current COM1 active frequency in kHz.

Definition at line 383 of file fgswiftbusserviceproxy.cpp.

◆ setCom1StandbyKhz

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::setCom1StandbyKhz ( int freq)
slot

Set the current COM1 standby frequency in kHz.

Definition at line 388 of file fgswiftbusserviceproxy.cpp.

◆ setCom2ActiveKhz

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::setCom2ActiveKhz ( int freq)
slot

Set the current COM2 active frequency in kHz.

Definition at line 393 of file fgswiftbusserviceproxy.cpp.

◆ setCom2StandbyKhz

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::setCom2StandbyKhz ( int freq)
slot

Set the current COM2 standby frequency in kHz.

Definition at line 398 of file fgswiftbusserviceproxy.cpp.

◆ setTransponderCode

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::setTransponderCode ( int code)
slot

Set the current transponder code in decimal.

Definition at line 403 of file fgswiftbusserviceproxy.cpp.

◆ setTransponderMode

void swift::simplugin::flightgear::CFGSwiftBusServiceProxy::setTransponderMode ( int mode)
slot

Set the current transponder mode (depends on the aircraft, 0 and 1 usually mean standby, >1 active).

Definition at line 408 of file fgswiftbusserviceproxy.cpp.


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