swift
|
Main plugin class. More...
Public Member Functions | |
CPlugin () | |
Constructor. | |
~CPlugin () | |
Destructor. | |
void | onAircraftModelChanged () |
Called by XPluginReceiveMessage when the model is changed. | |
void | onAircraftRepositioned () |
Called by XPluginReceiveMessage when the aircraft is positioned at an airport. | |
void | onSceneryLoaded () |
Called by XPluginReceiveMessage when some scenery is loaded. | |
bool | isRunning () const |
Is running. | |
bool | shouldStop () const |
Should stop. | |
virtual const CConfig & | getConfig () const |
Get settings from xswiftbus.conf (needed during plugin initialization) More... | |
virtual bool | writeConfig (bool tcas, bool debug) |
Write a config file with these new values. More... | |
![]() | |
CSettings | getSettings () const |
Get settings. More... | |
void | setSettings (const CSettings &settings) |
Set settings. More... | |
Additional Inherited Members | |
![]() | |
~CSettingsProvider ()=default | |
Destructor. | |
|
inlinevirtual |
Get settings from xswiftbus.conf (needed during plugin initialization)
Implements XSwiftBus::CSettingsProvider.
|
inlinevirtual |
Write a config file with these new values.
Implements XSwiftBus::CSettingsProvider.