mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
committed by
Lars Toenning
parent
5e5b3f830d
commit
7691e42a5b
@@ -82,12 +82,10 @@ namespace BlackSimPlugin::Emulated
|
||||
|
||||
// functions logged and used
|
||||
//! \addtogroup swiftdotcommands
|
||||
//! @{
|
||||
//! <pre>
|
||||
//! .drv show show emulated driver window BlackSimPlugin::Swift::CSimulatorEmulated
|
||||
//! .drv hide hide emulated driver window BlackSimPlugin::Swift::CSimulatorEmulated
|
||||
//! </pre>
|
||||
//! @}
|
||||
//! \copydoc BlackCore::ISimulator::parseCommandLine
|
||||
virtual bool parseCommandLine(const QString &commandLine, const BlackMisc::CIdentifier &originator) override;
|
||||
|
||||
|
||||
@@ -126,188 +126,188 @@ namespace BlackSimPlugin::Flightgear
|
||||
//! Add a text message to the on-screen display
|
||||
void addTextMessage(const QString &text);
|
||||
|
||||
//! Get full path to current aircraft model
|
||||
//! @{
|
||||
//! Get full path to current aircraft model
|
||||
QString getAircraftModelPath() const;
|
||||
void getAircraftModelPathAsync(QString *o_modelPath);
|
||||
//! @}
|
||||
|
||||
//! Get base filename of current aircraft model
|
||||
//! @{
|
||||
//! Get base filename of current aircraft model
|
||||
QString getAircraftModelFilename() const;
|
||||
void getAircraftModelFilenameAsync(QString *o_modelFilename);
|
||||
//! @}
|
||||
|
||||
//! Get current aircraft livery
|
||||
//! @{
|
||||
//! Get current aircraft livery
|
||||
QString getAircraftLivery() const;
|
||||
void getAircraftLiveryAsync(QString *o_modelLivery);
|
||||
//! @}
|
||||
|
||||
//! Get the ICAO code of the current aircraft model
|
||||
//! @{
|
||||
//! Get the ICAO code of the current aircraft model
|
||||
QString getAircraftIcaoCode() const;
|
||||
void getAircraftIcaoCodeAsync(QString *o_icaoCode);
|
||||
//! @}
|
||||
|
||||
//! Get the description of the current aircraft model
|
||||
//! @{
|
||||
//! Get the description of the current aircraft model
|
||||
QString getAircraftDescription() const;
|
||||
void getAircraftDescriptionAsync(QString *o_description);
|
||||
//! @}
|
||||
|
||||
//! Get canonical swift model string of current aircraft model
|
||||
//! @{
|
||||
//! Get canonical swift model string of current aircraft model
|
||||
QString getAircraftModelString() const;
|
||||
void getAircraftModelStringAsync(QString *o_modelString);
|
||||
//! @}
|
||||
|
||||
//! Get name of current aircraft model
|
||||
//! @{
|
||||
//! Get name of current aircraft model
|
||||
QString getAircraftName() const;
|
||||
void getAircraftNameAsync(QString *o_name);
|
||||
//! @}
|
||||
|
||||
//! True if sim is paused
|
||||
//! @{
|
||||
//! True if sim is paused
|
||||
bool isPaused() const;
|
||||
void isPausedAsync(bool *o_paused);
|
||||
//! @}
|
||||
|
||||
//! Get aircraft latitude in degrees
|
||||
//! @{
|
||||
//! Get aircraft latitude in degrees
|
||||
double getLatitudeDeg() const;
|
||||
void getLatitudeDegAsync(double *o_latitude);
|
||||
//! @}
|
||||
|
||||
//! Get aircraft longitude in degrees
|
||||
//! @{
|
||||
//! Get aircraft longitude in degrees
|
||||
double getLongitudeDeg() const;
|
||||
void getLongitudeDegAsync(double *o_longitude);
|
||||
//! @}
|
||||
|
||||
//! Get aircraft altitude in feet
|
||||
//! @{
|
||||
//! Get aircraft altitude in feet
|
||||
double getAltitudeMslFt() const;
|
||||
void getAltitudeMslFtAsync(double *o_altitude);
|
||||
//! @}
|
||||
|
||||
//! Get aircraft height in feet
|
||||
//! @{
|
||||
//! Get aircraft height in feet
|
||||
double getHeightAglFt() const;
|
||||
void getHeightAglFtAsync(double *o_height);
|
||||
//! @}
|
||||
|
||||
//! Get aircraft groundspeed in knots
|
||||
//! @{
|
||||
//! Get aircraft groundspeed in knots
|
||||
double getGroundSpeedKts() const;
|
||||
void getGroundSpeedKtsAsync(double *o_groundspeed);
|
||||
//! @}
|
||||
|
||||
//! Get aircraft pitch in degrees above horizon
|
||||
//! @{
|
||||
//! Get aircraft pitch in degrees above horizon
|
||||
double getPitchDeg() const;
|
||||
void getPitchDegAsync(double *o_pitch);
|
||||
//! @}
|
||||
|
||||
//! Get aircraft roll in degrees
|
||||
//! @{
|
||||
//! Get aircraft roll in degrees
|
||||
double getRollDeg() const;
|
||||
void getRollDegAsync(double *o_roll);
|
||||
//! @}
|
||||
|
||||
//! Get whether all wheels are on the ground
|
||||
//! @{
|
||||
//! Get whether all wheels are on the ground
|
||||
bool getAllWheelsOnGround() const;
|
||||
void getAllWheelsOnGroundAsync(bool *o_allWheels);
|
||||
//! @}
|
||||
|
||||
//! Get the current COM1 active frequency in kHz
|
||||
//! @{
|
||||
//! Get the current COM1 active frequency in kHz
|
||||
int getCom1ActiveKhz() const;
|
||||
void getCom1ActiveKhzAsync(int *o_com1Active);
|
||||
//! @}
|
||||
|
||||
//! Get the current COM1 standby frequency in kHz
|
||||
//! @{
|
||||
//! Get the current COM1 standby frequency in kHz
|
||||
int getCom1StandbyKhz() const;
|
||||
void getCom1StandbyKhzAsync(int *o_com1Standby);
|
||||
//! @}
|
||||
|
||||
//! Get Com1 volume [0..1]
|
||||
//! @{
|
||||
//! Get Com1 volume [0..1]
|
||||
double getCom1Volume() const;
|
||||
void getCom1VolumeAsync(double *o_com1Volume);
|
||||
//! @}
|
||||
|
||||
//! Get Com2 volume [0..1]
|
||||
//! @{
|
||||
//! Get Com2 volume [0..1]
|
||||
double getCom2Volume() const;
|
||||
void getCom2VolumeAsync(double *o_com2Volume);
|
||||
//! @}
|
||||
|
||||
//! Get the current COM2 active frequency in kHz
|
||||
//! @{
|
||||
//! Get the current COM2 active frequency in kHz
|
||||
int getCom2ActiveKhz() const;
|
||||
void getCom2ActiveKhzAsync(int *o_com2Active);
|
||||
//! @}
|
||||
|
||||
//! Get the current COM2 standby frequency in kHz
|
||||
//! @{
|
||||
//! Get the current COM2 standby frequency in kHz
|
||||
int getCom2StandbyKhz() const;
|
||||
void getCom2StandbyKhzAsync(int *o_com2Standby);
|
||||
//! @}
|
||||
|
||||
//! Get the current transponder code in decimal
|
||||
//! @{
|
||||
//! Get the current transponder code in decimal
|
||||
int getTransponderCode() const;
|
||||
void getTransponderCodeAsync(int *o_xpdrCode);
|
||||
//! @}
|
||||
|
||||
//! Get the current transponder mode (depends on the aircraft, 0 and 1 usually mean standby, >1 active)
|
||||
//! @{
|
||||
//! Get the current transponder mode (depends on the aircraft, 0 and 1 usually mean standby, >1 active)
|
||||
int getTransponderMode() const;
|
||||
void getTransponderModeAsync(int *o_xpdrMode);
|
||||
//! @}
|
||||
|
||||
//! Get whether we are currently squawking ident
|
||||
//! @{
|
||||
//! Get whether we are currently squawking ident
|
||||
bool getTransponderIdent() const;
|
||||
void getTransponderIdentAsync(bool *o_ident);
|
||||
//! @}
|
||||
|
||||
//! Get whether beacon lights are on
|
||||
//! @{
|
||||
//! Get whether beacon lights are on
|
||||
bool getBeaconLightsOn() const;
|
||||
void getBeaconLightsOnAsync(bool *o_beaconLightsOn);
|
||||
//! @}
|
||||
|
||||
//! Get whether landing lights are on
|
||||
//! @{
|
||||
//! Get whether landing lights are on
|
||||
bool getLandingLightsOn() const;
|
||||
void getLandingLightsOnAsync(bool *o_landingLightsOn);
|
||||
//! @}
|
||||
|
||||
//! Get whether nav lights are on
|
||||
//! @{
|
||||
//! Get whether nav lights are on
|
||||
bool getNavLightsOn() const;
|
||||
void getNavLightsOnAsync(bool *o_navLightsOn);
|
||||
//! @}
|
||||
|
||||
//! Get whether strobe lights are on
|
||||
//! @{
|
||||
//! Get whether strobe lights are on
|
||||
bool getStrobeLightsOn() const;
|
||||
void getStrobeLightsOnAsync(bool *o_strobeLightsOn);
|
||||
//! @}
|
||||
|
||||
//! Get whether taxi lights are on
|
||||
//! @{
|
||||
//! Get whether taxi lights are on
|
||||
bool getTaxiLightsOn() const;
|
||||
void getTaxiLightsOnAsync(bool *o_taxiLightsOn);
|
||||
//! @}
|
||||
|
||||
//! Get pressure altitude in feet.
|
||||
//! @{
|
||||
//! Get pressure altitude in feet.
|
||||
double getPressureAltitudeFt() const;
|
||||
void getPressureAltitudeFtAsync(double *o_qnh);
|
||||
//! @}
|
||||
@@ -330,32 +330,32 @@ namespace BlackSimPlugin::Flightgear
|
||||
//! Set the current transponder mode (depends on the aircraft, 0 and 1 usually mean standby, >1 active)
|
||||
void setTransponderMode(int mode);
|
||||
|
||||
//! Get flaps deploy ratio, where 0.0 is flaps fully retracted, and 1.0 is flaps fully extended.
|
||||
//! @{
|
||||
//! Get flaps deploy ratio, where 0.0 is flaps fully retracted, and 1.0 is flaps fully extended.
|
||||
double getFlapsDeployRatio() const;
|
||||
void getFlapsDeployRatioAsync(double *o_flapsDeployRatio);
|
||||
//! @}
|
||||
|
||||
//! Get gear deploy ratio, where 0 is up and 1 is down
|
||||
//! @{
|
||||
//! Get gear deploy ratio, where 0 is up and 1 is down
|
||||
double getGearDeployRatio() const;
|
||||
void getGearDeployRatioAsync(double *o_gearDeployRatio);
|
||||
//! @}
|
||||
|
||||
//! Get the N1 speed as percent of max (per engine)
|
||||
//! @{
|
||||
//! Get the N1 speed as percent of max (per engine)
|
||||
QList<double> getEngineN1Percentage() const;
|
||||
void getEngineN1PercentageAsync(QList<double> *o_engineN1Percentage);
|
||||
//! @}
|
||||
|
||||
//! Get the ratio how much the speedbrakes surfaces are extended (0.0 is fully retracted, and 1.0 is fully extended)
|
||||
//! @{
|
||||
//! Get the ratio how much the speedbrakes surfaces are extended (0.0 is fully retracted, and 1.0 is fully extended)
|
||||
double getSpeedBrakeRatio() const;
|
||||
void getSpeedBrakeRatioAsync(double *o_speedBrakeRatio);
|
||||
//! @}
|
||||
|
||||
//! Get ground elevation [m] for current airplane position
|
||||
//! @{
|
||||
//! Get ground elevation [m] for current airplane position
|
||||
double getGroundElevation() const;
|
||||
void getGroundElevationAsync(double *o_groundElevation);
|
||||
//! @}
|
||||
|
||||
@@ -185,15 +185,15 @@ namespace BlackSimPlugin::Flightgear
|
||||
//! \remark this is where the interpolated data are set
|
||||
void updateRemoteAircraft();
|
||||
|
||||
//! Request elevation and CG from Flightgear
|
||||
//! @{
|
||||
//! Request elevation and CG from Flightgear
|
||||
void requestRemoteAircraftDataFromFlightgear();
|
||||
void requestRemoteAircraftDataFromFlightgear(const BlackMisc::Aviation::CCallsignSet &callsigns);
|
||||
void triggerRequestRemoteAircraftDataFromFlightgear(const BlackMisc::Aviation::CCallsignSet &callsigns);
|
||||
//! @}
|
||||
|
||||
//! Adding new aircraft
|
||||
//! @{
|
||||
//! Adding new aircraft
|
||||
void addNextPendingAircraft();
|
||||
void triggerAddNextPendingAircraft();
|
||||
//! @}
|
||||
@@ -210,8 +210,8 @@ namespace BlackSimPlugin::Flightgear
|
||||
//! Can the next aircraft be added?
|
||||
bool canAddAircraft() const;
|
||||
|
||||
//! Callbacks from simulator
|
||||
//! @{
|
||||
//! Callbacks from simulator
|
||||
void onRemoteAircraftAdded(const QString &callsign);
|
||||
void onRemoteAircraftAddingFailed(const QString &callsign);
|
||||
void updateRemoteAircraftFromSimulator(const QStringList &callsigns, const QDoubleList &latitudesDeg, const QDoubleList &longitudesDeg,
|
||||
|
||||
@@ -60,17 +60,13 @@ namespace BlackSimPlugin::FsCommon
|
||||
//! Init the internal objects
|
||||
virtual void initSimulatorInternals() override;
|
||||
|
||||
//! \name When swift DB data are read
|
||||
//! @{
|
||||
//! When swift DB data are read
|
||||
virtual void onSwiftDbAirportsRead() override;
|
||||
//! @}
|
||||
|
||||
//! \addtogroup swiftdotcommands
|
||||
//! @{
|
||||
//! <pre>
|
||||
//! .drv fsuipc on|off FSUIPC on/off
|
||||
//! </pre>
|
||||
//! @}
|
||||
virtual bool parseDetails(const BlackMisc::CSimpleCommandParser &parser) override;
|
||||
|
||||
//! \copydoc BlackCore::ISimulator::reset
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
namespace BlackSimPlugin::FsCommon
|
||||
{
|
||||
//! Correctly casted values/checks
|
||||
//! @{
|
||||
//! Correctly casted values/checks
|
||||
HRESULT inline s_ok() { return S_OK; }
|
||||
HRESULT inline s_false() { return S_FALSE; }
|
||||
static bool inline isOk(HRESULT result) { return result == s_ok(); }
|
||||
|
||||
@@ -107,8 +107,8 @@ namespace BlackSimPlugin::FsxCommon
|
||||
char atcAirline[64]; //!< Airline used by ATC
|
||||
char atcFlightNumber[8]; //!< Flight Number used by ATC
|
||||
|
||||
//! Copy the strings, length from docu
|
||||
//! @{
|
||||
//! Copy the strings, length from docu
|
||||
void copyAtcId(const char *c) { strncpy_s(atcId, c, 10); atcId[9] = 0; }
|
||||
void copyAtcAirline(const char *c) { strncpy_s(atcAirline, c, 50); atcAirline[49] = 0; }
|
||||
void copyFlightNumber(const char *c) { strncpy_s(atcFlightNumber, c, 6); atcFlightNumber[5] = 0; }
|
||||
|
||||
@@ -155,8 +155,8 @@ namespace BlackSimPlugin::FsxCommon
|
||||
//! Marked as confirmed, means the simulator has "confirmed" the objectId as added and not instantly removed the object
|
||||
void setConfirmedAdded(bool confirm);
|
||||
|
||||
//! Special states
|
||||
//! @{
|
||||
//! Special states
|
||||
bool isAddedWhileRemoving() { return m_addedWhileRemoving; }
|
||||
void setAddedWhileRemoving(bool addedWileRemoved);
|
||||
bool isRemovedWhileAdding() const { return m_removedWhileAdding; }
|
||||
|
||||
@@ -71,7 +71,6 @@ typedef HRESULT(__stdcall *PfnSimConnect_SetObserverLookAt)(HANDLE, const char *
|
||||
|
||||
//! The SimConnect Symbols
|
||||
//! \private
|
||||
//! @{
|
||||
struct SimConnectSymbols
|
||||
{
|
||||
PfnSimConnect_Open SimConnect_Open = nullptr;
|
||||
@@ -114,7 +113,6 @@ struct SimConnectSymbols
|
||||
PfnSimConnect_CloseView SimConnect_CloseView = nullptr;
|
||||
#endif
|
||||
};
|
||||
//! @}
|
||||
|
||||
static SimConnectSymbols gSymbols;
|
||||
|
||||
|
||||
@@ -245,11 +245,9 @@ namespace BlackSimPlugin::FsxCommon
|
||||
virtual HRESULT initEventsP3D();
|
||||
|
||||
//! \addtogroup swiftdotcommands
|
||||
//! @{
|
||||
//! <pre>
|
||||
//! .drv sendid on|off tracing simConnect sendId on/off
|
||||
//! </pre>
|
||||
//! @}
|
||||
virtual bool parseDetails(const BlackMisc::CSimpleCommandParser &parser) override;
|
||||
|
||||
//! Trigger tracing ids for some while
|
||||
@@ -299,8 +297,8 @@ namespace BlackSimPlugin::FsxCommon
|
||||
//! Register help
|
||||
static void registerHelp();
|
||||
|
||||
//! Word size
|
||||
//! @{
|
||||
//! Word size
|
||||
static bool is32bit() { return (BlackConfig::CBuildConfig::buildWordSize() == 32); }
|
||||
static bool is64bit() { return (BlackConfig::CBuildConfig::buildWordSize() == 64); }
|
||||
//! @}
|
||||
@@ -646,8 +644,8 @@ namespace BlackSimPlugin::FsxCommon
|
||||
static QString requestIdToString(DWORD requestId);
|
||||
|
||||
public:
|
||||
//! Offsets
|
||||
//! @{
|
||||
//! Offsets
|
||||
static DWORD offsetSimObjAircraft(CSimConnectDefinitions::SimObjectRequest req) { return MaxSimObjAircraft * static_cast<DWORD>(req); }
|
||||
static DWORD offsetSimObjTerrainProbe(CSimConnectDefinitions::SimObjectRequest req) { return MaxSimObjProbes * static_cast<DWORD>(req); }
|
||||
//! @}
|
||||
|
||||
@@ -45,11 +45,9 @@ namespace BlackSimPlugin::Common
|
||||
QObject *parent = nullptr);
|
||||
|
||||
//! \addtogroup swiftdotcommands
|
||||
//! @{
|
||||
//! <pre>
|
||||
//! .drv intdisplay interpolation log display
|
||||
//! </pre>
|
||||
//! @}
|
||||
virtual bool parseDetails(const BlackMisc::CSimpleCommandParser &parser) override;
|
||||
|
||||
//! Register help
|
||||
|
||||
@@ -205,15 +205,15 @@ namespace BlackSimPlugin::XPlane
|
||||
//! Update airports
|
||||
void updateAirportsInRange();
|
||||
|
||||
//! Request elevation and CG from XPlane
|
||||
//! @{
|
||||
//! Request elevation and CG from XPlane
|
||||
void requestRemoteAircraftDataFromXPlane();
|
||||
void requestRemoteAircraftDataFromXPlane(const BlackMisc::Aviation::CCallsignSet &callsigns);
|
||||
void triggerRequestRemoteAircraftDataFromXPlane(const BlackMisc::Aviation::CCallsignSet &callsigns);
|
||||
//! @}
|
||||
|
||||
//! Adding new aircraft
|
||||
//! @{
|
||||
//! Adding new aircraft
|
||||
void addNextPendingAircraft();
|
||||
void triggerAddNextPendingAircraft();
|
||||
//! @}
|
||||
@@ -230,8 +230,8 @@ namespace BlackSimPlugin::XPlane
|
||||
//! Can the next aircraft be added? No other aircraft adding in progress?
|
||||
bool canAddAircraft() const;
|
||||
|
||||
//! Callbacks from simulator
|
||||
//! @{
|
||||
//! Callbacks from simulator
|
||||
void onRemoteAircraftAdded(const QString &callsign);
|
||||
void onRemoteAircraftAddingFailed(const QString &callsign);
|
||||
void updateRemoteAircraftFromSimulator(const QStringList &callsigns, const QDoubleList &latitudesDeg, const QDoubleList &longitudesDeg,
|
||||
@@ -241,8 +241,8 @@ namespace BlackSimPlugin::XPlane
|
||||
//! Disconnect from DBus
|
||||
void disconnectFromDBus();
|
||||
|
||||
//! Send/receive settings
|
||||
//! @{
|
||||
//! Send/receive settings
|
||||
bool sendXSwiftBusSettings();
|
||||
BlackMisc::Simulation::Settings::CXSwiftBusSettings receiveXSwiftBusSettings(bool &ok);
|
||||
//! @}
|
||||
|
||||
@@ -134,86 +134,86 @@ namespace BlackSimPlugin::XPlane
|
||||
//! \copydoc XSwiftBus::CService::updateAirportsInRange
|
||||
void updateAirportsInRange();
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getAircraftModelPath
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getAircraftModelPath
|
||||
QString getAircraftModelPath() const;
|
||||
void getAircraftModelPathAsync(QString *o_modelPath);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getAircraftModelFilename
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getAircraftModelFilename
|
||||
QString getAircraftModelFilename() const;
|
||||
void getAircraftModelFilenameAsync(QString *o_modelFilename);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getAircraftLivery
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getAircraftLivery
|
||||
QString getAircraftLivery() const;
|
||||
void getAircraftLiveryAsync(QString *o_modelLivery);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getAircraftIcaoCode
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getAircraftIcaoCode
|
||||
QString getAircraftIcaoCode() const;
|
||||
void getAircraftIcaoCodeAsync(QString *o_icaoCode);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getAircraftDescription
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getAircraftDescription
|
||||
QString getAircraftDescription() const;
|
||||
void getAircraftDescriptionAsync(QString *o_description);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getAircraftModelString
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getAircraftModelString
|
||||
QString getAircraftModelString() const;
|
||||
void getAircraftModelStringAsync(QString *o_modelString);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getAircraftName
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getAircraftName
|
||||
QString getAircraftName() const;
|
||||
void getAircraftNameAsync(QString *o_name);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getXPlaneVersionMajor
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getXPlaneVersionMajor
|
||||
int getXPlaneVersionMajor() const;
|
||||
void getXPlaneVersionMajorAsync(int *o_versionMajor);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getXPlaneVersionMinor
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getXPlaneVersionMinor
|
||||
int getXPlaneVersionMinor() const;
|
||||
void getXPlaneVersionMinorAsync(int *o_versionMinor);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getXPlaneInstallationPath
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getXPlaneInstallationPath
|
||||
QString getXPlaneInstallationPath() const;
|
||||
void getXPlaneInstallationPathAsync(QString *o_installPath);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getXPlanePreferencesPath
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getXPlanePreferencesPath
|
||||
QString getXPlanePreferencesPath() const;
|
||||
void getXPlanePreferencesPathAsync(QString *o_prefsPath);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::isPaused
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::isPaused
|
||||
bool isPaused() const;
|
||||
void isPausedAsync(bool *o_paused);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::isUsingRealTime
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::isUsingRealTime
|
||||
bool isUsingRealTime() const;
|
||||
void isUsingRealTimeAsync(bool *o_isRealTime);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getFrameStats
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getFrameStats
|
||||
void getFrameStats(double *o_averageFps, double *o_simTimeRatio, double *o_trackMilesShort, double *o_minutesLate) const;
|
||||
void getFrameStatsAsync(double *o_averageFps, double *o_simTimeRatio, double *o_trackMilesShort, double *o_minutesLate);
|
||||
//! @}
|
||||
@@ -221,236 +221,236 @@ namespace BlackSimPlugin::XPlane
|
||||
//! \copydoc XSwiftBus::CService::resetFrameTotals
|
||||
void resetFrameTotals();
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getLatitudeDeg
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getLatitudeDeg
|
||||
double getLatitudeDeg() const;
|
||||
void getLatitudeDegAsync(double *o_latitude);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getLongitudeDeg
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getLongitudeDeg
|
||||
double getLongitudeDeg() const;
|
||||
void getLongitudeDegAsync(double *o_longitude);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getAltitudeMslM
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getAltitudeMslM
|
||||
double getAltitudeMslM() const;
|
||||
void getAltitudeMslMAsync(double *o_altitude);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getPressureAltitudeFt
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getPressureAltitudeFt
|
||||
double getPressureAltitudeFt() const;
|
||||
void getPressureAltitudeFtAsync(double *o_altitude);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getHeightAglM
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getHeightAglM
|
||||
double getHeightAglM() const;
|
||||
void getHeightAglMAsync(double *o_height);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getGroundSpeedMps
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getGroundSpeedMps
|
||||
double getGroundSpeedMps() const;
|
||||
void getGroundSpeedMpsAsync(double *o_groundspeed);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getIndicatedAirspeedKias
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getIndicatedAirspeedKias
|
||||
double getIndicatedAirspeedKias() const;
|
||||
void getIndicatedAirspeedKiasAsync(double *o_ias);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getTrueAirspeedKias
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getTrueAirspeedKias
|
||||
double getTrueAirspeedKias() const;
|
||||
void getTrueAirspeedKiasAsync(double *o_tas);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getPitchDeg
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getPitchDeg
|
||||
double getPitchDeg() const;
|
||||
void getPitchDegAsync(double *o_pitch);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getRollDeg
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getRollDeg
|
||||
double getRollDeg() const;
|
||||
void getRollDegAsync(double *o_roll);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getTrueHeadingDeg
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getTrueHeadingDeg
|
||||
double getTrueHeadingDeg() const;
|
||||
void getTrueHeadingDegAsync(double *o_heading);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getLocalXVelocityMps
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getLocalXVelocityMps
|
||||
double getLocalXVelocityMps() const;
|
||||
void getLocalXVelocityMpsAsync(double *o_velocity);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getLocalYVelocityMps
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getLocalYVelocityMps
|
||||
double getLocalYVelocityMps() const;
|
||||
void getLocalYVelocityMpsAsync(double *o_velocity);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getLocalZVelocityMps
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getLocalZVelocityMps
|
||||
double getLocalZVelocityMps() const;
|
||||
void getLocalZVelocityMpsAsync(double *o_velocity);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getPitchRadPerSec
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getPitchRadPerSec
|
||||
double getPitchRadPerSec() const;
|
||||
void getPitchRadPerSecAsync(double *o_radPerSec);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getRollRadPerSec
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getRollRadPerSec
|
||||
double getRollRadPerSec() const;
|
||||
void getRollRadPerSecAsync(double *o_radPerSec);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getHeadingRadPerSec
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getHeadingRadPerSec
|
||||
double getHeadingRadPerSec() const;
|
||||
void getHeadingRadPerSecAsync(double *o_radPerSec);
|
||||
//! @}
|
||||
|
||||
//! Get whether any wheel is on the ground
|
||||
//! @{
|
||||
//! Get whether any wheel is on the ground
|
||||
bool getAnyWheelOnGround() const;
|
||||
void getAnyWheelOnGroundAsync(bool *o_anyWheel);
|
||||
//! @}
|
||||
|
||||
//! Get whether all wheels are on the ground
|
||||
//! @{
|
||||
//! Get whether all wheels are on the ground
|
||||
bool getAllWheelsOnGround() const;
|
||||
void getAllWheelsOnGroundAsync(bool *o_allWheels);
|
||||
//! @}
|
||||
|
||||
//! Get elevation of ground under the plane (in meters)
|
||||
//! @{
|
||||
//! Get elevation of ground under the plane (in meters)
|
||||
double getGroundElevation() const;
|
||||
void getGroundElevationAsync(double *o_elevationM);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getCom1ActiveKhz
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getCom1ActiveKhz
|
||||
int getCom1ActiveKhz() const;
|
||||
void getCom1ActiveKhzAsync(int *o_com1Active);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getCom1StandbyKhz
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getCom1StandbyKhz
|
||||
int getCom1StandbyKhz() const;
|
||||
void getCom1StandbyKhzAsync(int *o_com1Standby);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::isCom1Receiving
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::isCom1Receiving
|
||||
bool isCom1Receiving() const;
|
||||
void isCom1ReceivingAsync(bool *o_com1Rec);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::isCom1Transmitting
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::isCom1Transmitting
|
||||
bool isCom1Transmitting() const;
|
||||
void isCom1TransmittingAsync(bool *o_com1Tx);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getCom1Volume
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getCom1Volume
|
||||
double getCom1Volume() const;
|
||||
void getCom1VolumeAsync(double *o_com1Volume);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getCom2ActiveKhz
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getCom2ActiveKhz
|
||||
int getCom2ActiveKhz() const;
|
||||
void getCom2ActiveKhzAsync(int *o_com2Active);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getCom2StandbyKhz
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getCom2StandbyKhz
|
||||
int getCom2StandbyKhz() const;
|
||||
void getCom2StandbyKhzAsync(int *o_com2Standby);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::isCom2Receiving
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::isCom2Receiving
|
||||
bool isCom2Receiving() const;
|
||||
void isCom2ReceivingAsync(bool *o_com2Rec);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::isCom2Transmitting
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::isCom2Transmitting
|
||||
bool isCom2Transmitting() const;
|
||||
void isCom2TransmittingAsync(bool *o_com2Tx);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getCom2Volume
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getCom2Volume
|
||||
double getCom2Volume() const;
|
||||
void getCom2VolumeAsync(double *o_com2Volume);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getTransponderCode
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getTransponderCode
|
||||
int getTransponderCode() const;
|
||||
void getTransponderCodeAsync(int *o_xpdrCode);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getTransponderMode
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getTransponderMode
|
||||
int getTransponderMode() const;
|
||||
void getTransponderModeAsync(int *o_xpdrMode);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getTransponderIdent
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getTransponderIdent
|
||||
bool getTransponderIdent() const;
|
||||
void getTransponderIdentAsync(bool *o_ident);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getLandingLightsOn
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getLandingLightsOn
|
||||
bool getBeaconLightsOn() const;
|
||||
void getBeaconLightsOnAsync(bool *o_beaconLightsOn);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getLandingLightsOn
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getLandingLightsOn
|
||||
bool getLandingLightsOn() const;
|
||||
void getLandingLightsOnAsync(bool *o_landingLightsOn);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getNavLightsOn
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getNavLightsOn
|
||||
bool getNavLightsOn() const;
|
||||
void getNavLightsOnAsync(bool *o_navLightsOn);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getStrobeLightsOn
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getStrobeLightsOn
|
||||
bool getStrobeLightsOn() const;
|
||||
void getStrobeLightsOnAsync(bool *o_strobeLightsOn);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getTaxiLightsOn
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getTaxiLightsOn
|
||||
bool getTaxiLightsOn() const;
|
||||
void getTaxiLightsOnAsync(bool *o_taxiLightsOn);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getQNHInHg
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getQNHInHg
|
||||
double getQNHInHg() const;
|
||||
void getQNHInHgAsync(double *o_qnh);
|
||||
//! @}
|
||||
@@ -473,40 +473,38 @@ namespace BlackSimPlugin::XPlane
|
||||
//! \copydoc XSwiftBus::CService::setTransponderMode
|
||||
void setTransponderMode(int mode);
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getFlapsDeployRatio
|
||||
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getFlapsDeployRatio
|
||||
double getFlapsDeployRatio() const;
|
||||
void getFlapsDeployRatioAsync(double *o_flapsDeployRatio);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getGearDeployRatio
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getGearDeployRatio
|
||||
double getGearDeployRatio() const;
|
||||
void getGearDeployRatioAsync(double *o_gearDeployRatio);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getNumberOfEngines
|
||||
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getNumberOfEngines
|
||||
int getNumberOfEngines() const;
|
||||
void getNumberOfEnginesAsync(double *o_numberOfEngines);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getEngineN1Percentage
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getEngineN1Percentage
|
||||
QList<double> getEngineN1Percentage() const;
|
||||
void getEngineN1PercentageAsync(QList<double> *o_engineN1Percentage);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CService::getSpeedBrakeRatio
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CService::getSpeedBrakeRatio
|
||||
double getSpeedBrakeRatio() const;
|
||||
void getSpeedBrakeRatioAsync(double *o_speedBrakeRatio);
|
||||
//! @}
|
||||
|
||||
//! \copydoc XSwiftBus::CSettingsProvider::getSettings
|
||||
//! @{
|
||||
//! \copydoc XSwiftBus::CSettingsProvider::getSettings
|
||||
QString getSettingsJson() const;
|
||||
void getSettingsJsonAsync(QString *o_jsonSettings);
|
||||
//! @}
|
||||
|
||||
Reference in New Issue
Block a user