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.
 

Static Public Member Functions

static const QString & InterfaceName ()
 Service name.
 
static const QString & ObjectPath ()
 Service path.
 

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: