|
swift
|
Delegating class which can be directly used to access an. More...
#include <ecosystemprovider.h>
Public Member Functions | |
| void | setEcosystemProvider (IEcosystemProvider *provider) |
| Set the provider. | |
| CEcosystem | getCurrentEcosystem () const |
| Current ecosystem. | |
| CEcosystem | getLastEcosystem () const |
| Last known ecosystem. | |
| bool | isCurrentEcosystem (const CEcosystem &system) const |
| Current ecosystem? | |
| bool | isCurrentEcosystemVATSIM () const |
| Current ecosystem VATSIM? | |
| bool | isNotVATSIMEcosystem () const |
| Connected with other system than VATSIM? | |
| bool | isLastEcosystem (const CEcosystem &system) const |
| Last known ecosystem? | |
Static Public Member Functions | |
| static IEcosystemProvider * | providerIfPossible (QObject *object) |
| Cast as provider if possible. | |
Protected Member Functions | |
| CEcosystemAware (IEcosystemProvider *EcosystemProvider) | |
| Constructor. | |
| Protected Member Functions inherited from swift::misc::IProviderAware< IEcosystemProvider > | |
| IProviderAware (IEcosystemProvider *provider=nullptr) | |
| Ctor. | |
| virtual | ~IProviderAware ()=default |
| Dtor. | |
| bool | hasProvider () const |
| Has provider? | |
| IEcosystemProvider * | getProvider () const |
| Provider. | |
| void | setProvider (IEcosystemProvider *provider) |
| Set the provider. | |
| IEcosystemProvider * | provider () |
| Provider. | |
Delegating class which can be directly used to access an.
Definition at line 57 of file ecosystemprovider.h.
|
inlineprotected |
Constructor.
Definition at line 89 of file ecosystemprovider.h.
|
privatevirtual |
Definition at line 57 of file ecosystemprovider.cpp.
| CEcosystem swift::misc::network::CEcosystemAware::getCurrentEcosystem | ( | ) | const |
Current ecosystem.
Definition at line 59 of file ecosystemprovider.cpp.
| CEcosystem swift::misc::network::CEcosystemAware::getLastEcosystem | ( | ) | const |
Last known ecosystem.
Definition at line 68 of file ecosystemprovider.cpp.
| bool swift::misc::network::CEcosystemAware::isCurrentEcosystem | ( | const CEcosystem & | system | ) | const |
Current ecosystem?
Definition at line 77 of file ecosystemprovider.cpp.
| bool swift::misc::network::CEcosystemAware::isCurrentEcosystemVATSIM | ( | ) | const |
Current ecosystem VATSIM?
Definition at line 86 of file ecosystemprovider.cpp.
| bool swift::misc::network::CEcosystemAware::isLastEcosystem | ( | const CEcosystem & | system | ) | const |
Last known ecosystem?
Definition at line 101 of file ecosystemprovider.cpp.
| bool swift::misc::network::CEcosystemAware::isNotVATSIMEcosystem | ( | ) | const |
Connected with other system than VATSIM?
Definition at line 88 of file ecosystemprovider.cpp.
|
static |
Cast as provider if possible.
Definition at line 110 of file ecosystemprovider.cpp.
|
inline |
Set the provider.
Definition at line 63 of file ecosystemprovider.h.