Commit Graph

56 Commits

Author SHA1 Message Date
Klaus Basan
c5fb428fa9 Ref T280, using the QHash<CCallsign, T> definitions to unify use cases 2018-06-14 14:40:16 +02:00
Klaus Basan
70c15f62cd Ref T275, allow to disable airspace watchdog (needed when debugging to avoid timeouts) 2018-06-13 14:00:32 +02:00
Klaus Basan
4ced6b4f97 Formatting 2018-05-18 00:24:58 +02:00
Klaus Basan
5bf21c2937 Ref T261, correct implementation of client provider
* made the interface a "real" interface and provided implementation as CCLientProvider
* aligned some function names with networl context
* network context "impl" also implements ICLientProvider
2018-05-08 16:06:49 +02:00
Klaus Basan
ae8d9abf0d Improved ATIS update in ATC station component
* signal for ATIS received
* reload ATC statiosns when ATIS changes
2018-05-08 16:06:47 +02:00
Klaus Basan
4876569a9d Ref T261, minor airspace monitor improvements and formatting 2018-05-08 16:06:45 +02:00
Klaus Basan
d0addd547a Ref T260, ext. version of updating ground elevation, allows to guess gnd. again with updated elevation 2018-05-08 16:06:41 +02:00
Klaus Basan
b5ba4013dd Formatting 2018-05-08 16:06:38 +02:00
Klaus Basan
1ff0607e42 Formatting 2018-05-08 16:06:36 +02:00
Klaus Basan
785e35ee88 Formatting 2018-04-13 23:37:48 +02:00
Klaus Basan
1c89f4c8e3 Ref T259, Ref T243 created an implementation for remote aircraft provider
* this implementation is used by airspace monitor
* also used by dummy provider (advantage, unit tests test the real provider)
* some functions adjusted
2018-04-13 23:37:38 +02:00
Klaus Basan
d76ce109bd Ref T259, Ref T243 set elevation for provider if available in airspace monitor 2018-04-13 23:37:29 +02:00
Klaus Basan
0c06ac26f7 Ref T259, Ref T243 removed interpolation hints
* no longer needed with providers in that form
* pure refactoring commit, just guarantees compilation
* already minor adjustments to use providers
2018-04-13 23:37:18 +02:00
Klaus Basan
9dabef447f Ref T259, Ref T243 directly convert to Client capabilities enum in vatlib, do not use an interim enum 2018-04-13 23:36:47 +02:00
Klaus Basan
4b7237ce1b Ref T259, Ref T243 adjusted providers to use common base classes 2018-04-06 02:56:57 +02:00
Klaus Basan
9e29858f95 Ref T259, Ref T243 automatically adjust situation gnd.flag from parts in airspace monitor
Turns parts GND flag into a situation gnd. flag, which would be compatible with network situation gnd flags.
2018-04-06 02:56:53 +02:00
Klaus Basan
f64a4c432b Ref T259, Ref T243 client provider used to share info about the other clients
Goal: this info can be used in interpolation to decide if ground flags, parts etc are available
2018-04-05 02:54:42 +02:00
Klaus Basan
3346a92b56 Ref T259, Ref T243 simulator environment provider
* access to elevation
* future: more data such as airport info
2018-04-05 02:54:32 +02:00
Klaus Basan
8021cf76fd Ref T259, Ref T243 formatting 2018-04-05 02:54:30 +02:00
Klaus Basan
10f942e702 Formatting, minor tweaks 2018-02-09 04:43:45 +01:00
Klaus Basan
7e0c1033ba Ref T243, use offset times from network vatlib
* changed network config received signature (now with offset time)
* removed code to fix offset time, no longer needed
* using push_frontKeepLatestAdjustedFirst guaranteeing correct order
2018-02-04 08:57:32 +01: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
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
Klaus Basan
f98b612797 Ref T129, fixed formatting and minor tweaks 2017-10-10 00:28:06 +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
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
ec844fd438 Ref T27, made isAircraftInRange context and provider function
Based on clang warnings and RW's comment now pure virtual and context and provider function
2017-09-24 19:49:19 +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
39bd8aa2bb Formatting 2017-09-24 19:48:53 +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
Klaus Basan
88f7a19d4c refs #849, airspace monitor signals received raw data 2017-01-10 23:47:04 +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
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
514bcdd055 refs #786, follow up / corresponding adjustments based on context changes
* removed reload models menu item
* changed to renamed functions
2016-12-06 09:34:11 +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
Klaus Basan
2dec348c8c Formatting from refs #678 2016-06-25 16:00:36 +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
Roland Winklmeier
933271b828 Fix BlackCore header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-13 17:06:00 +02:00