Commit Graph

31 Commits

Author SHA1 Message Date
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
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
Klaus Basan
96189f530b Fixed typo setGroundSpeed 2016-05-07 20:11:50 +02:00
Klaus Basan
fdd7fa62d5 refs #638, reverse lookup in model matcher 2016-04-11 20:57:53 +02:00
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00
Klaus Basan
3083f30576 refs #613, logging for model matching 2016-03-18 01:10:37 +00:00
Klaus Basan
79f95845b2 refs #602, emoved web service provider
* webservices now directly accessible via sGui
* interface no longer needed
* no init of provider (setProvider) needed anymore
2016-03-18 01:09:00 +00:00
Klaus Basan
a0cfa2e687 refs #602, directly web access via application
* delegating functions
* removed from airspace monitor
2016-03-18 01:08:57 +00:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Klaus Basan
2498a1ad71 refs #576, refs #588 improved finders and default selection
* IATA code for airlines
* selection for airline designator returns list not single object
* misc finder functions for airline list
* formatting, use MS override Doxygen style
2016-02-05 18:00:16 +01:00
Klaus Basan
72256cf86f refs #568, specialized lists (timestamp, DB objects, model list)
* remaned to latest/oldestObject
* JSON functions with prefix
* remove by keys
* only add models with model string to QStringList
2016-01-28 16:31:38 +01:00
Klaus Basan
27bbb3d58c refs #533, fixed matcher as temporary solution until we have DB data
* the whole concept here will change, see comments CAircraftMatcher::getClosestMatch
* currently returns exact match or default model
* added ASSERT in monitor to detect missing callsign for model at an early stage
2015-12-08 20:14:21 +01:00
Klaus Basan
f9c160d625 refs #533, fix callsign validation and split into functions for ATC/aircraft 2015-12-08 20:14:20 +01:00
Klaus Basan
a863f99c9d refs #533, fixes "CContextSimulator::ps_addRemoteAircraft is never called"
* reordered use of fireDelayedReadyForModelMatching
* better calls / params depending on received packet(FSInn / Icao code)
* fixed search in DB data
* works now with and without DB data present
2015-12-08 20:14:09 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00