mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Ref T422, context/provider functions for COM, XPDR values
This commit is contained in:
@@ -20,7 +20,19 @@ namespace BlackMisc
|
||||
CSimulatedAircraft COwnAircraftProviderDummy::getOwnAircraft() const
|
||||
{
|
||||
QReadLocker l(&m_lock);
|
||||
return this->m_ownAircraft;
|
||||
return m_ownAircraft;
|
||||
}
|
||||
|
||||
CComSystem COwnAircraftProviderDummy::getOwnComSystem(CComSystem::ComUnit unit) const
|
||||
{
|
||||
QReadLocker l(&m_lock);
|
||||
return m_ownAircraft.getComSystem(unit);
|
||||
}
|
||||
|
||||
CTransponder COwnAircraftProviderDummy::getOwnTransponder() const
|
||||
{
|
||||
QReadLocker l(&m_lock);
|
||||
return m_ownAircraft.getTransponder();
|
||||
}
|
||||
|
||||
Geo::CCoordinateGeodetic COwnAircraftProviderDummy::getOwnAircraftPosition() const
|
||||
|
||||
Reference in New Issue
Block a user