|
swift
|
Keeps track of other entities in the airspace: aircraft, ATC stations, etc. Central instance of data for. More...
Public Types | |
| enum | MatchingReadinessFlag { NotReady = 0 , ReceivedIcaoCodes = 1 << 0 , ReceivedFsInnPacket = 1 << 1 , ReadyForMatchingSent = 1 << 2 , RecursiveCall = 1 << 3 , ReceivedAll = ReceivedIcaoCodes | ReceivedFsInnPacket , Verified = 1 << 4 } |
| Matching readiness. More... | |
Public Types inherited from QObject | |
| enum | TimerId |
Public Member Functions | |
| CAirspaceMonitor (swift::misc::simulation::IOwnAircraftProvider *ownAircraft, swift::misc::simulation::IAircraftModelSetProvider *modelSetProvider, fsd::CFSDClient *fsdClient, QObject *parent) | |
| Constructor. | |
| misc::network::CUserList | getUsers () const |
| Returns the list of users we know about. | |
| misc::network::CUserList | getUsersForCallsigns (const misc::aviation::CCallsignSet &callsigns) const |
| Returns a list of the users corresponding to the given callsigns. | |
| misc::aviation::CFlightPlan | loadFlightPlanFromNetwork (const misc::aviation::CCallsign &callsign) |
| Returns the loaded flight plan for the given callsign. More... | |
| misc::aviation::CFlightPlanRemarks | tryToGetFlightPlanRemarks (const misc::aviation::CCallsign &callsign) const |
| Try to get flight plan remarks. More... | |
| misc::aviation::CAtcStationList | getAtcStationsOnline () const |
| Returns the current online ATC stations. | |
| misc::aviation::CAtcStationList | getAtcStationsOnlineRecalculated () |
| Recalculate distance to own aircraft. | |
| misc::aviation::CAtcStation | getAtcStationForComUnit (const misc::aviation::CComSystem &comSystem) const |
| Returns the closest ATC station operating on the given frequency, if any. | |
| void | clear () |
| Clear the contents. | |
| void | requestAircraftDataUpdates () |
| Request to update other clients' data from the network. | |
| void | requestAtisUpdates () |
| Request to update ATC stations' ATIS data from the network. | |
| CAirspaceAnalyzer * | analyzer () const |
| Analyzer. | |
| void | gracefulShutdown () |
| Gracefully shut down, e.g. for thread safety. | |
| int | reInitializeAllAircraft () |
| Re-init all aircrft. | |
| void | setMaxRange (const swift::misc::physical_quantities::CLength &range) |
| Max (FSD) range. | |
| bool | parseCommandLine (const QString &commandLine, const swift::misc::CIdentifier &originator) |
| Parse a given command line. More... | |
| QObject * | asQObject () |
| Members not implenented or fully implenented by CRemoteAircraftProvider. | |
| misc::simulation::CAirspaceAircraftSnapshot | getLatestAirspaceAircraftSnapshot () const |
| Members not implenented or fully implenented by CRemoteAircraftProvider. | |
| bool | updateFastPositionEnabled (const misc::aviation::CCallsign &callsign, bool enableFastPositonUpdates) |
| Members not implenented or fully implenented by CRemoteAircraftProvider. | |
Public Member Functions inherited from swift::misc::simulation::CRemoteAircraftProvider | |
| CRemoteAircraftProvider (QObject *parent) | |
| Constructor. | |
| CSimulatedAircraftList | getAircraftInRange () const |
| All remote aircraft. More... | |
| aviation::CCallsignSet | getAircraftInRangeCallsigns () const |
| Unique callsigns for aircraft in range. More... | |
| CSimulatedAircraft | getAircraftInRangeForCallsign (const aviation::CCallsign &callsign) const |
| Aircraft for callsign. More... | |
| CAircraftModel | getAircraftInRangeModelForCallsign (const aviation::CCallsign &callsign) const |
| Aircraft model for callsign. More... | |
| int | getAircraftInRangeCount () const |
| Count remote aircraft. More... | |
| bool | isAircraftInRange (const aviation::CCallsign &callsign) const |
| Is aircraft in range? More... | |
| bool | isVtolAircraft (const aviation::CCallsign &callsign) const |
| Is VTOL aircraft? More... | |
| aviation::CAircraftSituationList | remoteAircraftSituations (const aviation::CCallsign &callsign) const |
| Rendered aircraft situations (per callsign, time history) More... | |
| aviation::CAircraftSituation | remoteAircraftSituation (const aviation::CCallsign &callsign, int index) const |
| Rendered aircraft situations (per callsign and index) More... | |
| MillisecondsMinMaxMean | remoteAircraftSituationsTimestampDifferenceMinMaxMean (const aviation::CCallsign &callsign) const |
| Average update time. More... | |
| aviation::CAircraftSituationList | latestRemoteAircraftSituations () const |
| Latest aircraft situation for all callsigns. More... | |
| aviation::CAircraftSituationList | latestOnGroundProviderElevations () const |
| Latest aircraft situation "on ground" having a provider elevation. More... | |
| int | remoteAircraftSituationsCount (const aviation::CCallsign &callsign) const |
| Number of remote aircraft situations for callsign. More... | |
| aviation::CAircraftPartsList | remoteAircraftParts (const aviation::CCallsign &callsign) const |
| All parts (per callsign, time history) More... | |
| int | remoteAircraftPartsCount (const aviation::CCallsign &callsign) const |
| All parts (per callsign, time history) More... | |
| bool | isRemoteAircraftSupportingParts (const aviation::CCallsign &callsign) const |
| Is remote aircraft supporting parts? More... | |
| int | getRemoteAircraftSupportingPartsCount () const |
| Number of aircraft supporting parts. More... | |
| aviation::CCallsignSet | remoteAircraftSupportingParts () const |
| Remote aircraft supporting parts. More... | |
| aviation::CAircraftSituationChangeList | remoteAircraftSituationChanges (const aviation::CCallsign &callsign) const |
| Aircraft changes. More... | |
| int | remoteAircraftSituationChangesCount (const aviation::CCallsign &callsign) const |
| Aircraft changes count. More... | |
| bool | updateAircraftEnabled (const aviation::CCallsign &callsign, bool enabledForRendering) |
| Enable/disable aircraft and follow up logic like sending signals. More... | |
| bool | setAircraftEnabledFlag (const swift::misc::aviation::CCallsign &callsign, bool enabledForRendering) |
| Just set enable/disable aircraft flag, no further logic. More... | |
| int | updateMultipleAircraftEnabled (const aviation::CCallsignSet &callsigns, bool enabledForRendering) |
| Enable/disable aircraft. More... | |
| bool | updateAircraftModel (const aviation::CCallsign &callsign, const CAircraftModel &model, const CIdentifier &originator) |
| Change model. More... | |
| bool | updateAircraftNetworkModel (const aviation::CCallsign &callsign, const CAircraftModel &model, const CIdentifier &originator) |
| Change network model. More... | |
| bool | updateFastPositionEnabled (const aviation::CCallsign &callsign, bool enableFastPositonUpdates) |
| Change fast position updates. More... | |
| bool | updateAircraftRendered (const aviation::CCallsign &callsign, bool rendered) |
| Set aircraft rendered. More... | |
| int | updateMultipleAircraftRendered (const aviation::CCallsignSet &callsigns, bool rendered) |
| Set aircraft rendered. More... | |
| int | updateAircraftGroundElevation (const aviation::CCallsign &callsign, const geo::CElevationPlane &elevation, aviation::CAircraftSituation::GndElevationInfo info, bool *setForOnGroundPosition) |
| Update the ground elevation. More... | |
| bool | updateCG (const aviation::CCallsign &callsign, const physical_quantities::CLength &cg) |
| Update the CG. More... | |
| bool | updateCGAndModelString (const aviation::CCallsign &callsign, const physical_quantities::CLength &cg, const QString &modelString) |
| Update the CG and model string. More... | |
| aviation::CCallsignSet | updateCGForModel (const QString &modelString, const physical_quantities::CLength &cg) |
| Update the CG for this model string. More... | |
| physical_quantities::CLength | getCGFromDB (const aviation::CCallsign &callsign) const |
| CG values from DB. More... | |
| physical_quantities::CLength | getCGFromDB (const QString &modelString) const |
| CG values from DB. More... | |
| void | rememberCGFromDB (const physical_quantities::CLength &cgFromDB, const aviation::CCallsign &callsign) |
| CG values from DB. More... | |
| void | rememberCGFromDB (const physical_quantities::CLength &cgFromDB, const QString &modelString) |
| CG values from DB. More... | |
| void | updateMarkAllAsNotRendered () |
| Mark all as not rendered. More... | |
| CStatusMessageList | getAircraftPartsHistory (const aviation::CCallsign &callsign) const |
| Get aircraft parts history. More... | |
| bool | isAircraftPartsHistoryEnabled () const |
| Is storing aircraft parts history enabled? More... | |
| void | enableAircraftPartsHistory (bool enabled) |
| Enable storing of aircraft parts history. More... | |
| int | aircraftSituationsAdded () const |
| Number of situations added. More... | |
| int | aircraftPartsAdded () const |
| Number of parts added. More... | |
| qint64 | situationsLastModified (const aviation::CCallsign &callsign) const |
| When last modified. More... | |
| qint64 | partsLastModified (const aviation::CCallsign &callsign) const |
| When last modified. More... | |
| geo::CElevationPlane | averageElevationOfNonMovingAircraft (const aviation::CAircraftSituation &reference, const 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 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 &)> 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 | enableReverseLookupMessages (ReverseLookupLogging enable) |
| Enable reverse lookup logging. More... | |
| ReverseLookupLogging | isReverseLookupMessagesEnabled () const |
| Enabled reverse lookup logging? More... | |
| swift::misc::CStatusMessageList | getReverseLookupMessages (const swift::misc::aviation::CCallsign &callsign) const |
| Get reverse lookup meesages. More... | |
| QObject * | asQObject () |
| Return as QObject. More... | |
| void | clear () |
| Clear all data. | |
| bool | hasTestAltitudeOffset (const aviation::CCallsign &callsign) const |
| Has test offset value? | |
| bool | hasTestAltitudeOffsetGlobalValue () const |
| Has test offset value? | |
| bool | testAddAltitudeOffset (const aviation::CCallsign &callsign, const physical_quantities::CLength &offset) |
| Offset for callsign. | |
| void | addReverseLookupMessages (const aviation::CCallsign &callsign, const CStatusMessageList &messages) |
| Reverse lookup messages. More... | |
| void | addReverseLookupMessage (const aviation::CCallsign &callsign, const CStatusMessage &message) |
| Reverse lookup messages. More... | |
| void | addReverseLookupMessage (const aviation::CCallsign &callsign, const QString &message, CStatusMessage::StatusSeverity severity=CStatusMessage::SeverityInfo) |
| Reverse lookup messages. More... | |
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. | |
| aviation::CAircraftParts | getLatestAircraftParts (const aviation::CCallsign &callsign) const |
| Get the latest aircraft parts (if any, otherwise default) 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. | |
Public Member Functions inherited from swift::misc::CIdentifiable | |
| const CIdentifier & | identifier () const |
| Get identifier. | |
| void | setIdentifier (const CIdentifier &identifier) |
| Set identifier, allows to set an external identifier. | |
| bool | isMyIdentifier (const CIdentifier &otherIdentifier) const |
| My identifier? | |
Public Member Functions inherited from swift::misc::network::CClientProvider | |
| CClientList | getClients () const |
| clientprovider | |
| void | setClients (const CClientList &clients) |
| Set other clients. More... | |
| void | clearClients () |
| Set other clients. More... | |
| CClientList | getClientsForCallsigns (const aviation::CCallsignSet &callsigns) const |
| Returns a list of other clients corresponding to the given callsigns. More... | |
| 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... | |
| bool | setOtherClient (const swift::misc::network::CClient &client) |
| Set client for its callsign. More... | |
| int | updateOrAddClient (const aviation::CCallsign &callsign, const CPropertyIndexVariantMap &vm, bool skipEqualValues=true) |
| 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... | |
| bool | setClientGndCapability (const aviation::CCallsign &callsign, bool supportGndFlag) |
| Set gnd.flag capability. More... | |
| void | markAsSwiftClient (const aviation::CCallsign &callsign) |
| Mark as other swift client. More... | |
Public Member Functions inherited from swift::misc::simulation::COwnAircraftAware | |
| void | setOwnAircraftProvider (IOwnAircraftProvider *provider) |
| Set the provider. | |
| CSimulatedAircraft | getOwnAircraft () const |
| Own aircraft. More... | |
| aviation::CCallsign | getOwnCallsign () const |
| Own aircraft's callsign. More... | |
| aviation::CComSystem | getOwnComSystem (aviation::CComSystem::ComUnit unit) const |
| Own aircraft COM unit. More... | |
| aviation::CTransponder | getOwnTransponder () const |
| Own aircraft XPDR. More... | |
| swift::misc::geo::CCoordinateGeodetic | getOwnAircraftPosition () const |
| Own aircraft's position. More... | |
| aviation::CAircraftSituation | getOwnAircraftSituation () const |
| Own aircraft's position. More... | |
| aviation::CAircraftParts | getOwnAircraftParts () const |
| Own aircraft's parts. More... | |
| swift::misc::simulation::CAircraftModel | getOwnAircraftModel () const |
| Own aircraft model. More... | |
| swift::misc::physical_quantities::CLength | getDistanceToOwnAircraft (const swift::misc::geo::ICoordinateGeodetic &position) const |
| Distance to own aircraft. More... | |
| bool | updateCockpit (const swift::misc::simulation::CSimulatedAircraft &aircraft, const swift::misc::CIdentifier &originator) |
| Update cockpit, but only send signals when applicable. More... | |
| bool | updateCockpit (const aviation::CComSystem &com1, const aviation::CComSystem &com2, const aviation::CTransponder &transponder, const swift::misc::CIdentifier &originator) |
| Update cockpit, but only send signals when applicable. More... | |
| bool | updateActiveComFrequency (const swift::misc::physical_quantities::CFrequency &frequency, aviation::CComSystem::ComUnit comUnit, const swift::misc::CIdentifier &originator) |
| Update cockpit, but only send signals when applicable. More... | |
| bool | updateSelcal (const aviation::CSelcal &selcal, const swift::misc::CIdentifier &originator) |
| Update cockpit, but only send signals when applicable. More... | |
| bool | updateOwnCallsign (const aviation::CCallsign &callsign) |
| Update aircraft's callsign. More... | |
| bool | updateOwnIcaoCodes (const aviation::CAircraftIcaoCode &aircraftIcaoData, const aviation::CAirlineIcaoCode &airlineIcaoCode) |
| Update ICAO data. More... | |
| bool | updateOwnModel (const swift::misc::simulation::CAircraftModel &model) |
| Update model. More... | |
| bool | updateOwnSituation (const aviation::CAircraftSituation &situation) |
| Update own situation. More... | |
| bool | updateOwnParts (const aviation::CAircraftParts &parts) |
| Update own parts. More... | |
| bool | updateOwnCG (const physical_quantities::CLength &cg) |
| Update own aircraft's CG (aka vertical offset) More... | |
Public Member Functions inherited from swift::misc::simulation::CSimulationEnvironmentAware | |
| void | setSimulationEnvironmentProvider (ISimulationEnvironmentProvider *provider) |
| Set the provider. | |
| geo::CElevationPlane | findClosestElevationWithinRange (const geo::ICoordinateGeodetic &reference, const physical_quantities::CLength &range) const |
| Find closest elevation (or return NULL) More... | |
| geo::CElevationPlane | findClosestElevationWithinRangeOrRequest (const geo::ICoordinateGeodetic &reference, const physical_quantities::CLength &range, const aviation::CCallsign &callsign) |
| Find closest elevation or request elevation. More... | |
| geo::CElevationPlane | averageElevationOfOnGroundAircraft (const aviation::CAircraftSituation &reference, const physical_quantities::CLength &range, int minValues, int sufficientValues) const |
| Average elevation of "on ground" cached values. More... | |
| aviation::CAltitude | highestElevation () const |
| Highest elevation. More... | |
| bool | requestElevation (const geo::ICoordinateGeodetic &reference, const aviation::CCallsign &callsign) |
| Request elevation, there is no guarantee the requested elevation will be available in the provider. More... | |
| bool | requestElevation (const aviation::CAircraftSituation &situation) |
| Request elevation, there is no guarantee the requested elevation will be available in the provider. More... | |
| QPair< int, int > | getElevationsFoundMissed () const |
| Elevations found/missed statistics. More... | |
| QString | getElevationsFoundMissedInfo () const |
| Elevations found/missed statistics info as string. More... | |
| QPair< qint64, qint64 > | getElevationRequestTimes () const |
| The elevation request times. More... | |
| QString | getElevationRequestTimesInfo () const |
| Elevation request times. More... | |
| CSimulatorPluginInfo | getSimulatorPluginInfo () const |
| Get the represented plugin. More... | |
| CSimulatorInfo | getSimulatorInfo () const |
| Get the represented plugin. More... | |
| QString | getSimulatorNameAndVersion () const |
| Version and simulator details info. More... | |
| CAircraftModel | getDefaultModel () const |
| Default model. More... | |
| physical_quantities::CLength | getSimulatorCG (const aviation::CCallsign &callsign) const |
| Get CG per callsign, NULL if not found. More... | |
| physical_quantities::CLength | getSimulatorOrDbCG (const aviation::CCallsign &callsign, const physical_quantities::CLength &dbCG) const |
| Get CG per callsign, NULL if not found. More... | |
| bool | hasSimulatorCG (const aviation::CCallsign &callsign) const |
| Has a CG? More... | |
| bool | cleanElevationValues (const aviation::CAircraftSituation &reference, const physical_quantities::CLength &range, bool forced=false) |
| Remove cached elevations outside range, "forced" cleans always, otherwise only if max.values are reached. More... | |
Static Public Member Functions | |
| static const QStringList & | getLogCategories () |
| Log categories. | |
| static void | registerHelp () |
| Register help. | |
| static const QString & | enumFlagToString (MatchingReadinessFlag r) |
| As string. | |
| static QString | enumToString (MatchingReadiness r) |
| As string. | |
Static Public Member Functions inherited from swift::misc::simulation::CRemoteAircraftProvider | |
| 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. | |
Additional Inherited Members | |
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. | |
Protected Member Functions inherited from swift::misc::simulation::CRemoteAircraftProvider | |
| bool | removeAircraft (const aviation::CCallsign &callsign) |
| Remove all aircraft in range. More... | |
| void | removeAllAircraft () |
| Remove all aircraft in range. More... | |
| void | removeReverseLookupMessages (const aviation::CCallsign &callsign) |
| Remove the lookup messages. More... | |
| bool | addNewAircraftInRange (const CSimulatedAircraft &aircraft) |
| Add new aircraft, ignored if aircraft already exists. More... | |
| CSimulatedAircraft | addOrUpdateAircraftInRange (const aviation::CCallsign &callsign, const QString &aircraftIcao, const QString &airlineIcao, const QString &livery, const QString &modelString, CAircraftModel::ModelType modelType, CStatusMessageList *log=nullptr) |
| Init a new aircraft and add it or update model of existing aircraft. More... | |
| int | updateAircraftInRange (const aviation::CCallsign &callsign, const CPropertyIndexVariantMap &vm, bool skipEqualValues=true) |
| Update aircraft. More... | |
| bool | updateAircraftInRangeDistanceBearing (const aviation::CCallsign &callsign, const aviation::CAircraftSituation &situation, const physical_quantities::CLength &distance, const physical_quantities::CAngle &bearing) |
| Update aircraft bearing, distance and situation. More... | |
| bool | guessOnGroundAndUpdateModelCG (aviation::CAircraftSituation &situation, const aviation::CAircraftSituationChange &change, const CAircraftModel &aircraftModel) |
| Guess situation "on ground" and update model's CG if applicable. More... | |
| aviation::CAircraftSituation | addTestAltitudeOffsetToSituation (const aviation::CAircraftSituation &situation) const |
| Add an offset for testing. | |
| ReverseLookupLogging | whatToReverseLog () const |
| What to log? More... | |
| void | storeAircraftParts (const aviation::CCallsign &callsign, const aviation::CAircraftParts &parts, bool removeOutdated) |
| Store an aircraft part. More... | |
| void | storeAircraftParts (const aviation::CCallsign &callsign, const QJsonObject &jsonObject, qint64 currentOffsetMs) |
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. | |
Protected Member Functions inherited from swift::misc::CIdentifiable | |
| CIdentifiable (const QString &objectName) | |
| Use literal based object name. | |
| CIdentifiable (QObject *nameProvider) | |
| Connect with QObject providing the name. | |
| CIdentifiable () | |
| Construct without a name. | |
| ~CIdentifiable () | |
| Destructor. | |
| CIdentifiable (const CIdentifiable &)=default | |
| Copy constructor. | |
| CIdentifiable & | operator= (const CIdentifiable &)=default |
| Copy assignment operator. | |
Protected Member Functions inherited from swift::misc::simulation::COwnAircraftAware | |
| COwnAircraftAware (IOwnAircraftProvider *ownAircraftProvider) | |
| Constructor. | |
Protected Member Functions inherited from swift::misc::IProviderAware< IOwnAircraftProvider > | |
| IProviderAware (IOwnAircraftProvider *provider=nullptr) | |
| Ctor. | |
| virtual | ~IProviderAware ()=default |
| Dtor. | |
| bool | hasProvider () const |
| Has provider? | |
| IOwnAircraftProvider * | getProvider () const |
| Provider. | |
| void | setProvider (IOwnAircraftProvider *provider) |
| Set the provider. More... | |
| IOwnAircraftProvider * | provider () |
| Provider. | |
| const IOwnAircraftProvider * | provider () const |
| Const provider. | |
Protected Member Functions inherited from swift::misc::simulation::CSimulationEnvironmentAware | |
| CSimulationEnvironmentAware () | |
| Default constructor. | |
| CSimulationEnvironmentAware (ISimulationEnvironmentProvider *simEnvProvider) | |
| Constructor. | |
Protected Member Functions inherited from swift::misc::IProviderAware< ISimulationEnvironmentProvider > | |
| IProviderAware (ISimulationEnvironmentProvider *provider=nullptr) | |
| Ctor. | |
| virtual | ~IProviderAware ()=default |
| Dtor. | |
| bool | hasProvider () const |
| Has provider? | |
| ISimulationEnvironmentProvider * | getProvider () const |
| Provider. | |
| void | setProvider (ISimulationEnvironmentProvider *provider) |
| Set the provider. More... | |
| ISimulationEnvironmentProvider * | provider () |
| Provider. | |
| const ISimulationEnvironmentProvider * | provider () const |
| Const provider. | |
Static Protected Member Functions inherited from swift::misc::simulation::CRemoteAircraftProvider | |
| static int | setGroundElevationCheckedAndGuessGround (aviation::CAircraftSituationList &situations, const geo::CElevationPlane &elevationPlane, aviation::CAircraftSituation::GndElevationInfo info, const simulation::CAircraftModel &model, aviation::CAircraftSituationChange *changeOut, bool *setForOnGroundPosition) |
| Set ground elevation from elevation plane and guess ground. More... | |
Properties inherited from QObject | |
| objectName | |
Keeps track of other entities in the airspace: aircraft, ATC stations, etc. Central instance of data for.
Definition at line 56 of file airspacemonitor.h.
Matching readiness.
Definition at line 142 of file airspacemonitor.h.
| CFlightPlan swift::core::CAirspaceMonitor::loadFlightPlanFromNetwork | ( | const misc::aviation::CCallsign & | callsign | ) |
Returns the loaded flight plan for the given callsign.
Definition at line 155 of file airspacemonitor.cpp.
| CFlightPlanRemarks swift::core::CAirspaceMonitor::tryToGetFlightPlanRemarks | ( | const misc::aviation::CCallsign & | callsign | ) | const |
Try to get flight plan remarks.
Definition at line 187 of file airspacemonitor.cpp.