mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
Some convenience functions ATC station
This commit is contained in:
@@ -48,9 +48,15 @@ namespace BlackMisc
|
||||
//! Find 0..n stations tune in frequency of COM unit (with 25kHt channel spacing
|
||||
CAtcStationList findIfComUnitTunedIn25KHz(const BlackMisc::Aviation::CComSystem &comUnit) const;
|
||||
|
||||
//! Find 0..n stations matching the suffix (e.g. TWR)
|
||||
CAtcStationList findBySuffix(const QString &suffix) const;
|
||||
|
||||
//! All controllers (with valid data)
|
||||
BlackMisc::Network::CUserList getControllers() const;
|
||||
|
||||
//! Get all (different suffixes)
|
||||
QMap<QString, int> getSuffixes() const;
|
||||
|
||||
//! Update distances to coordinate, usually own aircraft's position
|
||||
void calculateDistancesToPlane(const BlackMisc::Geo::CCoordinateGeodetic &position);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user