|
swift
|
Direct in memory access to interpolation setup, normally implemented by simulator. More...
Public Types | |
| using | SetupsPerCallsign = QMap< aviation::CCallsign, CInterpolationAndRenderingSetupPerCallsign > |
| setups per callsign | |
Public Member Functions | |
| CInterpolationAndRenderingSetupPerCallsign | getInterpolationSetupPerCallsignOrDefault (const aviation::CCallsign &callsign) const |
| Get the setup for callsign, if not existing the global setup. More... | |
| CInterpolationSetupList | getInterpolationSetupsPerCallsign () const |
| Get all setups per callsign. More... | |
| bool | hasSetupsPerCallsign () const |
| Get all setups per callsign. More... | |
| bool | setInterpolationSetupsPerCallsign (const CInterpolationSetupList &setups, bool ignoreSameAsGlobal=true) |
| Set all setups per callsign. More... | |
| virtual CInterpolationAndRenderingSetupGlobal | getInterpolationSetupGlobal () const |
| The global setup. More... | |
| aviation::CCallsignSet | getLogCallsigns () const |
| All callsigns marked to be logged. More... | |
| bool | isLogCallsign (const aviation::CCallsign &callsign) const |
| Is callsign marked for logging. More... | |
| bool | setInterpolationMode (const QString &modeAsString, const aviation::CCallsign &callsign) |
| Set mode as string. More... | |
| bool | setLogInterpolation (bool log, const aviation::CCallsign &callsign) |
| Enable/disable logging. More... | |
Public Member Functions inherited from swift::misc::IProvider | |
| virtual | ~IProvider ()=default |
| Dtor. | |
| IProvider (const IProvider &)=delete | |
| Copy constructor. | |
| IProvider & | operator= (const IProvider &)=delete |
| Copy assignment operator. | |
| virtual QObject * | asQObject () |
| Return as QObject. | |
Protected Member Functions | |
| virtual bool | setInterpolationSetupGlobal (const CInterpolationAndRenderingSetupGlobal &setup) |
| Set the global setup. More... | |
| virtual bool | setInterpolationSetupPerCallsign (const CInterpolationAndRenderingSetupPerCallsign &setup, const aviation::CCallsign &callsign, bool removeGlobalSetup=true) |
| Insert specialized setup per callsign. More... | |
| void | setLogCallsign (bool log, const aviation::CCallsign &callsign) |
| Log/un-log given callsign. More... | |
| bool | removeInterpolationSetupPerCallsign (const aviation::CCallsign &callsign) |
| Remove specialized setup per callsign. | |
| void | clearInterpolationLogCallsigns () |
| Clear all interpolation log callsigns. More... | |
| int | clearInterpolationSetupsPerCallsign () |
| Clear all setups. More... | |
| bool | logAnyCallsign () const |
| Log any callsign? More... | |
| SetupsPerCallsign | getSetupsPerCallsign () const |
| The setups per callsign. More... | |
| virtual void | emitInterpolationSetupChanged () |
| Pseudo signal, override to emit signal. | |
Protected Member Functions inherited from swift::misc::IProvider | |
| IProvider () | |
| Constructor. | |
Direct in memory access to interpolation setup, normally implemented by simulator.
Definition at line 20 of file interpolationsetupprovider.h.
|
protected |
Clear all interpolation log callsigns.
Definition at line 142 of file interpolationsetupprovider.cpp.
|
protected |
Clear all setups.
Definition at line 164 of file interpolationsetupprovider.cpp.
|
virtual |
The global setup.
Definition at line 49 of file interpolationsetupprovider.cpp.
| CInterpolationAndRenderingSetupPerCallsign swift::misc::simulation::IInterpolationSetupProvider::getInterpolationSetupPerCallsignOrDefault | ( | const aviation::CCallsign & | callsign | ) | const |
Get the setup for callsign, if not existing the global setup.
Definition at line 11 of file interpolationsetupprovider.cpp.
| CInterpolationSetupList swift::misc::simulation::IInterpolationSetupProvider::getInterpolationSetupsPerCallsign | ( | ) | const |
Get all setups per callsign.
Definition at line 18 of file interpolationsetupprovider.cpp.
| CCallsignSet swift::misc::simulation::IInterpolationSetupProvider::getLogCallsigns | ( | ) | const |
All callsigns marked to be logged.
Definition at line 55 of file interpolationsetupprovider.cpp.
|
protected |
The setups per callsign.
Definition at line 186 of file interpolationsetupprovider.cpp.
| bool swift::misc::simulation::IInterpolationSetupProvider::hasSetupsPerCallsign | ( | ) | const |
Get all setups per callsign.
Definition at line 24 of file interpolationsetupprovider.cpp.
| bool swift::misc::simulation::IInterpolationSetupProvider::isLogCallsign | ( | const aviation::CCallsign & | callsign | ) | const |
Is callsign marked for logging.
Definition at line 66 of file interpolationsetupprovider.cpp.
|
protected |
Log any callsign?
Definition at line 177 of file interpolationsetupprovider.cpp.
| bool swift::misc::simulation::IInterpolationSetupProvider::setInterpolationMode | ( | const QString & | modeAsString, |
| const aviation::CCallsign & | callsign | ||
| ) |
Set mode as string.
Definition at line 73 of file interpolationsetupprovider.cpp.
|
protectedvirtual |
Set the global setup.
Reimplemented in swift::core::ISimulator.
Definition at line 91 of file interpolationsetupprovider.cpp.
|
protectedvirtual |
Insert specialized setup per callsign.
Definition at line 102 of file interpolationsetupprovider.cpp.
| bool swift::misc::simulation::IInterpolationSetupProvider::setInterpolationSetupsPerCallsign | ( | const CInterpolationSetupList & | setups, |
| bool | ignoreSameAsGlobal = true |
||
| ) |
Set all setups per callsign.
Definition at line 30 of file interpolationsetupprovider.cpp.
|
protected |
Log/un-log given callsign.
Definition at line 134 of file interpolationsetupprovider.cpp.
| bool swift::misc::simulation::IInterpolationSetupProvider::setLogInterpolation | ( | bool | log, |
| const aviation::CCallsign & | callsign | ||
| ) |
Enable/disable logging.
Definition at line 82 of file interpolationsetupprovider.cpp.