|
swift
|
Class which can be directly used to access an. More...
Public Member Functions | |
| CClientList | getClients () const |
| clientprovider More... | |
| void | setClients (const CClientList &clients) |
| Set other clients. More... | |
| void | clearClients () |
| Set other clients. More... | |
| swift::misc::network::CClientList | getClientsForCallsigns (const aviation::CCallsignSet &callsigns) const |
| Returns a list of other clients corresponding to the given callsigns. More... | |
| swift::misc::network::CClient | getClientOrDefaultForCallsign (const aviation::CCallsign &callsign) const |
| Other client for the given callsigns. More... | |
| bool | hasClientInfo (const aviation::CCallsign &callsign) const |
| Client info for given callsign? More... | |
| bool | addNewClient (const CClient &client) |
| Add a new client, if existing nothing will be added. More... | |
| int | updateOrAddClient (const aviation::CCallsign &callsign, const CPropertyIndexVariantMap &vm, bool skipEqualValues) |
| Update or add a client. More... | |
| int | removeClient (const aviation::CCallsign &callsign) |
| Remove client. More... | |
| bool | autoAdjustCientGndCapability (const aviation::CAircraftSituation &situation) |
| Adjust gnd.flag capability from situation. More... | |
| bool | addClientGndCapability (const aviation::CCallsign &callsign) |
| Add gnd.flag capability. More... | |
| void | markAsSwiftClient (const aviation::CCallsign &callsign) |
| Mark as other swift client. More... | |
| void | setClientProvider (CClientProvider *provider) |
| Provider. | |
Protected Member Functions | |
| CClientAware () | |
| Default constructor. | |
| CClientAware (IClientProvider *clientProvider) | |
| Constructor. | |
Protected Member Functions inherited from swift::misc::IProviderAware< IClientProvider > | |
| IProviderAware (IClientProvider *provider=nullptr) | |
| Ctor. | |
| virtual | ~IProviderAware ()=default |
| Dtor. | |
| bool | hasProvider () const |
| Has provider? | |
| IClientProvider * | getProvider () const |
| Provider. | |
| void | setProvider (IClientProvider *provider) |
| Set the provider. More... | |
| IClientProvider * | provider () |
| Provider. | |
| const IClientProvider * | provider () const |
| Const provider. | |
Class which can be directly used to access an.
Definition at line 113 of file clientprovider.h.
| bool swift::misc::network::CClientAware::addClientGndCapability | ( | const aviation::CCallsign & | callsign | ) |
Add gnd.flag capability.
Definition at line 195 of file clientprovider.cpp.
| bool swift::misc::network::CClientAware::addNewClient | ( | const CClient & | client | ) |
Add a new client, if existing nothing will be added.
Definition at line 170 of file clientprovider.cpp.
| bool swift::misc::network::CClientAware::autoAdjustCientGndCapability | ( | const aviation::CAircraftSituation & | situation | ) |
Adjust gnd.flag capability from situation.
Definition at line 189 of file clientprovider.cpp.
| void swift::misc::network::CClientAware::clearClients | ( | ) |
Set other clients.
| CClient swift::misc::network::CClientAware::getClientOrDefaultForCallsign | ( | const aviation::CCallsign & | callsign | ) | const |
Other client for the given callsigns.
Definition at line 158 of file clientprovider.cpp.
| CClientList swift::misc::network::CClientAware::getClients | ( | ) | const |
clientprovider
Definition at line 152 of file clientprovider.cpp.
| swift::misc::network::CClientList swift::misc::network::CClientAware::getClientsForCallsigns | ( | const aviation::CCallsignSet & | callsigns | ) | const |
Returns a list of other clients corresponding to the given callsigns.
| bool swift::misc::network::CClientAware::hasClientInfo | ( | const aviation::CCallsign & | callsign | ) | const |
Client info for given callsign?
Definition at line 164 of file clientprovider.cpp.
| void swift::misc::network::CClientAware::markAsSwiftClient | ( | const aviation::CCallsign & | callsign | ) |
Mark as other swift client.
Definition at line 201 of file clientprovider.cpp.
| int swift::misc::network::CClientAware::removeClient | ( | const aviation::CCallsign & | callsign | ) |
Remove client.
Definition at line 183 of file clientprovider.cpp.
| void swift::misc::network::CClientAware::setClients | ( | const CClientList & | clients | ) |
Set other clients.
| int swift::misc::network::CClientAware::updateOrAddClient | ( | const aviation::CCallsign & | callsign, |
| const CPropertyIndexVariantMap & | vm, | ||
| bool | skipEqualValues | ||
| ) |
Update or add a client.
Definition at line 176 of file clientprovider.cpp.