Some convenience functions ATC station

This commit is contained in:
Klaus Basan
2015-01-22 11:06:50 +01:00
parent 49a8dee67c
commit 9d14f8f42d
4 changed files with 69 additions and 5 deletions

View File

@@ -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);