mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Ref T259, Ref T243 prepared sim.env.provider to request elevations
This commit is contained in:
@@ -112,6 +112,12 @@ namespace BlackSimPlugin
|
||||
m_watcher = nullptr;
|
||||
}
|
||||
|
||||
bool CSimulatorXPlane::requestElevation(const Geo::ICoordinateGeodetic &reference) const
|
||||
{
|
||||
//! \todo KB 2018-04 implement a function fetching the probe value (async) and write it back to provider
|
||||
return ISimulator::requestElevation(reference);
|
||||
}
|
||||
|
||||
// convert xplane squawk mode to swift squawk mode
|
||||
CTransponder::TransponderMode xpdrMode(int xplaneMode, bool ident)
|
||||
{
|
||||
|
||||
@@ -104,6 +104,9 @@ namespace BlackSimPlugin
|
||||
virtual void unload() override;
|
||||
//! @}
|
||||
|
||||
//! \copydoc BlackMisc::Simulation::ISimulationEnvironmentProvider::requestElevation
|
||||
virtual bool requestElevation(const BlackMisc::Geo::ICoordinateGeodetic &reference) const override;
|
||||
|
||||
//! Creates an appropriate dbus connection from the string describing it
|
||||
static QDBusConnection connectionFromString(const QString &str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user