Commit Graph

2565 Commits

Author SHA1 Message Date
Klaus Basan
aea0f307db Ref T259, Ref T243 set function/ctor for normal vector 2018-05-04 23:03:24 +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
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
0b4637054a Formatting 2018-05-04 23:03:16 +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
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
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
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
7d396d94bd Ref T259, Ref T243 use minimum range for elevations in provider 2018-04-13 23:37:27 +02:00
Klaus Basan
7a05a5ae3a Formatting, minor fix 2018-04-13 23:37:23 +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
d6fd53287f Improved graceful shutdown, added "m_shutdownInProgress"
* no assert when wait is called in same thread, just ignore wait
* quitAndWait readers, also works if not already noved in new thread (see above)
2018-04-13 23:36:49 +02:00
Klaus Basan
116d428f84 Ref T259, Ref T243 added setup provider (interpolation setup) 2018-04-13 23:36:39 +02:00
Klaus Basan
74f52cf39c Ref T259, Ref T243 adjusted container, models and views to support CInterpolationSetupList
* added forward declarations
* added some utility functions
2018-04-13 23:36:38 +02:00
Klaus Basan
011f31ad2b Formatting 2018-04-13 23:36:37 +02:00
Klaus Basan
28b270a4cf Fix, wrong assert 2018-04-13 23:36:36 +02:00
Klaus Basan
333a92ff63 Ref T259, Ref T243 renaming to CInterpolationAndRenderingSetupPerCallsign 2018-04-13 23:36:34 +02:00
Klaus Basan
f5d1217b48 Ref T259, Ref T243 interpolation setup list 2018-04-13 23:36:33 +02:00
Klaus Basan
cc638ca3d0 Ref T259, Ref T243 split interpolation setup into base class, global setup and setup per callsign 2018-04-13 23:36:32 +02:00
Klaus Basan
0b7683fd50 Ref T259, Ref T243 unified naming of interfaces "org.swift-project" + lowercase 2018-04-13 23:36:31 +02:00
Klaus Basan
63cff1853e Ref T89, provider for ecosystem info
Also Ref T259, Ref T243
2018-04-13 23:36:29 +02:00
Klaus Basan
55534cbb09 Formatting 2018-04-13 23:36:12 +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
d99a1cac87 Ref T259, Ref T243 base class for providers/aware classes
* disable aware classes when provider is destroyed
* unified base class
2018-04-06 02:56:55 +02:00
Klaus Basan
61b71599bb Ref T259, Ref T243 get latest parts from remote aircraft provider 2018-04-06 02:56:51 +02:00
Klaus Basan
b0ca968837 Ref T259, Ref T243 FSD setup gnd flag handling 2018-04-05 02:54:52 +02:00
Klaus Basan
fd7b1e0d9c Ref T259, Ref T243 utility functions for timestamp based classes 2018-04-05 02:54:50 +02:00
Klaus Basan
2a0b81de5b Ref T259, Ref T243 client provider used with network classes
Also adds a dummy testing class
2018-04-05 02:54:46 +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
42ef7c5633 Avoid long "hanging" if Windows UNC path is not reachable
Use own "isDirExisting" function checking UNC paths
2018-04-05 02:54:40 +02:00