Klaus Basan
3f4cb7529c
Guard QTimer::singleShot
2018-05-08 16:06:52 +02:00
Klaus Basan
0808cdb223
Ref T261, further unify interpolator handling
...
* return interpolation results parts/situation in one step
* base class init for each interpolation step, less redundant code
* removed old interpolation/parts function
* adjusted unit tests and simulator objects (such as SimObject)
2018-05-08 16:06:52 +02:00
Klaus Basan
3d2a74a652
Ref T261, interpolator mode is now part of setup
...
* added attribute in setup
* adjusted UI
* adjusted interpolator / simulator functions
2018-05-08 16:06:49 +02:00
Klaus Basan
ab0c34b16a
Ref T261, added toFullJson in parts
...
* needed, since the "is full" attribute needs to be added
* fixed usage in network vatlib
2018-05-08 16:06:49 +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
3031e5b648
Ref T261, set client provider in simulator
...
Needed to obtain client capabilities
2018-05-08 16:06:48 +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
a1b2e92684
Ref T261, move default offset times to FSD setup
...
* make it available in "blackmisc"
* remove dependency from "VATSIM"
2018-05-08 16:06:46 +02:00
Klaus Basan
4876569a9d
Ref T261, minor airspace monitor improvements and formatting
2018-05-08 16:06:45 +02:00
Klaus Basan
adeea182da
Ref T261, provider support for CG/elevation update
2018-05-08 16:06:44 +02:00
Klaus Basan
1f3e5c6abf
Formatting, minor tweaks
2018-05-08 16:06:43 +02:00
Klaus Basan
d390116666
Relay when simulator isAvailable, otherwise FSX/P3D misses all calls when loading scenery or paused
2018-05-08 16:06:42 +02:00
Klaus Basan
f94fb8e7fb
Use Qt::QueuedConnection for cross context (xCtx) to decouple
2018-05-08 16:06:41 +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
eb0fa92e7e
Ref T260, function to add an offset to received situations for testing
...
* "dot" command
* context function
* provider functions
2018-05-08 16:06:40 +02:00
Klaus Basan
456cb5d1ea
SimConnect config: Allow to enable tracing of sendid via UI
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
e97de13545
Ref T260, adjusted context/remote provider
...
* signal from simulator -> context
* return number of updated situations
2018-05-08 16:06:38 +02:00
Klaus Basan
66bf45eb9c
Unit tests, skip if DB is not reachable
2018-05-08 16:06:37 +02:00
Klaus Basan
1ff0607e42
Formatting
2018-05-08 16:06:36 +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
dcc348c9d9
Ref T260, correctly set simulation environment provider
2018-05-08 16:06:34 +02:00
Klaus Basan
056c257182
Ref T260, utility functions to set provider, plane ctor
2018-05-08 16:06:34 +02:00
Klaus Basan
e1421622b1
Reset URL list and adjusted timeouts for for bootstrap file. Also avoid problems when shutting down.
2018-05-08 16:06:34 +02:00
Klaus Basan
0d76cc8d3e
Formatting
2018-05-08 16:06:33 +02:00
Klaus Basan
c1ac229875
Formatting
2018-05-08 16:06:32 +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
bedfb5eb67
Ref T259, Ref T243 align timestamp values to qint64
2018-05-04 23:03:26 +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
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
0f1cec0e42
Ref T259, Ref T243 update client capabilities when receiving parts
2018-05-04 23:03:11 +02:00
Klaus Basan
785e35ee88
Formatting
2018-04-13 23:37:48 +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
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
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
7a05a5ae3a
Formatting, minor fix
2018-04-13 23:37:23 +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
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
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