ChangedModel in ownAircraft context was not really used.

However, there are cases where the "own model" is changed via own model context, mostly in the emulated driver.

* made changedModel -> ps_changedModel a "private" signal
* connected it to simulator context
* used identifier to avoid roundtrips

So the "ownAircraftModelChanged" signal of the simulator context is to be used
This commit is contained in:
Klaus Basan
2019-01-26 20:08:09 +01:00
committed by Mat Sutcliffe
parent d12f164d26
commit 73e566a76e
7 changed files with 44 additions and 11 deletions

View File

@@ -186,6 +186,9 @@ namespace BlackCore
//! Changed remote aircraft model
void xCtxChangedRemoteAircraftModel(const BlackMisc::Simulation::CSimulatedAircraft &aircraft, const BlackMisc::CIdentifier &originator);
//! Changed own aircraft model
void xCtxChangedOwnAircraftModel(const BlackMisc::Simulation::CAircraftModel &aircraftModel, const BlackMisc::CIdentifier &originator);
//! Enable / disable aircraft
void xCtxChangedRemoteAircraftEnabled(const BlackMisc::Simulation::CSimulatedAircraft &aircraft);