Commit Graph

5780 Commits

Author SHA1 Message Date
Klaus Basan
bc4875afbb Ref T259, Ref T243 functions to set/get ground details (situation) 2018-05-04 23:03:31 +02:00
Klaus Basan
6f8d0ce2ab Formatting 2018-05-04 23:03:30 +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
cf98c46231 Ref T259, Ref T243 return unit by reference 2018-05-04 23:03:27 +02:00
Klaus Basan
bedfb5eb67 Ref T259, Ref T243 align timestamp values to qint64 2018-05-04 23:03:26 +02:00
Klaus Basan
aea0f307db Ref T259, Ref T243 set function/ctor for normal vector 2018-05-04 23:03:24 +02:00
Klaus Basan
7d106acdee DB reader, doWorkCheck before writing cache. In case shutdown takes place in-between. 2018-05-04 23:03:23 +02:00
Klaus Basan
57b3760b61 Make "CanConnect" timeout configurable in watchdog
* see also https://swift-project.slack.com/archives/G7GD2UP9C/p1522624024000024
* added signatures
* changed timeout
2018-05-04 23:03:22 +02:00
Klaus Basan
9192d13a6c Dialog (no longer overlay frame) for new DB data
* allows to select the entities
* allows to consolidate
2018-05-04 23:03:21 +02:00
Klaus Basan
f8d16555aa No assert but empty URL and verify if sApp has been deleted 2018-05-04 23:03:20 +02:00
Klaus Basan
574bc8b51b Utility functions for entity flags and web data services
* multiple flags by name
* number of DB objects
* newer entities synchronized
2018-05-04 23:03:19 +02:00
Klaus Basan
b6b37c9c0f DB watchdog also emits URL in signal (allows to display the failed URL) 2018-05-04 23:03:18 +02:00
Klaus Basan
0b4637054a Formatting 2018-05-04 23:03:16 +02:00
Klaus Basan
7d97b0e2a7 Some view/model improvements
* unselected functions as unselectedRowCount/unselectedRows ...
* turned some private slots -> private functions
2018-05-04 23:03:15 +02:00
Klaus Basan
37814d3f08 Fix model/view bug: do not delete all rows when deleting in a filtered view 2018-05-04 23:03:14 +02:00
Klaus Basan
63e5f75a1d Ref T259, Ref T243 situation detects under and overflow
* details about altitude correction AltitudeCorrection
* function to correct altitude by detecting under/overflow
2018-05-04 23:03:13 +02:00
Klaus Basan
852abf1232 Marked deprecated functions in proxy (doxygen) 2018-05-04 23:03:12 +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
bd7fd59d07 Ref T259, Ref T243 elevation provider statistics 2018-05-04 23:03:09 +02:00
Klaus Basan
52dd7a754c Ref T259, Ref T243 access to last interpolated situation to check if near ground 2018-05-04 23:03:08 +02:00
Klaus Basan
9d484df5ed Ref T259, Ref T243 compare situation by vector 2018-05-04 23:03:07 +02:00
Klaus Basan
4d2a32f035 Ref T259, Ref T243 removed ground factor interpolation from parts (now in situation where it belongs) 2018-05-04 23:03:06 +02:00
Klaus Basan
dd9efc9bb1 Ref T259, Ref T243 functions for ground factor/underflow interpolation 2018-05-04 23:03:04 +02:00
Klaus Basan
a7f1e15f39 Ref T259, Ref T243 pass the providers along the hierarchy 2018-04-13 23:37:49 +02:00
Klaus Basan
785e35ee88 Formatting 2018-04-13 23:37:48 +02:00
Roland Winklmeier
b28fb0e154 Export nested CInterpolatorSpline classes 2018-04-13 23:37:46 +02:00
Roland Winklmeier
e1538573fe Remove old xswiftbus interpolator code
ref T259
2018-04-13 23:37:45 +02:00
Klaus Basan
66b661fe9c Ref T259, Ref T243 added number of parts/situations and last modified timestamp
* the spline interpolator might need the timestamp to create a new interpolant
* number of parts/situations is for info only
2018-04-13 23:37:44 +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
7ae0649dd6 Ref T259, Ref T243 remove dummy interpolator
* As there are no longer situations/parts added to the interpolator /solely provided by provider) there is no overhead anymore and no need for the dummy interpolator.
* Furthermore switching the interpolator at runtime will become possible.
2018-04-13 23:37:41 +02:00
Klaus Basan
60c70c34f6 Ref T259, Ref T243 prefill provider situations, so interpolator can immediately start 2018-04-13 23:37:40 +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
9abc57bb3d Ref T259, Ref T243 remove aircraft parts and situations from interpolator
* no longer using the add parts/situations signals
* will use the remote aircraft provider parts directly

Result: all parts/situations are stored only once in memory and in one single place
2018-04-13 23:37:37 +02:00
Klaus Basan
4248c1b689 Ref T259, Ref T243 improved utility function to store elevations in multiple providers 2018-04-13 23:37:36 +02:00
Klaus Basan
1203c58a23 Ref T259, Ref T243 utility functions for aircraft situation/elevation plane 2018-04-13 23:37:34 +02:00
Klaus Basan
bb34beed26 Ref T259, Ref T243 misc. smaller improvements of simulator environment provider 2018-04-13 23:37:33 +02:00
Klaus Basan
4ec3a76ed4 cpp check result fix Prefer prefix ++/-- operators for non-primitive types 2018-04-13 23:37:31 +02:00
Klaus Basan
fba301adcc Ref T259, Ref T243 FSX data defintions renamings 2018-04-13 23:37:30 +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
7d396d94bd Ref T259, Ref T243 use minimum range for elevations in provider 2018-04-13 23:37:27 +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
7a05a5ae3a Formatting, minor fix 2018-04-13 23:37:23 +02:00
Klaus Basan
3f9ec92fb4 Ref T259, Ref T243 removed guessing from sim classes 2018-04-13 23:37:22 +02:00
Klaus Basan
6a92ea4cb6 Ref T259, Ref T243 situation/parts/lights adjustments
* guessing now in parts/lights (so it can be used with all sims)
* minor renamings
* init FSX data definitions from parts
2018-04-13 23:37:20 +02:00
Klaus Basan
582347b557 Ref T259, Ref T243 added ctor for nullptr init (like other PQs) 2018-04-13 23:37:19 +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
476768f6ec Ref T259, Ref T243 unit function for elevation plane 2018-04-13 23:37:16 +02:00
Klaus Basan
06b07ac4c6 Formatting 2018-04-13 23:36:58 +02:00
Klaus Basan
8df74ce0e6 Ref T259, Ref T243 split mapping info area, new interpolation info area
* new interpolation info area
* added interpolation and parts history to that area
* adjusted keypad and main swift GUI
2018-04-13 23:36:55 +02:00
Klaus Basan
624eb7ca93 Ref T259, Ref T243 interpolation component and setup component 2018-04-13 23:36:54 +02:00