|
swift
|
Network context implementation. More...
Public Slots | |
| bool | updateAircraftEnabled (const swift::misc::aviation::CCallsign &callsign, bool enabledForRendering) |
| Enable/disable aircraft and follow up logic like sending signals. More... | |
| bool | updateAircraftModel (const swift::misc::aviation::CCallsign &callsign, const swift::misc::simulation::CAircraftModel &model, const swift::misc::CIdentifier &originator) |
| Change model. More... | |
| bool | updateAircraftNetworkModel (const swift::misc::aviation::CCallsign &callsign, const swift::misc::simulation::CAircraftModel &model, const swift::misc::CIdentifier &originator) |
| Change network model. More... | |
| bool | updateFastPositionEnabled (const swift::misc::aviation::CCallsign &callsign, bool enableFastPositonUpdates) |
| Change fast position updates. More... | |
| bool | updateAircraftSupportingGndFLag (const swift::misc::aviation::CCallsign &callsign, bool supportGndFlag) |
| Enable/disable support of gnd. flag. More... | |
| void | enableReverseLookupMessages (swift::misc::simulation::ReverseLookupLogging enable) |
| Enable reverse lookup logging. More... | |
| bool | setAircraftEnabledFlag (const swift::misc::aviation::CCallsign &callsign, bool enabledForRendering) |
| Set the enabled flag without any further logic like sending signals. More... | |
| int | reInitializeAllAircraft () |
| Re-initialize all aircraft. More... | |
| bool | updateCG (const swift::misc::aviation::CCallsign &callsign, const swift::misc::physical_quantities::CLength &cg) |
| Update the CG. More... | |
| swift::misc::aviation::CCallsignSet | updateCGForModel (const QString &modelString, const swift::misc::physical_quantities::CLength &cg) |
| Update the CG for this model string. More... | |
| bool | updateCGAndModelString (const swift::misc::aviation::CCallsign &callsign, const swift::misc::physical_quantities::CLength &cg, const QString &modelString) |
| Update the CG and model string. More... | |
| swift::misc::simulation::CSimulatedAircraftList | getAircraftInRange () const |
| Aircraft list. More... | |
| swift::misc::aviation::CCallsignSet | getAircraftInRangeCallsigns () const |
| Aircraft callsigns. More... | |
| int | getAircraftInRangeCount () const |
| Aircraft count. More... | |
| bool | isAircraftInRange (const swift::misc::aviation::CCallsign &callsign) const |
| Aircraft in range. More... | |
| bool | isVtolAircraft (const swift::misc::aviation::CCallsign &callsign) const |
| Is VTOL aircraft? More... | |
| swift::misc::simulation::CSimulatedAircraft | getAircraftInRangeForCallsign (const swift::misc::aviation::CCallsign &callsign) const |
| Aircraft for given callsign. More... | |
| swift::misc::simulation::CAircraftModel | getAircraftInRangeModelForCallsign (const swift::misc::aviation::CCallsign &callsign) const |
| Aircraft model for callsign. More... | |
| swift::misc::CStatusMessageList | getReverseLookupMessages (const swift::misc::aviation::CCallsign &callsign) const |
| Get reverse lookup messages. More... | |
| swift::misc::simulation::ReverseLookupLogging | isReverseLookupMessagesEnabled () const |
| Enabled reverse lookup logging? More... | |
| swift::misc::CStatusMessageList | getAircraftPartsHistory (const swift::misc::aviation::CCallsign &callsign) const |
| Get aircraft parts history. More... | |
| swift::misc::aviation::CAircraftPartsList | getRemoteAircraftParts (const swift::misc::aviation::CCallsign &callsign) const |
| Get remote aircraft parts. More... | |
| int | getRemoteAircraftSupportingPartsCount () const |
| Number of aircraft supporting parts. More... | |
| bool | isAircraftPartsHistoryEnabled () const |
| Is storing the aircraft parts history enabled? More... | |
| bool | isRemoteAircraftSupportingParts (const swift::misc::aviation::CCallsign &callsign) const |
| Parts supported? More... | |
| void | enableAircraftPartsHistory (bool enabled) |
| Enable storing of aircraft parts. More... | |
| int | aircraftSituationsAdded () const |
| Number of situations added. More... | |
| int | aircraftPartsAdded () const |
| Number of parts added. More... | |
| qint64 | situationsLastModified (const swift::misc::aviation::CCallsign &callsign) const |
| When last modified. More... | |
| qint64 | partsLastModified (const swift::misc::aviation::CCallsign &callsign) const |
| When last modified. More... | |
| QString | getNetworkStatistics (bool reset, const QString &separator) |
| Statistics info. More... | |
| bool | setNetworkStatisticsEnable (bool enabled) |
| Statistics enable/disable. More... | |
| bool | testAddAltitudeOffset (const swift::misc::aviation::CCallsign &callsign, const swift::misc::physical_quantities::CLength &offset=swift::misc::physical_quantities::CLength::null()) |
| Add altitude offset for testing. More... | |
| QStringList | getNetworkPresetValues () const |
| Network preset values. More... | |
| swift::misc::aviation::CCallsign | getPartnerCallsign () const |
| Partner callsign if any. More... | |
| swift::misc::network::CClientList | getClients () const |
| Get other clients. More... | |
| swift::misc::network::CClientList | getClientsForCallsigns (const swift::misc::aviation::CCallsignSet &callsigns) const |
| Returns a list of other clients corresponding to the given callsigns. More... | |
| bool | setOtherClient (const swift::misc::network::CClient &client) |
| Set client for its callsign. More... | |
| bool | isPendingConnection () const |
| In transition state, e.g. connecting, disconnecting. More... | |
| bool | parseCommandLine (const QString &commandLine, const swift::misc::CIdentifier &originator) |
| Parse a given command line. More... | |
| static void | registerHelp () |
| Register help. | |
| swift::misc::aviation::CAtcStationList | getAtcStationsOnline (bool recalculateDistance) const |
| The ATC list with online ATC controllers. More... | |
| swift::misc::aviation::CAtcStationList | getClosestAtcStationsOnline (int number) const |
| The ATC list with online ATC controllers. More... | |
| swift::misc::aviation::CAtcStation | getOnlineStationForCallsign (const swift::misc::aviation::CCallsign &callsign) const |
| Online station for callsign. More... | |
| swift::misc::aviation::CAtcStationList | getOnlineStationsForFrequency (const swift::misc::physical_quantities::CFrequency &frequency) const |
| Online stations for frequency. More... | |
| bool | isOnlineStation (const swift::misc::aviation::CCallsign &callsign) const |
| Online station for callsign? More... | |
| swift::misc::CStatusMessage | connectToNetwork (const swift::misc::network::CServer &server, const QString &extraLiveryString, bool sendLivery, const QString &extraModelString, bool sendModelString, const swift::misc::aviation::CCallsign &partnerCallsign, swift::misc::network::CLoginMode mode) |
| Connect to Network. More... | |
| swift::misc::network::CServer | getConnectedServer () const |
| Server which is connected, if not connected empty default object. More... | |
| swift::misc::network::CLoginMode | getLoginMode () const |
| Login mode. More... | |
| swift::misc::CStatusMessage | disconnectFromNetwork () |
| Disconnect from network. More... | |
| bool | isConnected () const |
| Network connected? More... | |
| void | sendTextMessages (const swift::misc::network::CTextMessageList &textMessages) |
| Text messages (radio and private chat messages) More... | |
| void | sendFlightPlan (const swift::misc::aviation::CFlightPlan &flightPlan) |
| Send flight plan. More... | |
| swift::misc::aviation::CFlightPlan | loadFlightPlanFromNetwork (const swift::misc::aviation::CCallsign &callsign) const |
| Load flight plan (from network) More... | |
| swift::misc::weather::CMetar | getMetarForAirport (const swift::misc::aviation::CAirportIcaoCode &airportIcaoCode) const |
| Get METAR, if not available request it (code such as EDDF, KLAX) More... | |
| swift::misc::network::CUserList | getUsers () const |
| Get all users. More... | |
| swift::misc::network::CUserList | getUsersForCallsigns (const swift::misc::aviation::CCallsignSet &callsigns) const |
| Users for given callsigns, e.g. for voice room resolution. More... | |
| swift::misc::network::CUser | getUserForCallsign (const swift::misc::aviation::CCallsign &callsign) const |
| User for given callsign, e.g. for text messages. More... | |
| swift::misc::network::CServerList | getVatsimFsdServers () const |
| Known FSD servers, available when data file was first read. More... | |
| void | requestAircraftDataUpdates () |
| Request data updates (pilot's frequencies, ATIS, ..) More... | |
| void | requestAtisUpdates () |
| Request ATIS updates (for all stations) More... | |
| void | setFastPositionEnabledCallsigns (swift::misc::aviation::CCallsignSet &callsigns) |
| Callsigns enabled for fast position updates. More... | |
| swift::misc::aviation::CCallsignSet | getFastPositionEnabledCallsigns () const |
| Callsigns enabled for fast position updates. More... | |
| void | testCreateDummyOnlineAtcStations (int number) |
| Create dummy ATC stations for performance tests etc. More... | |
| void | testAddAircraftParts (const swift::misc::aviation::CCallsign &callsign, const swift::misc::aviation::CAircraftParts &parts, bool incremental) |
| Inject aircraft parts for testing. More... | |
| void | testReceivedAtisMessage (const swift::misc::aviation::CCallsign &callsign, const swift::misc::aviation::CInformationMessage &msg) |
| Inject an ATIS. More... | |
| void | testReceivedTextMessages (const swift::misc::network::CTextMessageList &textMessages) |
| Inject a text message as received. More... | |
| void | testRequestAircraftConfig (const swift::misc::aviation::CCallsign &callsign) |
| Request parts for callsign (from another client) More... | |
Public Slots inherited from swift::core::context::IContextNetwork | |
| virtual swift::misc::aviation::CAtcStationList | getAtcStationsOnline (bool recalculateDistance) const =0 |
| The ATC list with online ATC controllers. | |
| virtual swift::misc::aviation::CAtcStationList | getClosestAtcStationsOnline (int number) const =0 |
| The ATC list with online ATC controllers. More... | |
| virtual swift::misc::simulation::CSimulatedAircraftList | getAircraftInRange () const =0 |
| Aircraft list. | |
| virtual swift::misc::aviation::CCallsignSet | getAircraftInRangeCallsigns () const =0 |
| Aircraft callsigns. | |
| virtual swift::misc::simulation::CSimulatedAircraft | getAircraftInRangeForCallsign (const swift::misc::aviation::CCallsign &callsign) const =0 |
| Aircraft for given callsign. | |
| virtual int | getAircraftInRangeCount () const =0 |
| Aircraft count. | |
| virtual bool | isAircraftInRange (const swift::misc::aviation::CCallsign &callsign) const =0 |
| Aircraft in range. | |
| virtual swift::misc::weather::CMetar | getMetarForAirport (const swift::misc::aviation::CAirportIcaoCode &airportIcaoCode) const =0 |
| Get METAR, if not available request it (code such as EDDF, KLAX) | |
| virtual swift::misc::aviation::CAtcStation | getOnlineStationForCallsign (const swift::misc::aviation::CCallsign &callsign) const =0 |
| Online station for callsign. | |
| virtual swift::misc::aviation::CAtcStationList | getOnlineStationsForFrequency (const swift::misc::physical_quantities::CFrequency &frequency) const =0 |
| Online stations for frequency. | |
| virtual bool | isOnlineStation (const swift::misc::aviation::CCallsign &callsign) const =0 |
| Online station for callsign? | |
| virtual swift::misc::network::CUserList | getUsers () const =0 |
| Get all users. | |
| virtual swift::misc::network::CUserList | getUsersForCallsigns (const swift::misc::aviation::CCallsignSet &callsigns) const =0 |
| Users for given callsigns, e.g. for voice room resolution. | |
| virtual swift::misc::network::CUser | getUserForCallsign (const swift::misc::aviation::CCallsign &callsign) const =0 |
| User for given callsign, e.g. for text messages. | |
| virtual swift::misc::network::CClientList | getClients () const =0 |
| Information about other clients. | |
| virtual swift::misc::network::CClientList | getClientsForCallsigns (const swift::misc::aviation::CCallsignSet &callsigns) const =0 |
| Clients for given callsign, e.g. to test/fetch direct aircraft model. | |
| virtual bool | setOtherClient (const swift::misc::network::CClient &client)=0 |
| Set client for given callsign. | |
| virtual swift::misc::network::CServerList | getVatsimFsdServers () const =0 |
| Known FSD servers, available when data file was first read. | |
| virtual void | setFastPositionEnabledCallsigns (swift::misc::aviation::CCallsignSet &callsigns)=0 |
| Callsigns enabled for fast position updates. | |
| virtual swift::misc::aviation::CCallsignSet | getFastPositionEnabledCallsigns () const =0 |
| Callsigns enabled for fast position updates. | |
| virtual swift::misc::CStatusMessage | connectToNetwork (const swift::misc::network::CServer &server, const QString &extraLiveryString, bool sendLivery, const QString &extraModelString, bool sendModelString, const swift::misc::aviation::CCallsign &partnerCallsign, swift::misc::network::CLoginMode loginMode)=0 |
| Connect to Network. More... | |
| virtual swift::misc::network::CServer | getConnectedServer () const =0 |
| Server which is connected, if not connected empty default object. | |
| virtual swift::misc::network::CLoginMode | getLoginMode () const =0 |
| Login mode. | |
| QString | getLoginModeAsString () const |
| Mode as string. | |
| virtual swift::misc::CStatusMessage | disconnectFromNetwork ()=0 |
| Disconnect from network. More... | |
| virtual bool | isConnected () const =0 |
| Network connected? | |
| virtual void | sendTextMessages (const swift::misc::network::CTextMessageList &textMessages)=0 |
| Text messages (radio and private chat messages) | |
| virtual void | sendFlightPlan (const swift::misc::aviation::CFlightPlan &flightPlan)=0 |
| Send flight plan. | |
| virtual swift::misc::aviation::CFlightPlan | loadFlightPlanFromNetwork (const swift::misc::aviation::CCallsign &callsign) const =0 |
| Load flight plan (from network) | |
| virtual void | requestAircraftDataUpdates ()=0 |
| Request data updates (pilot's frequencies, ATIS, ..) | |
| virtual void | requestAtisUpdates ()=0 |
| Request ATIS updates (for all stations) | |
| virtual bool | updateAircraftEnabled (const swift::misc::aviation::CCallsign &callsign, bool enabledForRendering)=0 |
| Enable/disable rendering. | |
| virtual bool | setAircraftEnabledFlag (const swift::misc::aviation::CCallsign &callsign, bool enabledForRendering)=0 |
| Set the enabled flag without any further logic like sending signals. | |
| virtual bool | updateAircraftSupportingGndFLag (const swift::misc::aviation::CCallsign &callsign, bool supportGndFlag)=0 |
| Enable/disable support of gnd. flag. | |
| virtual bool | updateAircraftModel (const swift::misc::aviation::CCallsign &callsign, const swift::misc::simulation::CAircraftModel &model, const swift::misc::CIdentifier &originator)=0 |
| Change model (for remote aircraft) | |
| virtual bool | updateAircraftNetworkModel (const swift::misc::aviation::CCallsign &callsign, const swift::misc::simulation::CAircraftModel &model, const swift::misc::CIdentifier &originator)=0 |
| Change network model (for remote aircraft) | |
| virtual bool | updateFastPositionEnabled (const swift::misc::aviation::CCallsign &callsign, bool enableFastPositionSending)=0 |
| Change fast position updates. | |
| virtual int | reInitializeAllAircraft ()=0 |
| Re-initialize all aircraft. | |
| virtual swift::misc::CStatusMessageList | getReverseLookupMessages (const swift::misc::aviation::CCallsign &callsign) const =0 |
| Get reverse lookup messages. | |
| virtual swift::misc::simulation::ReverseLookupLogging | isReverseLookupMessagesEnabled () const =0 |
| Enabled reverse lookup logging? | |
| virtual void | enableReverseLookupMessages (swift::misc::simulation::ReverseLookupLogging enable)=0 |
| Enable reverse lookup logging. | |
| virtual swift::misc::CStatusMessageList | getAircraftPartsHistory (const swift::misc::aviation::CCallsign &callsign) const =0 |
| Get aircraft parts history. | |
| virtual swift::misc::aviation::CAircraftPartsList | getRemoteAircraftParts (const swift::misc::aviation::CCallsign &callsign) const =0 |
| Get remote aircraft parts. | |
| virtual bool | isRemoteAircraftSupportingParts (const swift::misc::aviation::CCallsign &callsign) const =0 |
| Parts supported? | |
| virtual bool | isAircraftPartsHistoryEnabled () const =0 |
| Is storing the aircraft parts history enabled? | |
| virtual void | enableAircraftPartsHistory (bool enabled)=0 |
| Enable storing of aircraft parts. | |
| virtual QString | getNetworkStatistics (bool reset, const QString &separator)=0 |
| Statistics info. | |
| virtual bool | setNetworkStatisticsEnable (bool enabled)=0 |
| Statistics enable/disable. | |
| virtual QStringList | getNetworkPresetValues () const =0 |
| Network preset values. | |
| virtual swift::misc::aviation::CCallsign | getPartnerCallsign () const =0 |
| Partner callsign if any. | |
| virtual void | testCreateDummyOnlineAtcStations (int number)=0 |
| Create dummy ATC stations for performance tests etc. | |
| virtual void | testAddAircraftParts (const swift::misc::aviation::CCallsign &callsign, const swift::misc::aviation::CAircraftParts &parts, bool incremental)=0 |
| Inject aircraft parts for testing. | |
| virtual void | testReceivedTextMessages (const swift::misc::network::CTextMessageList &textMessages)=0 |
| Inject a text message as received. | |
| virtual void | testReceivedAtisMessage (const swift::misc::aviation::CCallsign &callsign, const swift::misc::aviation::CInformationMessage &msg)=0 |
| Inject an ATIS. | |
| virtual void | testRequestAircraftConfig (const swift::misc::aviation::CCallsign &callsign)=0 |
| Request parts for callsign (from another client) | |
| virtual bool | testAddAltitudeOffset (const swift::misc::aviation::CCallsign &callsign, const swift::misc::physical_quantities::CLength &offset=swift::misc::physical_quantities::CLength::null())=0 |
| Add altitude offset for testing. | |
Public Member Functions | |
| ~CContextNetwork () | |
| Destructor. | |
| swift::misc::aviation::CAircraftSituationList | remoteAircraftSituations (const swift::misc::aviation::CCallsign &callsign) const |
| Rendered aircraft situations (per callsign, time history) More... | |
| swift::misc::aviation::CAircraftSituation | remoteAircraftSituation (const swift::misc::aviation::CCallsign &callsign, int index) const |
| Rendered aircraft situations (per callsign and index) More... | |
| swift::misc::MillisecondsMinMaxMean | remoteAircraftSituationsTimestampDifferenceMinMaxMean (const swift::misc::aviation::CCallsign &callsign) const |
| Average update time. More... | |
| swift::misc::aviation::CAircraftSituationList | latestRemoteAircraftSituations () const |
| Latest aircraft situation for all callsigns. More... | |
| swift::misc::aviation::CAircraftSituationList | latestOnGroundProviderElevations () const |
| Latest aircraft situation "on ground" having a provider elevation. More... | |
| int | remoteAircraftSituationsCount (const swift::misc::aviation::CCallsign &callsign) const |
| Number of remote aircraft situations for callsign. More... | |
| swift::misc::aviation::CAircraftPartsList | remoteAircraftParts (const swift::misc::aviation::CCallsign &callsign) const |
| All parts (per callsign, time history) More... | |
| int | remoteAircraftPartsCount (const swift::misc::aviation::CCallsign &callsign) const |
| All parts (per callsign, time history) More... | |
| swift::misc::aviation::CCallsignSet | remoteAircraftSupportingParts () const |
| Remote aircraft supporting parts. More... | |
| swift::misc::aviation::CAircraftSituationChangeList | remoteAircraftSituationChanges (const swift::misc::aviation::CCallsign &callsign) const |
| Aircraft changes. More... | |
| int | remoteAircraftSituationChangesCount (const swift::misc::aviation::CCallsign &callsign) const |
| Aircraft changes count. More... | |
| bool | updateAircraftRendered (const swift::misc::aviation::CCallsign &callsign, bool rendered) |
| Set aircraft rendered. More... | |
| int | updateMultipleAircraftRendered (const swift::misc::aviation::CCallsignSet &callsigns, bool rendered) |
| Set aircraft rendered. More... | |
| int | updateMultipleAircraftEnabled (const swift::misc::aviation::CCallsignSet &callsigns, bool enabled) |
| Enable/disable aircraft. More... | |
| int | updateAircraftGroundElevation (const swift::misc::aviation::CCallsign &callsign, const swift::misc::geo::CElevationPlane &elevation, swift::misc::aviation::CAircraftSituation::GndElevationInfo info, bool *setForOnGroundPosition) |
| Update the ground elevation. More... | |
| void | updateMarkAllAsNotRendered () |
| Mark all as not rendered. More... | |
| swift::misc::physical_quantities::CLength | getCGFromDB (const swift::misc::aviation::CCallsign &callsign) const |
| CG values from DB. More... | |
| swift::misc::physical_quantities::CLength | getCGFromDB (const QString &modelString) const |
| CG values from DB. More... | |
| void | rememberCGFromDB (const swift::misc::physical_quantities::CLength &cgFromDB, const swift::misc::aviation::CCallsign &callsign) |
| CG values from DB. More... | |
| void | rememberCGFromDB (const swift::misc::physical_quantities::CLength &cgFromDB, const QString &modelString) |
| CG values from DB. More... | |
| swift::misc::simulation::CAirspaceAircraftSnapshot | getLatestAirspaceAircraftSnapshot () const |
| Current snapshot. More... | |
| swift::misc::geo::CElevationPlane | averageElevationOfNonMovingAircraft (const swift::misc::aviation::CAircraftSituation &reference, const swift::misc::physical_quantities::CLength &range, int minValues=1, int sufficientValues=2) const |
| Average elevation of aircraft in given range, which are NOT moving. More... | |
| QList< QMetaObject::Connection > | connectRemoteAircraftProviderSignals (QObject *receiver, std::function< void(const swift::misc::aviation::CAircraftSituation &)> addedSituationSlot, std::function< void(const swift::misc::aviation::CCallsign &, const swift::misc::aviation::CAircraftParts &)> addedPartsSlot, std::function< void(const swift::misc::aviation::CCallsign &)> removedAircraftSlot, std::function< void(const swift::misc::simulation::CAirspaceAircraftSnapshot &)> aircraftSnapshotSlot) |
| Connect signals to slot receiver. As the interface is no QObject, slots can not be connected directly. In order to disconnect a list of connections is provided, which have to be disconnected manually. More... | |
| void | setClients (const swift::misc::network::CClientList &clients) |
| Set other clients. More... | |
| void | clearClients () |
| Set other clients. More... | |
| swift::misc::network::CClient | getClientOrDefaultForCallsign (const swift::misc::aviation::CCallsign &callsign) const |
| Other client for the given callsigns. More... | |
| bool | hasClientInfo (const swift::misc::aviation::CCallsign &callsign) const |
| Client info for given callsign? More... | |
| bool | addNewClient (const swift::misc::network::CClient &client) |
| Add a new client, if existing nothing will be added. More... | |
| int | updateOrAddClient (const swift::misc::aviation::CCallsign &callsign, const swift::misc::CPropertyIndexVariantMap &vm, bool skipEqualValues=true) |
| Update or add a client. More... | |
| int | removeClient (const swift::misc::aviation::CCallsign &callsign) |
| Remove client. More... | |
| bool | autoAdjustCientGndCapability (const swift::misc::aviation::CAircraftSituation &situation) |
| Adjust gnd.flag capability from situation. More... | |
| bool | addClientGndCapability (const swift::misc::aviation::CCallsign &callsign) |
| Add gnd.flag capability. More... | |
| bool | setClientGndCapability (const swift::misc::aviation::CCallsign &callsign, bool supportGndFlag) |
| Set gnd.flag capability. More... | |
| void | markAsSwiftClient (const swift::misc::aviation::CCallsign &callsign) |
| Mark as other swift client. More... | |
| QMetaObject::Connection | connectRawFsdMessageSignal (QObject *receiver, RawFsdMessageReceivedSlot rawFsdMessageReceivedSlot) |
| Connect to receive raw fsd messages. More... | |
| void | gracefulShutdown () |
| Gracefully shut down, e.g. for thread safety. | |
Public Member Functions inherited from swift::core::context::IContextNetwork | |
| QString | getPathAndContextId () const |
| Id and path name for round trip protection. More... | |
| ~IContextNetwork ()=default | |
| Destructor. | |
Public Member Functions inherited from swift::core::context::IContext | |
| ~IContext ()=default | |
| Destructor. | |
| bool | isUsingImplementingObject () const |
| Using local implementing object? | |
| bool | isLocalObject () const |
| Local or remote object? | |
| bool | isEmptyObject () const |
| Empty object? | |
| CCoreFacade * | getRuntime () |
| Runtime. | |
| const CCoreFacade * | getRuntime () const |
| Const runtime. | |
| CCoreFacadeConfig::ContextMode | getMode () const |
| Mode. | |
| qint64 | getUniqueId () const |
| Unique id. | |
| const IContextApplication * | getIContextApplication () const |
| Context for application. | |
| IContextApplication * | getIContextApplication () |
| Application. | |
| IContextAudio * | getIContextAudio () |
| Context for network. | |
| const IContextAudio * | getIContextAudio () const |
| Context for network. | |
| IContextNetwork * | getIContextNetwork () |
| Context for network. | |
| const IContextNetwork * | getIContextNetwork () const |
| Context for network. | |
| IContextOwnAircraft * | getIContextOwnAircraft () |
| Context for own aircraft. | |
| const IContextOwnAircraft * | getIContextOwnAircraft () const |
| Context for own aircraft. | |
| const IContextSimulator * | getIContextSimulator () const |
| Context for simulator. | |
| IContextSimulator * | getIContextSimulator () |
| Simulator. | |
| void | setDebugEnabled (bool debug) |
| Set debug flag. | |
| bool | isDebugEnabled () const |
| Debug enabled? | |
| virtual bool | parseCommandLine (const QString &commandLine, const swift::misc::CIdentifier &originator)=0 |
| Parse a given command line. | |
Public Member Functions inherited from QObject | |
| QBindable< QString > | bindableObjectName () |
| QObject (QObject *parent) | |
| QT_NO_CONTEXTLESS_CONNECT QT_NO_CONTEXTLESS_CONNECT | |
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_CLASSINFO (Name, Value) | |
| Q_EMIT Q_EMIT | |
| Q_ENUM (...) | |
| Q_ENUMS (...) | |
| Q_ENUM_NS (...) | |
| Q_FLAG (...) | |
| Q_FLAGS (...) | |
| Q_FLAG_NS (...) | |
| Q_GADGET Q_GADGET | |
| Q_GADGET_EXPORT (EXPORT_MACRO) | |
| Q_INTERFACES (...) | |
| Q_INVOKABLE Q_INVOKABLE | |
| Q_MOC_INCLUDE Q_MOC_INCLUDE | |
| Q_NAMESPACE Q_NAMESPACE | |
| Q_NAMESPACE_EXPORT (EXPORT_MACRO) | |
| Q_OBJECT Q_OBJECT | |
| Q_PROPERTY (...) | |
| Q_REVISION Q_REVISION | |
| Q_SET_OBJECT_NAME (Object) | |
| Q_SIGNAL Q_SIGNAL | |
| Q_SIGNALS Q_SIGNALS | |
| Q_SLOT Q_SLOT | |
| Q_SLOTS Q_SLOTS | |
| T | qobject_cast (QObject *object) |
| T | qobject_cast (const QObject *object) |
| bool | blockSignals (bool block) |
| virtual bool | event (QEvent *e) |
| virtual bool | eventFilter (QObject *watched, QEvent *event) |
| bool | moveToThread (QThread *targetThread) |
| bool | setProperty (const char *name, QVariant &&value) |
| bool | setProperty (const char *name, const QVariant &value) |
| int | startTimer (int interval, Qt::TimerType timerType) |
| int | startTimer (std::chrono::nanoseconds interval, Qt::TimerType timerType) |
| void | deleteLater () |
| void | destroyed (QObject *obj) |
| void | installEventFilter (QObject *filterObj) |
| void | killTimer (Qt::TimerId id) |
| void | killTimer (int id) |
| void | objectNameChanged (const QString &objectName) |
| void | removeEventFilter (QObject *obj) |
| void | setObjectName (QAnyStringView name) |
| void | setObjectName (const QString &name) |
| void | setParent (QObject *parent) |
| QList< QByteArray > | dynamicPropertyNames () const const |
| QList< T > | findChildren (QAnyStringView name, Qt::FindChildOptions options) const const |
| QList< T > | findChildren (Qt::FindChildOptions options) const const |
| QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
| QObject * | parent () const const |
| QString | objectName () const const |
| QThread * | thread () const const |
| QVariant | property (const char *name) const const |
| T | findChild (QAnyStringView name, Qt::FindChildOptions options) const const |
| T | findChild (Qt::FindChildOptions options) const const |
| bool | disconnect (const QObject *receiver, const char *method) const const |
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
| bool | inherits (const char *className) const const |
| bool | isQuickItemType () const const |
| bool | isWidgetType () const const |
| bool | isWindowType () const const |
| bool | signalsBlocked () const const |
| virtual const QMetaObject * | metaObject () const const |
| const QObjectList & | children () const const |
| void | dumpObjectInfo () const const |
| void | dumpObjectTree () const const |
Public Member Functions inherited from swift::misc::simulation::IRemoteAircraftProvider | |
| ~IRemoteAircraftProvider ()=default | |
| Destructor. | |
| IRemoteAircraftProvider (const IRemoteAircraftProvider &)=delete | |
| Copy constructor. | |
| IRemoteAircraftProvider & | operator= (const IRemoteAircraftProvider &)=delete |
| Copy assignment operator. | |
| virtual CSimulatedAircraftList | getAircraftInRange () const =0 |
| All remote aircraft. More... | |
| virtual int | getAircraftInRangeCount () const =0 |
| Count remote aircraft. More... | |
| virtual aviation::CCallsignSet | getAircraftInRangeCallsigns () const =0 |
| Unique callsigns for aircraft in range. More... | |
| virtual bool | isAircraftInRange (const aviation::CCallsign &callsign) const =0 |
| Is aircraft in range? More... | |
| virtual bool | isVtolAircraft (const aviation::CCallsign &callsign) const =0 |
| Is VTOL aircraft? More... | |
| virtual CSimulatedAircraft | getAircraftInRangeForCallsign (const aviation::CCallsign &callsign) const =0 |
| Aircraft for callsign. More... | |
| virtual CAircraftModel | getAircraftInRangeModelForCallsign (const aviation::CCallsign &callsign) const =0 |
| Aircraft model for callsign. More... | |
| virtual bool | isRemoteAircraftSupportingParts (const aviation::CCallsign &callsign) const =0 |
| Is remote aircraft supporting parts? More... | |
| aviation::CAircraftParts | getLatestAircraftParts (const aviation::CCallsign &callsign) const |
| Get the latest aircraft parts (if any, otherwise default) More... | |
| virtual int | getRemoteAircraftSupportingPartsCount () const =0 |
| Number of aircraft supporting parts. More... | |
| virtual bool | updateAircraftEnabled (const aviation::CCallsign &callsign, bool enabledForRendering)=0 |
| Enable/disable aircraft and follow up logic like sending signals. More... | |
| virtual bool | setAircraftEnabledFlag (const swift::misc::aviation::CCallsign &callsign, bool enabledForRendering)=0 |
| Just set enable/disable aircraft flag, no further logic. More... | |
| virtual bool | updateAircraftModel (const aviation::CCallsign &callsign, const CAircraftModel &model, const CIdentifier &originator)=0 |
| Change model. More... | |
| virtual bool | updateAircraftNetworkModel (const aviation::CCallsign &callsign, const CAircraftModel &model, const CIdentifier &originator)=0 |
| Change network model. More... | |
| virtual bool | updateFastPositionEnabled (const aviation::CCallsign &callsign, bool enableFastPositonUpdates)=0 |
| Change fast position updates. More... | |
| virtual bool | updateCG (const aviation::CCallsign &callsign, const physical_quantities::CLength &cg)=0 |
| Update the CG. More... | |
| virtual aviation::CCallsignSet | updateCGForModel (const QString &modelString, const physical_quantities::CLength &cg)=0 |
| Update the CG for this model string. More... | |
| virtual bool | updateCGAndModelString (const aviation::CCallsign &callsign, const physical_quantities::CLength &cg, const QString &modelString)=0 |
| Update the CG and model string. More... | |
| virtual CStatusMessageList | getReverseLookupMessages (const aviation::CCallsign &callsign) const =0 |
| Get reverse lookup meesages. More... | |
| virtual ReverseLookupLogging | isReverseLookupMessagesEnabled () const =0 |
| Enabled reverse lookup logging? More... | |
| virtual void | enableReverseLookupMessages (ReverseLookupLogging enable)=0 |
| Enable reverse lookup logging. More... | |
| virtual CStatusMessageList | getAircraftPartsHistory (const aviation::CCallsign &callsign) const =0 |
| Get aircraft parts history. More... | |
| virtual bool | isAircraftPartsHistoryEnabled () const =0 |
| Is storing aircraft parts history enabled? More... | |
| virtual void | enableAircraftPartsHistory (bool enabled)=0 |
| Enable storing of aircraft parts history. More... | |
| virtual int | aircraftSituationsAdded () const =0 |
| Number of situations added. More... | |
| virtual int | aircraftPartsAdded () const =0 |
| Number of parts added. More... | |
| virtual qint64 | situationsLastModified (const aviation::CCallsign &callsign) const =0 |
| When last modified. More... | |
| virtual qint64 | partsLastModified (const aviation::CCallsign &callsign) const =0 |
| When last modified. More... | |
| virtual QList< QMetaObject::Connection > | connectRemoteAircraftProviderSignals (QObject *receiver, std::function< void(const aviation::CAircraftSituation &)> addedSituationSlot, std::function< void(const aviation::CCallsign &, const aviation::CAircraftParts &)> addedPartsSlot, std::function< void(const aviation::CCallsign &)> removedAircraftSlot, std::function< void(const CAirspaceAircraftSnapshot &)> aircraftSnapshot)=0 |
| Connect signals to slot receiver. As the interface is no QObject, slots can not be connected directly. In order to disconnect a list of connections is provided, which have to be disconnected manually. More... | |
Public Member Functions inherited from swift::misc::IProvider | |
| virtual | ~IProvider ()=default |
| Dtor. | |
| IProvider (const IProvider &)=delete | |
| Copy constructor. | |
| IProvider & | operator= (const IProvider &)=delete |
| Copy assignment operator. | |
| virtual QObject * | asQObject () |
| Return as QObject. | |
Public Member Functions inherited from swift::misc::network::IClientProvider | |
| virtual CClientList | getClients () const =0 |
| Get other clients. More... | |
| virtual CClientList | getClientsForCallsigns (const aviation::CCallsignSet &callsigns) const =0 |
| Returns a list of other clients corresponding to the given callsigns. More... | |
| virtual bool | setOtherClient (const swift::misc::network::CClient &client)=0 |
| Set client for its callsign. More... | |
Protected Member Functions | |
| fsd::CFSDClient * | fsdClient () const |
| Network library. More... | |
| CAirspaceMonitor * | airspace () const |
| Airspace. More... | |
| CContextNetwork (CCoreFacadeConfig::ContextMode, CCoreFacade *runtime) | |
| Constructor, with link to runtime. More... | |
| void | setSimulationEnvironmentProvider (swift::misc::simulation::ISimulationEnvironmentProvider *provider) |
| Set the provider. | |
Protected Member Functions inherited from swift::core::context::IContextNetwork | |
| IContextNetwork (CCoreFacadeConfig::ContextMode mode, CCoreFacade *runtime) | |
| Constructor. | |
Protected Member Functions inherited from swift::core::context::IContext | |
| IContext (CCoreFacadeConfig::ContextMode mode, QObject *parent) | |
| Constructor. | |
| QString | buildPathAndContextId (const QString &path) const |
| Path and context id. | |
| void | relayBaseClassSignals (const QString &serviceName, QDBusConnection &connection, const QString &objectPath, const QString &interfaceName) |
| Relay signals from this class. | |
| void | logEmptyContextWarning (const QString &functionName) const |
| Empty context called. | |
| virtual void | onAboutToShutdown () |
| Called when shutdown is about to be called. | |
| void | registerWithDBus (const QString &objectPath, misc::CDBusServer *server) |
| Register myself in DBus. | |
Protected Member Functions inherited from QObject | |
| virtual void | childEvent (QChildEvent *event) |
| virtual void | connectNotify (const QMetaMethod &signal) |
| virtual void | customEvent (QEvent *event) |
| virtual void | disconnectNotify (const QMetaMethod &signal) |
| virtual void | timerEvent (QTimerEvent *event) |
| QObject * | sender () const const |
| bool | isSignalConnected (const QMetaMethod &signal) const const |
| int | receivers (const char *signal) const const |
| int | senderSignalIndex () const const |
Protected Member Functions inherited from swift::misc::simulation::IRemoteAircraftProvider | |
| IRemoteAircraftProvider ()=default | |
| Constructor. | |
Protected Member Functions inherited from swift::misc::IProvider | |
| IProvider () | |
| Constructor. | |
Friends | |
| class | IContextNetwork |
| class | swift::core::CCoreFacade |
Additional Inherited Members | |
Public Types inherited from swift::core::context::IContextNetwork | |
| using | RawFsdMessageReceivedSlot = std::function< void(const swift::misc::network::CRawFsdMessage &)> |
| Raw FSD message receiver functor. | |
Public Types inherited from QObject | |
| enum | TimerId |
Signals inherited from swift::core::context::IContextNetwork | |
| void | removedAircraft (const swift::misc::aviation::CCallsign &callsign) |
| An aircraft disappeared. | |
| void | addedAircraft (const swift::misc::simulation::CSimulatedAircraft &remoteAircraft) |
| A new aircraft appeared. | |
| void | readyForModelMatching (const swift::misc::simulation::CSimulatedAircraft &renderedAircraft) |
| Read for model matching. | |
| void | changedAtcStationsOnline () |
| ATC station (online) list has been changed. | |
| void | changedAtcStationsOnlineDigest () |
| Digest signal changedAtcStationsOnline() | |
| void | changedAircraftInRange () |
| Aircraft list has been changed. | |
| void | changedAircraftInRangeDigest () |
| Digest signal changedAircraftInRange() | |
| void | changedRemoteAircraftModel (const swift::misc::simulation::CSimulatedAircraft &aircraft, const swift::misc::CIdentifier &originator) |
| Aircraft model was changed. More... | |
| void | changedRemoteAircraftEnabled (const swift::misc::simulation::CSimulatedAircraft &aircraft) |
| Aircraft enabled / disabled. More... | |
| void | changedFastPositionUpdates (const swift::misc::simulation::CSimulatedAircraft &aircraft) |
| Aircraft enabled / disabled. | |
| void | changedGndFlagCapability (const swift::misc::simulation::CSimulatedAircraft &aircraft) |
| Changed gnd. flag capability. | |
| void | atcStationDisconnected (const swift::misc::aviation::CAtcStation &atcStation) |
| ATC station disconnected. | |
| void | kicked (const QString &kickMessage) |
| User has been kicked from network. | |
| void | severeNetworkError (const QString &errorMessage) |
| Network error. | |
| void | muteRequestReceived (bool mute) |
| Mute request received. | |
| void | connectionStatusChanged (const swift::misc::network::CConnectionStatus &from, const swift::misc::network::CConnectionStatus &to) |
| Connection status changed. More... | |
| void | connectedServerChanged (const swift::misc::network::CServer &server) |
| The connected server has been changed. More... | |
| void | textMessagesReceived (const swift::misc::network::CTextMessageList &textMessages) |
| Text messages received (also private chat messages, radio channel messages) | |
| void | supervisorTextMessageReceived (const swift::misc::network::CTextMessage &message) |
| A supervisor text message was received. | |
| void | textMessageSent (const swift::misc::network::CTextMessage &sentMessage) |
| Text message sent (by me) | |
Signals inherited from swift::core::context::IContext | |
| void | changedLogOrDebugSettings () |
| Log or debug values changed. | |
Static Public Member Functions inherited from swift::core::context::IContextNetwork | |
| static const QString & | InterfaceName () |
| DBus interface name. | |
| static const QString & | ObjectPath () |
| DBus object path. | |
| static IContextNetwork * | create (CCoreFacade *parent, CCoreFacadeConfig::ContextMode mode, swift::misc::CDBusServer *server, QDBusConnection &connection) |
| Factory method. | |
| static const QList< QCommandLineOption > & | getCmdLineOptions () |
| Cmd.line arguments. | |
Static Public Member Functions inherited from swift::core::context::IContext | |
| static const QStringList & | getLogCategories () |
| Log categories. | |
Static Public Member Functions inherited from QObject | |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
| QString | tr (const char *sourceText, const char *disambiguation, int n) |
| bool | disconnect (const QMetaObject::Connection &connection) |
| bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
Static Public Member Functions inherited from swift::misc::simulation::IRemoteAircraftProvider | |
| static void | removeOutdatedParts (aviation::CAircraftPartsList &partsList) |
| Remove outdated aircraft parts, but never the most recent one. | |
| static const aviation::CCallsign & | testAltitudeOffsetCallsign () |
| Wildcard callsign. | |
Public Attributes inherited from QObject | |
| typedef | QObjectList |
| Invalid | |
Static Public Attributes inherited from swift::misc::simulation::IRemoteAircraftProvider | |
| static constexpr int | MaxSituationsPerCallsign = 50 |
| How many situations we keep per callsign. | |
| static constexpr int | MaxPartsPerCallsign = 50 |
| How many parts we keep per callsign. | |
| static constexpr int | MaxPartsAgePerCallsignSecs = 60 |
| How many seconds to keep parts for interpolation. | |
Static Protected Member Functions inherited from swift::core::context::IContext | |
| static const misc::CStatusMessage & | statusMessageEmptyContext () |
| Standard message when status message is returned in empty context. | |
Properties inherited from QObject | |
| objectName | |
Network context implementation.
Definition at line 77 of file contextnetworkimpl.h.
|
protected |
Constructor, with link to runtime.
Definition at line 52 of file contextnetworkimpl.cpp.
|
virtual |
Add gnd.flag capability.
Implements swift::misc::network::IClientProvider.
Definition at line 655 of file contextnetworkimpl.cpp.
|
virtual |
Add a new client, if existing nothing will be added.
Implements swift::misc::network::IClientProvider.
Definition at line 1332 of file contextnetworkimpl.cpp.
|
slot |
Number of parts added.
Definition at line 1013 of file contextnetworkimpl.cpp.
|
slot |
Number of situations added.
Definition at line 1007 of file contextnetworkimpl.cpp.
|
inlineprotected |
Airspace.
Definition at line 178 of file contextnetworkimpl.h.
|
virtual |
Adjust gnd.flag capability from situation.
Implements swift::misc::network::IClientProvider.
Definition at line 649 of file contextnetworkimpl.cpp.
|
virtual |
Average elevation of aircraft in given range, which are NOT moving.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 1308 of file contextnetworkimpl.cpp.
|
virtual |
Set other clients.
Implements swift::misc::network::IClientProvider.
Definition at line 1318 of file contextnetworkimpl.cpp.
|
virtual |
Connect to receive raw fsd messages.
Implements swift::core::context::IContextNetwork.
Definition at line 1423 of file contextnetworkimpl.cpp.
| QList< QMetaObject::Connection > swift::core::context::CContextNetwork::connectRemoteAircraftProviderSignals | ( | QObject * | receiver, |
| std::function< void(const swift::misc::aviation::CAircraftSituation &)> | addedSituationSlot, | ||
| std::function< void(const swift::misc::aviation::CCallsign &, const swift::misc::aviation::CAircraftParts &)> | addedPartsSlot, | ||
| std::function< void(const swift::misc::aviation::CCallsign &)> | removedAircraftSlot, | ||
| std::function< void(const swift::misc::simulation::CAirspaceAircraftSnapshot &)> | aircraftSnapshotSlot | ||
| ) |
Connect signals to slot receiver. As the interface is no QObject, slots can not be connected directly. In order to disconnect a list of connections is provided, which have to be disconnected manually.
Definition at line 202 of file contextnetworkimpl.cpp.
|
slot |
Connect to Network.
Definition at line 233 of file contextnetworkimpl.cpp.
|
slot |
Disconnect from network.
Definition at line 341 of file contextnetworkimpl.cpp.
|
slot |
Enable storing of aircraft parts.
Definition at line 1000 of file contextnetworkimpl.cpp.
|
slot |
Enable reverse lookup logging.
Definition at line 961 of file contextnetworkimpl.cpp.
|
inlineprotected |
Network library.
Definition at line 172 of file contextnetworkimpl.h.
|
slot |
Aircraft list.
Definition at line 898 of file contextnetworkimpl.cpp.
|
slot |
Aircraft callsigns.
Definition at line 904 of file contextnetworkimpl.cpp.
|
slot |
Aircraft count.
Definition at line 910 of file contextnetworkimpl.cpp.
|
slot |
Aircraft for given callsign.
Definition at line 928 of file contextnetworkimpl.cpp.
|
slot |
Aircraft model for callsign.
Definition at line 937 of file contextnetworkimpl.cpp.
|
slot |
Get aircraft parts history.
Definition at line 970 of file contextnetworkimpl.cpp.
|
slot |
The ATC list with online ATC controllers.
Definition at line 880 of file contextnetworkimpl.cpp.
|
virtual |
CG values from DB.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 1277 of file contextnetworkimpl.cpp.
|
virtual |
CG values from DB.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 1271 of file contextnetworkimpl.cpp.
|
virtual |
Other client for the given callsigns.
Implements swift::misc::network::IClientProvider.
Definition at line 1320 of file contextnetworkimpl.cpp.
|
slot |
Get other clients.
Definition at line 622 of file contextnetworkimpl.cpp.
|
slot |
Returns a list of other clients corresponding to the given callsigns.
Definition at line 629 of file contextnetworkimpl.cpp.
|
slot |
The ATC list with online ATC controllers.
Definition at line 890 of file contextnetworkimpl.cpp.
|
slot |
Server which is connected, if not connected empty default object.
Definition at line 328 of file contextnetworkimpl.cpp.
|
slot |
Callsigns enabled for fast position updates.
Definition at line 1355 of file contextnetworkimpl.cpp.
|
virtual |
Current snapshot.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 1302 of file contextnetworkimpl.cpp.
|
slot |
Login mode.
Definition at line 334 of file contextnetworkimpl.cpp.
|
slot |
Get METAR, if not available request it (code such as EDDF, KLAX)
Definition at line 1412 of file contextnetworkimpl.cpp.
|
slot |
Network preset values.
Definition at line 1051 of file contextnetworkimpl.cpp.
|
slot |
Statistics info.
Definition at line 1031 of file contextnetworkimpl.cpp.
|
slot |
Online station for callsign.
Definition at line 1057 of file contextnetworkimpl.cpp.
|
slot |
Online stations for frequency.
Definition at line 1066 of file contextnetworkimpl.cpp.
|
slot |
Partner callsign if any.
Definition at line 868 of file contextnetworkimpl.cpp.
|
slot |
Get remote aircraft parts.
Definition at line 979 of file contextnetworkimpl.cpp.
|
slot |
Number of aircraft supporting parts.
Definition at line 988 of file contextnetworkimpl.cpp.
|
slot |
Get reverse lookup messages.
Definition at line 946 of file contextnetworkimpl.cpp.
|
slot |
User for given callsign, e.g. for text messages.
Definition at line 612 of file contextnetworkimpl.cpp.
|
slot |
Get all users.
Definition at line 598 of file contextnetworkimpl.cpp.
|
slot |
Users for given callsigns, e.g. for voice room resolution.
Definition at line 605 of file contextnetworkimpl.cpp.
|
slot |
Known FSD servers, available when data file was first read.
Definition at line 669 of file contextnetworkimpl.cpp.
|
virtual |
Client info for given callsign?
Implements swift::misc::network::IClientProvider.
Definition at line 1326 of file contextnetworkimpl.cpp.
|
slot |
Aircraft in range.
Definition at line 916 of file contextnetworkimpl.cpp.
|
slot |
Is storing the aircraft parts history enabled?
Definition at line 994 of file contextnetworkimpl.cpp.
|
slot |
Network connected?
Definition at line 362 of file contextnetworkimpl.cpp.
|
slot |
Online station for callsign?
Definition at line 1072 of file contextnetworkimpl.cpp.
|
slot |
In transition state, e.g. connecting, disconnecting.
In such a state it is advisable to wait until an end state (connected/disconnected) is reached
Definition at line 369 of file contextnetworkimpl.cpp.
|
slot |
Parts supported?
Definition at line 178 of file contextnetworkimpl.cpp.
|
slot |
Enabled reverse lookup logging?
Definition at line 955 of file contextnetworkimpl.cpp.
|
slot |
Is VTOL aircraft?
Definition at line 922 of file contextnetworkimpl.cpp.
|
virtual |
Latest aircraft situation "on ground" having a provider elevation.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 154 of file contextnetworkimpl.cpp.
|
virtual |
Latest aircraft situation for all callsigns.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 148 of file contextnetworkimpl.cpp.
|
slot |
Load flight plan (from network)
Definition at line 591 of file contextnetworkimpl.cpp.
|
virtual |
Mark as other swift client.
Implements swift::misc::network::IClientProvider.
Definition at line 667 of file contextnetworkimpl.cpp.
|
slot |
When last modified.
Definition at line 1025 of file contextnetworkimpl.cpp.
|
slot |
Re-initialize all aircraft.
Definition at line 1295 of file contextnetworkimpl.cpp.
|
virtual |
CG values from DB.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 1289 of file contextnetworkimpl.cpp.
|
virtual |
CG values from DB.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 1283 of file contextnetworkimpl.cpp.
|
virtual |
All parts (per callsign, time history)
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 160 of file contextnetworkimpl.cpp.
|
virtual |
All parts (per callsign, time history)
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 166 of file contextnetworkimpl.cpp.
|
virtual |
Rendered aircraft situations (per callsign and index)
| callsign | |
| index | 0..latest, 1..next older, ... |
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 135 of file contextnetworkimpl.cpp.
|
virtual |
Aircraft changes.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 190 of file contextnetworkimpl.cpp.
|
virtual |
Aircraft changes count.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 196 of file contextnetworkimpl.cpp.
|
virtual |
Rendered aircraft situations (per callsign, time history)
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 129 of file contextnetworkimpl.cpp.
|
virtual |
Number of remote aircraft situations for callsign.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 172 of file contextnetworkimpl.cpp.
|
virtual |
Average update time.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 142 of file contextnetworkimpl.cpp.
|
virtual |
Remote aircraft supporting parts.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 184 of file contextnetworkimpl.cpp.
|
virtual |
Remove client.
Implements swift::misc::network::IClientProvider.
Definition at line 643 of file contextnetworkimpl.cpp.
|
slot |
Request data updates (pilot's frequencies, ATIS, ..)
Definition at line 1081 of file contextnetworkimpl.cpp.
|
slot |
Request ATIS updates (for all stations)
Definition at line 1091 of file contextnetworkimpl.cpp.
|
slot |
Send flight plan.
Definition at line 581 of file contextnetworkimpl.cpp.
|
slot |
Text messages (radio and private chat messages)
Definition at line 572 of file contextnetworkimpl.cpp.
|
slot |
Set the enabled flag without any further logic like sending signals.
Definition at line 1118 of file contextnetworkimpl.cpp.
|
virtual |
Set gnd.flag capability.
Implements swift::misc::network::IClientProvider.
Definition at line 661 of file contextnetworkimpl.cpp.
|
virtual |
Set other clients.
Implements swift::misc::network::IClientProvider.
Definition at line 1316 of file contextnetworkimpl.cpp.
|
slot |
Callsigns enabled for fast position updates.
Definition at line 1345 of file contextnetworkimpl.cpp.
|
slot |
Statistics enable/disable.
Definition at line 1038 of file contextnetworkimpl.cpp.
|
slot |
Set client for its callsign.
Definition at line 636 of file contextnetworkimpl.cpp.
|
slot |
When last modified.
Definition at line 1019 of file contextnetworkimpl.cpp.
|
slot |
Inject aircraft parts for testing.
Definition at line 1382 of file contextnetworkimpl.cpp.
|
slot |
Add altitude offset for testing.
Definition at line 1045 of file contextnetworkimpl.cpp.
|
slot |
Create dummy ATC stations for performance tests etc.
Definition at line 1372 of file contextnetworkimpl.cpp.
|
slot |
Inject an ATIS.
Definition at line 1392 of file contextnetworkimpl.cpp.
|
slot |
Inject a text message as received.
Definition at line 1402 of file contextnetworkimpl.cpp.
|
slot |
Request parts for callsign (from another client)
Definition at line 1362 of file contextnetworkimpl.cpp.
|
slot |
Enable/disable aircraft and follow up logic like sending signals.
Definition at line 1101 of file contextnetworkimpl.cpp.
|
virtual |
Update the ground elevation.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 1257 of file contextnetworkimpl.cpp.
|
slot |
Change model.
Definition at line 1128 of file contextnetworkimpl.cpp.
|
slot |
Change network model.
Definition at line 1146 of file contextnetworkimpl.cpp.
|
virtual |
Set aircraft rendered.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 1236 of file contextnetworkimpl.cpp.
|
slot |
Enable/disable support of gnd. flag.
Definition at line 1182 of file contextnetworkimpl.cpp.
|
slot |
Update the CG.
Definition at line 1199 of file contextnetworkimpl.cpp.
|
slot |
Update the CG and model string.
Definition at line 1223 of file contextnetworkimpl.cpp.
|
slot |
Update the CG for this model string.
Definition at line 1211 of file contextnetworkimpl.cpp.
|
slot |
Change fast position updates.
Definition at line 1163 of file contextnetworkimpl.cpp.
|
virtual |
Mark all as not rendered.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 1265 of file contextnetworkimpl.cpp.
|
virtual |
Enable/disable aircraft.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 1250 of file contextnetworkimpl.cpp.
|
virtual |
Set aircraft rendered.
Implements swift::misc::simulation::IRemoteAircraftProvider.
Definition at line 1243 of file contextnetworkimpl.cpp.
|
virtual |
Update or add a client.
Implements swift::misc::network::IClientProvider.
Definition at line 1338 of file contextnetworkimpl.cpp.