mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 10:55:32 +08:00
Ref T285, allow to re-init all aircraft
* aircraft will be removed, then added again as new * this will go thru the full cycle and matching
This commit is contained in:
@@ -124,6 +124,9 @@ namespace BlackCore
|
||||
//! Gracefully shut down, e.g. for thread safety
|
||||
void gracefulShutdown();
|
||||
|
||||
//! Re-init all aircrft
|
||||
int reInitializeAllAircraft();
|
||||
|
||||
//! Create dummy entries for performance tests
|
||||
//! \private for testing purposes
|
||||
void testCreateDummyOnlineAtcStations(int number);
|
||||
@@ -228,6 +231,11 @@ namespace BlackCore
|
||||
//! \threadsafe
|
||||
bool addNewAircraftInRange(const BlackMisc::Simulation::CSimulatedAircraft &aircraft);
|
||||
|
||||
//! Asynchronously add aircraft
|
||||
//! \threadsafe
|
||||
//! \sa addNewAircraftInRange
|
||||
void asyncAddNewAircraftInRange(const BlackMisc::Simulation::CSimulatedAircraftList &aircraft, bool readyForModelMatching);
|
||||
|
||||
//! Update online stations by callsign
|
||||
int updateOnlineStation(const BlackMisc::Aviation::CCallsign &callsign, const BlackMisc::CPropertyIndexVariantMap &vm, bool skipEqualValues = true, bool sendSignal = true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user