mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Ref T786, simulator context
* use identifier based "requestWeatherGrid" * injectWeatherGrid now public * clean m_lastWeatherPosition if weather is de-activated * inject weather CContextSimulator::onWeatherGridReceived 1) this automatically injects the weather, the callback is not needed 2) the callback was the part which crashed
This commit is contained in:
committed by
Mat Sutcliffe
parent
e7875c3af8
commit
58583d3ffa
@@ -314,7 +314,7 @@ namespace BlackCore
|
||||
virtual void setWeatherActivated(bool activated) = 0;
|
||||
|
||||
//! Request weather grid. Argument identifier is past in the signal to identify the requestor
|
||||
virtual void requestWeatherGrid(const BlackMisc::Weather::CWeatherGrid &weatherGrid, const BlackMisc::CIdentifier &identifier) = 0;
|
||||
virtual void requestWeatherGrid(const BlackMisc::Geo::CCoordinateGeodetic &position, const BlackMisc::CIdentifier &identifier) = 0;
|
||||
|
||||
//! \copydoc BlackMisc::Simulation::ISimulationEnvironmentProvider::requestElevationBySituation
|
||||
virtual bool requestElevationBySituation(const BlackMisc::Aviation::CAircraftSituation &situation) = 0;
|
||||
|
||||
Reference in New Issue
Block a user