|
swift
|
Delegating class which can be directly used to access an. More...
Public Member Functions | |
| void | setEcosystemProvider (IEcosystemProvider *provider) |
| Set the provider. | |
| CEcosystem | getCurrentEcosystem () const |
| Current ecosystem. More... | |
| CEcosystem | getLastEcosystem () const |
| Last known ecosystem. More... | |
| bool | isCurrentEcosystem (const CEcosystem &system) const |
| Current ecosystem? More... | |
| bool | isCurrentEcosystemVATSIM () const |
| Current ecosystem VATSIM? More... | |
| bool | isNotVATSIMEcosystem () const |
| Connected with other system than VATSIM? More... | |
| bool | isLastEcosystem (const CEcosystem &system) const |
| Last known ecosystem? More... | |
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. More... | |
| IEcosystemProvider * | provider () |
| Provider. | |
| const IEcosystemProvider * | provider () const |
| Const provider. | |
Delegating class which can be directly used to access an.
Definition at line 57 of file ecosystemprovider.h.
| CEcosystem swift::misc::network::CEcosystemAware::getCurrentEcosystem | ( | ) | const |
Current ecosystem.
Definition at line 53 of file ecosystemprovider.cpp.
| CEcosystem swift::misc::network::CEcosystemAware::getLastEcosystem | ( | ) | const |
Last known ecosystem.
Definition at line 59 of file ecosystemprovider.cpp.
| bool swift::misc::network::CEcosystemAware::isCurrentEcosystem | ( | const CEcosystem & | system | ) | const |
Current ecosystem?
Definition at line 65 of file ecosystemprovider.cpp.
| bool swift::misc::network::CEcosystemAware::isCurrentEcosystemVATSIM | ( | ) | const |
Current ecosystem VATSIM?
Definition at line 71 of file ecosystemprovider.cpp.
| bool swift::misc::network::CEcosystemAware::isLastEcosystem | ( | const CEcosystem & | system | ) | const |
Last known ecosystem?
Definition at line 84 of file ecosystemprovider.cpp.
| bool swift::misc::network::CEcosystemAware::isNotVATSIMEcosystem | ( | ) | const |
Connected with other system than VATSIM?
Definition at line 73 of file ecosystemprovider.cpp.