|
swift
|
Direct in memory access to interpolation setup, normally implemented by simulator. More...
#include <interpolationsetupprovider.h>
Public Types | |
| using | SetupsPerCallsign |
| setups per callsign | |
Public Member Functions | |
| CInterpolationAndRenderingSetupPerCallsign | getInterpolationSetupPerCallsignOrDefault (const aviation::CCallsign &callsign) const |
| Get the setup for callsign, if not existing the global setup. | |
| CInterpolationSetupList | getInterpolationSetupsPerCallsign () const |
| Get all setups per callsign. | |
| bool | hasSetupsPerCallsign () const |
| Get all setups per callsign. | |
| bool | setInterpolationSetupsPerCallsign (const CInterpolationSetupList &setups, bool ignoreSameAsGlobal=true) |
| Set all setups per callsign. | |
| virtual CInterpolationAndRenderingSetupGlobal | getInterpolationSetupGlobal () const |
| The global setup. | |
| aviation::CCallsignSet | getLogCallsigns () const |
| All callsigns marked to be logged. | |
| bool | isLogCallsign (const aviation::CCallsign &callsign) const |
| Is callsign marked for logging. | |
| bool | setInterpolationMode (const QString &modeAsString, const aviation::CCallsign &callsign) |
| Set mode as string. | |
| bool | setLogInterpolation (bool log, const aviation::CCallsign &callsign) |
| Enable/disable logging. | |
| 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. | |
| virtual bool | setInterpolationSetupPerCallsign (const CInterpolationAndRenderingSetupPerCallsign &setup, const aviation::CCallsign &callsign, bool removeGlobalSetup=true) |
| Insert specialized setup per callsign. | |
| void | setLogCallsign (bool log, const aviation::CCallsign &callsign) |
| Log/un-log given callsign. | |
| bool | removeInterpolationSetupPerCallsign (const aviation::CCallsign &callsign) |
| Remove specialized setup per callsign. | |
| void | clearInterpolationLogCallsigns () |
| Clear all interpolation log callsigns. | |
| int | clearInterpolationSetupsPerCallsign () |
| Clear all setups. | |
| bool | logAnyCallsign () const |
| Log any callsign? | |
| SetupsPerCallsign | getSetupsPerCallsign () const |
| The setups per callsign. | |
| 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.
setups per callsign
Definition at line 23 of file interpolationsetupprovider.h.
|
protected |
Clear all interpolation log callsigns.
Definition at line 174 of file interpolationsetupprovider.cpp.
|
protected |
Clear all setups.
Definition at line 202 of file interpolationsetupprovider.cpp.
|
inlineprotectedvirtual |
Pseudo signal, override to emit signal.
Reimplemented in swift::core::ISimulator.
Definition at line 98 of file interpolationsetupprovider.h.
|
virtual |
The global setup.
Definition at line 60 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 13 of file interpolationsetupprovider.cpp.
| CInterpolationSetupList swift::misc::simulation::IInterpolationSetupProvider::getInterpolationSetupsPerCallsign | ( | ) | const |
Get all setups per callsign.
Definition at line 23 of file interpolationsetupprovider.cpp.
| CCallsignSet swift::misc::simulation::IInterpolationSetupProvider::getLogCallsigns | ( | ) | const |
All callsigns marked to be logged.
Definition at line 66 of file interpolationsetupprovider.cpp.
|
protected |
The setups per callsign.
Definition at line 230 of file interpolationsetupprovider.cpp.
| bool swift::misc::simulation::IInterpolationSetupProvider::hasSetupsPerCallsign | ( | ) | const |
Get all setups per callsign.
Definition at line 29 of file interpolationsetupprovider.cpp.
| bool swift::misc::simulation::IInterpolationSetupProvider::isLogCallsign | ( | const aviation::CCallsign & | callsign | ) | const |
Is callsign marked for logging.
Definition at line 80 of file interpolationsetupprovider.cpp.
|
protected |
Log any callsign?
Definition at line 218 of file interpolationsetupprovider.cpp.
|
protected |
Remove specialized setup per callsign.
Definition at line 149 of file interpolationsetupprovider.cpp.
| bool swift::misc::simulation::IInterpolationSetupProvider::setInterpolationMode | ( | const QString & | modeAsString, |
| const aviation::CCallsign & | callsign ) |
Set mode as string.
Definition at line 90 of file interpolationsetupprovider.cpp.
|
protectedvirtual |
Set the global setup.
Reimplemented in swift::core::ISimulator.
Definition at line 114 of file interpolationsetupprovider.cpp.
|
protectedvirtual |
Insert specialized setup per callsign.
Definition at line 128 of file interpolationsetupprovider.cpp.
| bool swift::misc::simulation::IInterpolationSetupProvider::setInterpolationSetupsPerCallsign | ( | const CInterpolationSetupList & | setups, |
| bool | ignoreSameAsGlobal = true ) |
Set all setups per callsign.
Definition at line 35 of file interpolationsetupprovider.cpp.
|
protected |
Log/un-log given callsign.
Definition at line 163 of file interpolationsetupprovider.cpp.
| bool swift::misc::simulation::IInterpolationSetupProvider::setLogInterpolation | ( | bool | log, |
| const aviation::CCallsign & | callsign ) |
Enable/disable logging.
Definition at line 102 of file interpolationsetupprovider.cpp.