swift
|
Direct threadsafe in memory access to current ecosystem. More...
Public Member Functions | |
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 | isLastEcosystem (const CEcosystem &system) const |
Last known ecosystem? More... | |
![]() | |
virtual | ~IProvider () |
Dtor. | |
IProvider (const IProvider &)=delete | |
Copy constructor. | |
IProvider & | operator= (const IProvider &)=delete |
Copy assignment operator. | |
virtual QObject * | asQObject () |
Return as QObject. | |
Protected Member Functions | |
bool | setCurrentEcosystem (const CEcosystem &ecosystem) |
Set the current system. More... | |
bool | setLastEcosystem (const CEcosystem &ecosystem) |
Set the last known system. More... | |
![]() | |
IProvider () | |
Constructor. | |
Direct threadsafe in memory access to current ecosystem.
Definition at line 17 of file ecosystemprovider.h.
CEcosystem swift::misc::network::IEcosystemProvider::getCurrentEcosystem | ( | ) | const |
Current ecosystem.
Definition at line 10 of file ecosystemprovider.cpp.
CEcosystem swift::misc::network::IEcosystemProvider::getLastEcosystem | ( | ) | const |
Last known ecosystem.
Definition at line 16 of file ecosystemprovider.cpp.
bool swift::misc::network::IEcosystemProvider::isCurrentEcosystem | ( | const CEcosystem & | system | ) | const |
Current ecosystem?
Definition at line 22 of file ecosystemprovider.cpp.
bool swift::misc::network::IEcosystemProvider::isCurrentEcosystemVATSIM | ( | ) | const |
Current ecosystem VATSIM?
Definition at line 27 of file ecosystemprovider.cpp.
bool swift::misc::network::IEcosystemProvider::isLastEcosystem | ( | const CEcosystem & | system | ) | const |
Last known ecosystem?
Definition at line 29 of file ecosystemprovider.cpp.
|
protected |
Set the current system.
Definition at line 34 of file ecosystemprovider.cpp.
|
protected |
Set the last known system.
Definition at line 42 of file ecosystemprovider.cpp.