mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #395, turned remote aircraft provider interface into thread safe interfaces
* references gone, situations, parts, aircraft now as threadsafe copy * read only interface gone (no longer references, so no longer needed)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
24094eaf61
commit
6debd33b4f
@@ -121,13 +121,11 @@ namespace BlackCore
|
||||
//! Bookings read
|
||||
void vatsimBookingsRead();
|
||||
|
||||
/*!
|
||||
* Connection status changed
|
||||
* \param from old status
|
||||
* \param to new status
|
||||
* \remarks If I use the enum, adaptor / interface are not created correctly
|
||||
* \see INetwork::ConnectionStatus
|
||||
*/
|
||||
//! Connection status changed
|
||||
//! \param from old status
|
||||
//! \param to new status
|
||||
//! \remarks If I use the enum, adaptor / interface are not created correctly
|
||||
//! \see INetwork::ConnectionStatus
|
||||
void connectionStatusChanged(int from, int to);
|
||||
|
||||
//! Text messages received (also private chat messages, rfaio channel messages)
|
||||
@@ -156,6 +154,9 @@ namespace BlackCore
|
||||
//! Aircraft for given callsign
|
||||
virtual BlackMisc::Simulation::CSimulatedAircraft getAircraftForCallsign(const BlackMisc::Aviation::CCallsign &callsign) const = 0;
|
||||
|
||||
//! Aircraft count
|
||||
virtual int getAircraftInRangeCount() const = 0;
|
||||
|
||||
//! Online station for callsign
|
||||
virtual BlackMisc::Aviation::CAtcStation getOnlineStationForCallsign(const BlackMisc::Aviation::CCallsign &callsign) const = 0;
|
||||
|
||||
@@ -192,17 +193,13 @@ namespace BlackCore
|
||||
//! Callsigns enabled for fast position updates
|
||||
virtual BlackMisc::Aviation::CCallsignSet getFastPositionEnabledCallsigns() = 0;
|
||||
|
||||
/*!
|
||||
* Connect to Network
|
||||
* \return messages gererated during connecting
|
||||
* \see INetwork::LoginMode
|
||||
*/
|
||||
//! Connect to Network
|
||||
//! \return messages gererated during connecting
|
||||
//! \see INetwork::LoginMode
|
||||
virtual BlackMisc::CStatusMessage connectToNetwork(const BlackMisc::Network::CServer &server, uint loginMode) = 0;
|
||||
|
||||
/*!
|
||||
* Disconnect from network
|
||||
* \return messages generated during disconnecting
|
||||
*/
|
||||
//! Disconnect from network
|
||||
//! \return messages generated during disconnecting
|
||||
virtual BlackMisc::CStatusMessage disconnectFromNetwork() = 0;
|
||||
|
||||
//! Network connected?
|
||||
|
||||
Reference in New Issue
Block a user