Ref T232, aircraft can be re-added or removed via "dot-commands"

* can be used for testing
* utility functions to find inconsistent aircraft states
* reset highlight state
This commit is contained in:
Klaus Basan
2018-01-25 21:56:01 +01:00
parent 3ee5e68054
commit 897a6f301f
7 changed files with 140 additions and 28 deletions

View File

@@ -107,6 +107,17 @@ namespace BlackCore
//! it will physically added to the simulator.
virtual bool logicallyRemoveRemoteAircraft(const BlackMisc::Aviation::CCallsign &callsign) = 0;
//! Removes and adds again the aircraft
//! \sa logicallyRemoveRemoteAircraft
//! \sa logicallyAddRemoteAircraft
virtual bool logicallyReAddRemoteAircraft(const BlackMisc::Aviation::CCallsign &callsign) = 0;
//! Find the unrendered enabled aircraft
virtual BlackMisc::Aviation::CCallsignSet unrenderedEnabledAircraft() const = 0;
//! Find the rendered disabled aircraft
virtual BlackMisc::Aviation::CCallsignSet renderedDisabledAircraft() const = 0;
//! Change remote aircraft per property
virtual bool changeRemoteAircraftModel(const BlackMisc::Simulation::CSimulatedAircraft &aircraft) = 0;