Ref T260, ext. version of updating ground elevation, allows to guess gnd. again with updated elevation

This commit is contained in:
Klaus Basan
2018-04-18 05:05:21 +02:00
committed by Roland Winklmeier
parent 075ffa8ccb
commit d0addd547a
4 changed files with 35 additions and 8 deletions

View File

@@ -76,6 +76,7 @@ namespace BlackCore
virtual QObject *asQObject() override { return this; }
virtual BlackMisc::Simulation::CAirspaceAircraftSnapshot getLatestAirspaceAircraftSnapshot() const override;
virtual bool updateFastPositionEnabled(const BlackMisc::Aviation::CCallsign &callsign, bool enableFastPositonUpdates) override;
virtual int updateAircraftGroundElevation(const BlackMisc::Aviation::CCallsign &callsign, const BlackMisc::Geo::CElevationPlane &elevation) override;
//! @}
//! Returns the list of users we know about
@@ -169,6 +170,9 @@ namespace BlackCore
CAirspaceAnalyzer *m_analyzer = nullptr; //!< owned analyzer
bool m_bookingsRequested = false; //!< bookings have been requested, it can happen we receive an BlackCore::Vatsim::CVatsimBookingReader::atcBookingsReadUnchanged signal
//! Guess situation if applicable
bool guessOnGround(BlackMisc::Aviation::CAircraftSituation &situation) const;
//! Remove ATC online stations
void removeAllOnlineAtcStations();