Allow to alter model set simulator in pilot client

* selector can be read only
* functions in context to obtain model set from loader/matcher, this will not be used when a plugin driver is present
* adjusted UI
This commit is contained in:
Klaus Basan
2018-02-13 03:57:46 +01:00
parent 9009045dd0
commit 8dc25fbad7
11 changed files with 139 additions and 2 deletions

View File

@@ -148,6 +148,13 @@ namespace BlackCore
//! \note might be slow since list can be big
virtual BlackMisc::Simulation::CAircraftModelList getModelSet() const = 0;
//! Get the model set loader simulator directly
virtual BlackMisc::Simulation::CSimulatorInfo getModelSetLoaderSimulator() const = 0;
//! Set the model set loader simulator directly
//! \note for testing purposes
virtual void setModelSetLoaderSimulator(const BlackMisc::Simulation::CSimulatorInfo &simulator) = 0;
//! Simulators which have an initialized model set
virtual BlackMisc::Simulation::CSimulatorInfo simulatorsWithInitializedModelSet() const = 0;