Commit Graph

96 Commits

Author SHA1 Message Date
Klaus Basan
88b2da94a3 Ref T275, elevation plane improvements
* setRadiusOrMinimum
* ASSERT if there is no radius
2018-06-13 14:00:11 +02:00
Klaus Basan
6ed541b6ab Ref T243, Ref T273, added info about elevation (where did we obtain it?) 2018-06-13 13:59:52 +02:00
Klaus Basan
d8fb84c021 Ref T241, changed CAirspaceAnalyzer ctor so signals (CAirspaceMonitor) can be used 2018-05-22 13:20:08 +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
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
d021e2dcce Formatting, renaming 2018-05-08 16:06:40 +02:00
Klaus Basan
1b8383bee1 Guarding QTimer::singelShot operations, avoid to access dangling pointers 2018-05-08 16:06:39 +02:00
Klaus Basan
b5ba4013dd Formatting 2018-05-08 16:06:38 +02:00
Klaus Basan
6061a61d50 Ref T260, changed elevation handling in provider, simulator and FSX common driver
* split functions, added findClosestElevationWithinRangeOrRequest
* obtain elevation ids (separate ids are easier to track)
* also added experimental "physicallyAddAITerrainProbe" (FSX) for the FSX elevation probing
* callback / signal when requested elevation is received (async)
2018-05-08 16:06:35 +02:00
Klaus Basan
aa21d9ea92 Ref T259, Ref T243 unify ground details when a new situation is received 2018-05-04 23:03:32 +02:00
Klaus Basan
225d05d22f Ref T259, Ref T243 prepared sim.env.provider to request elevations 2018-05-04 23:03:28 +02:00
Klaus Basan
0f1cec0e42 Ref T259, Ref T243 update client capabilities when receiving parts 2018-05-04 23:03:11 +02:00
Klaus Basan
21644c9f24 Ref T259, Ref T243 automatically update client gnd. capability by situation
Rational: If we receive a gnd flag from network, the client does have this capability
2018-04-13 23:37:42 +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
6cb050a727 Ref T259, Ref T243 guess gnd flag in airspace monitor if not available 2018-04-13 23:37:26 +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
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
27f97f729d Formatting 2018-04-05 02:54:44 +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
83b6578e69 Ref T259, Ref T243 use elevation plane for altitude
general idea: by using the plane class, we can set a elevation and then find a better one

* use elevation plane in situation
* adjusted depending classes such as hints, lists
* using setGroundElevationChecked so elevation can be gradually improved
2018-04-05 02:54:28 +02:00
Klaus Basan
03af49348b Ref T259, Ref T243 formatting 2018-04-05 02:53:55 +02:00
Klaus Basan
e001b0338f Ref T242, utility functions for matching
* search among airline aircraft
* improved logging information
* search among airline ICAO aircraft (which aircraft does the airline use?)
* check ecosystem before merging with VATSIM data
2018-02-09 04:43:47 +01:00
Klaus Basan
10f942e702 Formatting, minor tweaks 2018-02-09 04:43:45 +01:00
Klaus Basan
5d155fb59c Ref T243, adjust offset for timestamp based objects when keeping the order 2018-02-07 02:41:46 +01:00
Klaus Basan
7c9f2e9aa2 Ref T243, verify parts/positions order (latest first) 2018-02-04 08:59:54 +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
e9e0ae1ff4 Ref T241, Ref T243 formatting and minor tweaks
* unified how we write thread_local const
* ASSERTs
* formatting
2018-02-04 08:53:48 +01:00
Klaus Basan
301eb79eca Renamings and adjustments of developer flag 2018-01-30 20:34:50 +01:00
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