mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T515, added background validation in simulator context
* added signals * added validator
This commit is contained in:
committed by
Mat Sutcliffe
parent
0bcd47b277
commit
cea6611656
@@ -94,7 +94,10 @@ namespace BlackCore
|
||||
//! Simulator plugin loaded / unloaded (default info)
|
||||
void simulatorPluginChanged(const BlackMisc::Simulation::CSimulatorPluginInfo &info);
|
||||
|
||||
//! A formerly vital driver is no loner vital
|
||||
//! Same as simulatorPluginChanged, only with simulator signature
|
||||
void simulatorChanged(const BlackMisc::Simulation::CSimulatorInfo &simulator);
|
||||
|
||||
//! A formerly vital driver is no longer vital/responding
|
||||
void vitalityLost();
|
||||
|
||||
//! Render restrictions have been changed
|
||||
@@ -133,6 +136,11 @@ namespace BlackCore
|
||||
//! Request a console message (whatever the console maybe)
|
||||
void requestUiConsoleMessage(const QString &driverMessage, bool clear);
|
||||
|
||||
//! Validate model set
|
||||
void validatedModelSet(const BlackMisc::Simulation::CSimulatorInfo &simulator,
|
||||
const BlackMisc::Simulation::CAircraftModelList &valid, const BlackMisc::Simulation::CAircraftModelList &invalid,
|
||||
bool stopped, const BlackMisc::CStatusMessageList &msgs);
|
||||
|
||||
public slots:
|
||||
//! Simulator info, currently loaded plugin
|
||||
virtual BlackMisc::Simulation::CSimulatorPluginInfo getSimulatorPluginInfo() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user