swift
|
Direct in memory access to client (network client) data. More...
Public Member Functions | |
virtual CClientList | getClients () const |
clientprovider | |
virtual void | setClients (const CClientList &clients) |
Set other clients. More... | |
virtual void | clearClients () |
Set other clients. More... | |
virtual CClientList | getClientsForCallsigns (const aviation::CCallsignSet &callsigns) const |
Returns a list of other clients corresponding to the given callsigns. More... | |
virtual CClient | getClientOrDefaultForCallsign (const aviation::CCallsign &callsign) const |
Other client for the given callsigns. More... | |
virtual bool | hasClientInfo (const aviation::CCallsign &callsign) const |
Client info for given callsign? More... | |
virtual bool | addNewClient (const CClient &client) |
Add a new client, if existing nothing will be added. More... | |
virtual bool | setOtherClient (const swift::misc::network::CClient &client) |
Set client for its callsign. More... | |
virtual int | updateOrAddClient (const aviation::CCallsign &callsign, const CPropertyIndexVariantMap &vm, bool skipEqualValues=true) |
Update or add a client. More... | |
virtual int | removeClient (const aviation::CCallsign &callsign) |
Remove client. More... | |
virtual bool | autoAdjustCientGndCapability (const aviation::CAircraftSituation &situation) |
Adjust gnd.flag capability from situation. More... | |
virtual bool | addClientGndCapability (const aviation::CCallsign &callsign) |
Add gnd.flag capability. More... | |
virtual bool | setClientGndCapability (const aviation::CCallsign &callsign, bool supportGndFlag) |
Set gnd.flag capability. More... | |
virtual void | markAsSwiftClient (const aviation::CCallsign &callsign) |
Mark as other swift client. More... | |
![]() | |
virtual | ~IProvider () |
Dtor. | |
IProvider (const IProvider &)=delete | |
Copy constructor. | |
IProvider & | operator= (const IProvider &)=delete |
Copy assignment operator. | |
virtual QObject * | asQObject () |
Return as QObject. | |
Additional Inherited Members | |
![]() | |
IProvider () | |
Constructor. | |
Direct in memory access to client (network client) data.
Definition at line 87 of file clientprovider.h.
|
virtual |
Add gnd.flag capability.
Implements swift::misc::network::IClientProvider.
Definition at line 119 of file clientprovider.cpp.
|
virtual |
Add a new client, if existing nothing will be added.
Implements swift::misc::network::IClientProvider.
Definition at line 69 of file clientprovider.cpp.
|
virtual |
Adjust gnd.flag capability from situation.
Implements swift::misc::network::IClientProvider.
Definition at line 108 of file clientprovider.cpp.
|
virtual |
Set other clients.
Implements swift::misc::network::IClientProvider.
Definition at line 30 of file clientprovider.cpp.
|
virtual |
Other client for the given callsigns.
Implements swift::misc::network::IClientProvider.
Definition at line 42 of file clientprovider.cpp.
|
virtual |
Returns a list of other clients corresponding to the given callsigns.
Implements swift::misc::network::IClientProvider.
Definition at line 36 of file clientprovider.cpp.
|
virtual |
Client info for given callsign?
Implements swift::misc::network::IClientProvider.
Definition at line 62 of file clientprovider.cpp.
|
virtual |
Mark as other swift client.
Implements swift::misc::network::IClientProvider.
Definition at line 141 of file clientprovider.cpp.
|
virtual |
Remove client.
Implements swift::misc::network::IClientProvider.
Definition at line 102 of file clientprovider.cpp.
|
virtual |
Set gnd.flag capability.
Implements swift::misc::network::IClientProvider.
Definition at line 124 of file clientprovider.cpp.
|
virtual |
Set other clients.
Implements swift::misc::network::IClientProvider.
Definition at line 23 of file clientprovider.cpp.
|
virtual |
Set client for its callsign.
Implements swift::misc::network::IClientProvider.
Definition at line 52 of file clientprovider.cpp.
|
virtual |
Update or add a client.
Implements swift::misc::network::IClientProvider.
Definition at line 80 of file clientprovider.cpp.