Commit Graph

64 Commits

Author SHA1 Message Date
Klaus Basan
26b5a6ce28 Found during T215, rectify CIdentifier issues
* null/anonymous identifier
* CIdentifier can be linked with QObject and
* CIdentifier reflects name changes of QObject (UI components change name after ctor call)
2018-01-13 05:04:27 +01:00
Klaus Basan
56fb27b73a Ref T171, no assert when there is function (review of T171) 2017-10-18 22:58:58 +02:00
Klaus Basan
b5a182a77a Ref T171, Ref T136, not all functions need to bound in remote aircraft provider 2017-10-18 22:58:34 +02:00
Klaus Basan
8fcfcdaac6 Ref T171, callsign set does not need contains check 2017-10-18 22:58:28 +02:00
Klaus Basan
c882c64824 Ref T171, count of aircraft supporting parts
* added functions in providers, aware class
* some utility functions in aircraft list
2017-10-18 22:58:27 +02:00
Mathew Sutcliffe
0cf6034a29 Don't use member access notation to call static methods. 2017-10-10 00:56:54 +01:00
Klaus Basan
193565e27c Ref T129, use new functions in matcher / airspace monitor
* if ICAO codes are unique, directly use those
* if already using a DB object, no need to search further
2017-10-10 00:28:26 +01:00
Klaus Basan
510666622c Renamed to failoverValidAirlineIcaoDesignator and check airline ICAO designator against swift DB 2017-10-10 00:28:07 +01:00
Klaus Basan
f98b612797 Ref T129, fixed formatting and minor tweaks 2017-10-10 00:28:06 +01:00
Klaus Basan
a070e0e215 Ref T129, fixed typo 2017-10-10 00:28:02 +01:00
Klaus Basan
3c9d454638 Ref T129, return CFlightPlanRemarks from CAirspaceMonitor::tryToGetFlightPlanRemarks, not only string
Uses utility function in CAircraftMatcher
2017-10-10 00:27:59 +01:00
Klaus Basan
3c24d5c7f9 Ref T129, created CFlightPlanRemarks as value object and removed flight plan utils
* CFlightPlanRemarks supports the functionality of utils, but is also a valid value object
* deleted CFlightPlanUtils .h/.cpp
* CFlightPlan uses CFlightPlanRemarks
* changed classes like VATSIM data reader to use CFlightPlanRemarks (instead of utils)
2017-10-10 00:27:56 +01:00
Klaus Basan
784cf287f0 Ref T129, extended flight plan utils
* renamed to CFlightPlanUtils::FlightPlanRemarks
* now parsing also SELCAL, airline ICAO
2017-10-10 00:27:46 +01:00
Klaus Basan
4be7a61922 Ref T129, prephase formatting 2017-10-10 00:27:27 +01:00
Mathew Sutcliffe
de13fc51cb T37 T130 Workaround to consolidate time offset to all places it is needed. 2017-09-24 19:52:50 +01:00
Klaus Basan
cd15bdc506 Ref T105, adjusted airspace analyzer
* removed private slots
* gracefulShutdown -> setEnabled
2017-09-24 19:50:12 +01:00
Klaus Basan
e3fd0e20c1 Ref T26, 1st implementation using flight plan remarks 2017-09-24 19:49:09 +01:00
Klaus Basan
8131dc42d2 Turned private slots into normal private member functions 2017-09-24 19:49:04 +01:00
Klaus Basan
e10ab7b9de Ref T26, preparing to use flight plan data
* stub utility class (no function yet)
* use value objects in matcher signature instead of strings)
* removed initNewAircraft, use reverseLookupModelWithFlightplanData
2017-09-24 19:48:59 +01:00
Klaus Basan
042f725e54 Ref T27, store flight plan remarks in VATSIM reader
This can be used in airspace monitor
2017-09-24 19:48:54 +01:00
Klaus Basan
7ec85d8716 Ref T89, VATSIM services might be optional 2017-09-24 19:48:52 +01:00
Klaus Basan
28a2ca6ad6 Ref T92, added missing ICAO query
* some formatting
* sendInitialPilotQueries no longer a slot
2017-06-27 20:50:30 +02:00
Klaus Basan
1956a27b19 Formatting 2017-06-27 20:50:29 +02:00
Mathew Sutcliffe
a8302b310e refs #937 Resolved clazy warnings: QString::arg. 2017-04-19 19:31:45 +01:00
Mathew Sutcliffe
b7f69c6887 refs #937 Resolved clazy warnings: unnecessary memory allocation. 2017-04-19 19:31:39 +01:00
Klaus Basan
8d198a9174 refs #827, moved matching utilities to blackmisc so it can be used also with score functions in blackmisc 2017-04-17 23:59:25 +01:00
Klaus Basan
7917769802 refs #875, adjusted using classes to use new namespaces 2017-02-24 15:21:18 +00:00
Klaus Basan
e3d81c6c44 refs #865, use same function for removing outdated aircraft parts
* in airspace monitor
* in XP traffic.cpp
2017-02-24 00:19:09 +00:00
Klaus Basan
309d593607 refs #871, use const values for times 2017-02-24 00:19:07 +00:00
Mathew Sutcliffe
76cc9f8ad8 refs #852 CAirspaceMonitor has no maximum number of parts per callsign,
but regularly prune the list based on timestamp age.
2017-02-24 00:17:53 +00:00
Mathew Sutcliffe
3e70ab1207 refs #852 Add a time offset to CAircraftParts. 2017-02-24 00:17:46 +00:00
Klaus Basan
88f7a19d4c refs #849, airspace monitor signals received raw data 2017-01-10 23:47:04 +00:00
Mathew Sutcliffe
51c3ae8c25 refs #815 Catch and handle CJsonException when calling convertFromJson. 2017-01-10 23:46:36 +00:00
Klaus Basan
82ab88b5a8 refs #844, react on unchanged bookings in airspace monitor
* renamed functions for consistency
* fixed typos/docu
2017-01-10 23:46:10 +00:00
Klaus Basan
be297d8ccf refs #840, update (ground) elevation via remote aircraft provider 2017-01-10 23:45:29 +00:00
Roland Winklmeier
4994bf12b2 Let airspace monitor store the aircraft parts history
This commit adds a feature in airspace monitor to store the history
of received aircraft parts. If needed the history can be retrieved
via context methods.

