refs #935, avoid issues when shutting down

This commit is contained in:
Klaus Basan
2017-04-13 01:06:05 +02:00
committed by Mathew Sutcliffe
parent d475246941
commit f34e80ea62
5 changed files with 20 additions and 2 deletions

View File

@@ -151,6 +151,9 @@ namespace BlackCore
//! Driver will be unloaded
virtual void unload() = 0;
//! Is overall (swift) application shutting down
virtual bool isShuttingDown() const = 0;
//! Set interpolation mode, empty callsign applies to all know callsigns
virtual bool setInterpolatorMode(BlackMisc::Simulation::CInterpolatorMulti::Mode mode, const BlackMisc::Aviation::CCallsign &callsign) = 0;
@@ -253,6 +256,9 @@ namespace BlackCore
//! Info about the backend system (if available)
virtual QString backendInfo() const;
//! Overall (swift) application shutting down
virtual bool isShuttingDown() const;
public slots:
//! Start listening for the simulator to start.
void start();