mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 05:45:35 +08:00
Ref T26, Ref T27, added utility function in remote aircraft provider
This commit is contained in:
@@ -68,6 +68,11 @@ namespace BlackMisc
|
||||
//! \threadsafe
|
||||
virtual BlackMisc::Aviation::CCallsignSet getAircraftInRangeCallsigns() const = 0;
|
||||
|
||||
//! Is aircraft in range?
|
||||
//! \remark convenience function with default implementation
|
||||
//! \threadsafe
|
||||
virtual bool isAircraftInRange(const BlackMisc::Aviation::CCallsign &callsign) const;
|
||||
|
||||
//! Current snapshot
|
||||
//! \threadsafe
|
||||
virtual BlackMisc::Simulation::CAirspaceAircraftSnapshot getLatestAirspaceAircraftSnapshot() const = 0;
|
||||
@@ -177,6 +182,9 @@ namespace BlackMisc
|
||||
//! \copydoc IRemoteAircraftProvider::getAircraftInRange
|
||||
BlackMisc::Simulation::CSimulatedAircraftList getAircraftInRange() const;
|
||||
|
||||
//! \copydoc IRemoteAircraftProvider::isAircraftInRange
|
||||
bool isAircraftInRange(const BlackMisc::Aviation::CCallsign &callsign) const;
|
||||
|
||||
//! \copydoc IRemoteAircraftProvider::getAircraftInRangeCount
|
||||
int getAircraftInRangeCount() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user