mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
refs #268 slots in XBus::CService to detect whether the aircraft is on the ground
This commit is contained in:
@@ -122,6 +122,16 @@ namespace BlackSimPlugin
|
||||
return m_dbusInterface->callDBusRet<double>(QLatin1String("getTrueHeading"));
|
||||
}
|
||||
|
||||
bool CXBusServiceProxy::getAnyWheelOnGround() const
|
||||
{
|
||||
return m_dbusInterface->callDBusRet<bool>(QLatin1String("getAnyWheelOnGround"));
|
||||
}
|
||||
|
||||
bool CXBusServiceProxy::getAllWheelsOnGround() const
|
||||
{
|
||||
return m_dbusInterface->callDBusRet<bool>(QLatin1String("getAllWheelsOnGround"));
|
||||
}
|
||||
|
||||
int CXBusServiceProxy::getCom1Active() const
|
||||
{
|
||||
return m_dbusInterface->callDBusRet<int>(QLatin1String("getCom1Active"));
|
||||
|
||||
@@ -112,6 +112,12 @@ namespace BlackSimPlugin
|
||||
//! \copydoc XBus::CService::getTrueHeading
|
||||
double getTrueHeading() const;
|
||||
|
||||
//! Get whether any wheel is on the ground
|
||||
bool getAnyWheelOnGround() const;
|
||||
|
||||
//! Get whether all wheels are on the ground
|
||||
bool getAllWheelsOnGround() const;
|
||||
|
||||
//! \copydoc XBus::CService::getCom1Active
|
||||
int getCom1Active() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user