refs #835
2017-01-10 23:45:00 +00:00
Klaus Basan
3a55748955 refs #825, do not render aircraft without callsign
(those are likely already gone: logoff, crash)
2016-12-13 19:02:03 +01:00
Klaus Basan
4ed2b82630 refs #787, support for headers / shared files in web data services
* allow to load shared files
* utility functions for timestamps
* some functions renamed
2016-12-13 19:01:28 +01:00
Klaus Basan
cb2be14083 Fixed "synchronized" typos 2016-12-13 19:00:12 +01:00
Klaus Basan
851a7cd1a8 refs #798, "limbo fix" as discussed on slack
* save FsInn packet and apply it when we know if we deal with pilot or ATC
* solves issues with wrongly assumed callsign
2016-12-06 09:47:09 +01:00
Klaus Basan
ca6f3b15b7 refs #793, added updateAircraftNetworkModel in provider
* adjusted network context (implementing provider interface)
* and airspace monitor (also implementing provider interface)
* also formatted provider / context to new style (less copydoc)
2016-12-06 09:34:54 +01:00
Klaus Basan
6a5444590e refs #780, send FsInn Query in airspace monitor 2016-12-06 09:34:04 +01:00
Roland Winklmeier
40d4c7774d Make originators calling updateAircraftModel identifable
refs #765
2016-09-19 16:29:37 +02:00
Klaus Basan
907a825015 refs #707, refactoring of airspace monitor
* removed reverse lookup and moved to matcher
* encapsulated update/adding of thread safe members (remove number of places where lock is obtained)
* removed unused METAR slot
* query FSD values encapsulated
2016-07-14 18:49:23 +02:00
Klaus Basan
64cee7fba8 refs #706, callsign to airline plus testing resulting in multiple smaller improvements (refs #707)
* added functions to callsign / callsign list
* used in aircraft matcher
* also resolve std.livery in matcher
* also allow to find aircraft ICAO designator ending with string (e.g. 737 for B737)
* renamed CAircraftMatcher::reverseLookup -> CAircraftMatcher::reverselLookupModel
* threadsafe isInRange (CAIrspaceMonitor)
2016-07-14 18:49:12 +02:00
Klaus Basan
83eca195a8 refs #702, access to reverse lookup log messages per callsign
* added functions in airspace / context
* allow to retrieve "aircraft in range" callsigns
2016-07-14 18:49:05 +02:00
Klaus Basan
5b506e7bd1 refs #678, fixes bug reported by MS + improvements
* made clients threadsafe
* use clients to decide if model string is queried
* init aircraft/airline ICAO codes with DB data where possible
* Allow acces to log utility functions of matcher
2016-06-29 01:04:22 +02:00
Roland Winklmeier
fbad0977fd Make fast position update settings persistent
Instead of enabling fast position updates via context methods, the
settings API will be used instead. This also allowed to move the timer
into CNetworkVatlib instead of CAirspaceMonitor. The only necessary thing
was to regularly update the receiver callsign set.

refs #677
2016-06-20 13:20:54 +02:00
Mathew Sutcliffe
8c80cc33b3 refs #570 Fixed missing timer interval. 2016-06-08 23:59:56 +01:00
Mathew Sutcliffe
eecc4d75e9 refs #570 Each CAircraftSituation can have its own time offset, instead of a hardcoded 6 seconds. 2016-06-08 23:54:13 +01:00