Klaus Basan
68b72d9c5c
Ref T335, update "enabled/"rendered" for multiple callsigns
2018-09-12 17:40:52 +02:00
Klaus Basan
7d715a909e
Ref T335, style and CLANG warnings
2018-09-12 17:40:49 +02:00
Roland Winklmeier
5e38936fd2
Fix weak vtables
2018-08-25 22:12:06 +02:00
Klaus Basan
cbb0805c7e
Style
2018-08-19 14:31:47 +02:00
Klaus Basan
9be7572c36
Network VATLIB refactoring
...
* use qit64 for timestamp related integers
* use valueInteger for PQ integer values (rounding)
2018-08-16 14:44:03 +02:00
Klaus Basan
b671c2a0a5
Style, removed redundant CForm overrides
2018-08-07 20:41:06 +02:00
Klaus Basan
d05b4da2a9
Ref T299, renaming
2018-08-07 20:41:04 +02:00
Klaus Basan
6af1998f58
Style and comments
2018-07-12 18:29:42 +02:00
Klaus Basan
a5acd0a1ec
Ref T268, elevation handling improvements
...
* utility functions
* made storeAircraftSituation virtual and return Aviation::CAircraftSituation
* coordinate toQString in deg/rad
2018-07-11 23:44:11 +02:00
Klaus Basan
ca87784509
Ref T275, remember CG per model string
2018-07-09 22:30:22 +02:00
Klaus Basan
7cc350974c
Ref T275, added "latestOnGroundProviderElevation" to improve average elevation
2018-06-18 20:55:09 +02:00
Klaus Basan
2625c3fb6b
Ref T275, new function to estimate ground elevation and some provider functions
...
* added "averageElevationOfNonMovingAircraft". Idea: aircraft in the vicinity not moving or on ground likely have the same airport elevation
* added "isWithinRange"
* added "latestRemoteAircraftSituations" / "remoteAircraftSituation" in provider
2018-06-18 03:21:15 +02:00
Klaus Basan
3467bef45c
Ref T280, provider improvements
...
* store the changes per callsign
* aircraft stored per callsign
* moved "guessOnGroundAndUpdateModelCG" down to IRemoteAircraftProvider (from airspace monitor, "one level deeper in base class"
2018-06-18 03:04:34 +02:00
Klaus Basan
fb93d26453
Ref T275, IRemoteAircraftProvider::remoteAircraftParts cutoff time was never used so parameter was removed
2018-06-18 03:04:30 +02:00
Klaus Basan
c5fb428fa9
Ref T280, using the QHash<CCallsign, T> definitions to unify use cases
2018-06-14 14:40:16 +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
2923df27e2
Use fully qualified names in signals as there was an unrecognized type with Qt::QueuedConnection
2018-06-13 13:59:21 +02:00
Klaus Basan
464c8dfe83
Formatting
2018-05-26 21:19:20 +02:00
Klaus Basan
afe4a09218
Formatting
2018-05-18 00:25:10 +02:00
Klaus Basan
3ef18a788a
Ref T261, minor adjustment of testAddAltitudeOffsetToSituation
2018-05-08 16:06:56 +02:00
Klaus Basan
adeea182da
Ref T261, provider support for CG/elevation update
2018-05-08 16:06:44 +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
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
0b4637054a
Formatting
2018-05-04 23:03:16 +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
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
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
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
0b7683fd50
Ref T259, Ref T243 unified naming of interfaces "org.swift-project" + lowercase
2018-04-13 23:36:31 +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
61b71599bb
Ref T259, Ref T243 get latest parts from remote aircraft provider
2018-04-06 02:56:51 +02:00
Klaus Basan
4482e6fdc3
Include order
2018-02-04 09:00:20 +01:00
Klaus Basan
9fd54864f0
Ref T243, const value in provider to have it in a single place
2018-02-04 08:57:53 +01: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
Klaus Basan
3f924209f1
As a follow up of review T111, changed "void static" to "static void" for consistency.
2017-09-24 19:52:31 +01:00
Klaus Basan
ec844fd438
Ref T27, made isAircraftInRange context and provider function
...
Based on clang warnings and RW's comment now pure virtual and context and provider function
2017-09-24 19:49:19 +01:00
Klaus Basan
417496024e
Ref T26, Ref T27, added utility function in remote aircraft provider
2017-06-27 20:50:33 +02:00
Klaus Basan
62d4a94106
refs #865 , further improved logging
...
* set log flag in hints, so no lock for each aircraft is needed
* as a result log functions have a bool log parameter now
* highlight situation and parts changed
2017-02-24 00:19:18 +00:00
Klaus Basan
e3d81c6c44
refs #865 , use same function for removing outdated aircraft parts
...
* in airspace monitor
* in XP traffic.cpp
2017-02-24 00:19:09 +00:00
Mathew Sutcliffe
76cc9f8ad8
refs #852 CAirspaceMonitor has no maximum number of parts per callsign,
...
but regularly prune the list based on timestamp age.
2017-02-24 00:17:53 +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
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
Roland Winklmeier
079c790aa7
Allow remote aircraft provider to be set after construction
...
refs #765
2016-09-19 16:30:05 +02:00
Roland Winklmeier
40d4c7774d
Make originators calling updateAircraftModel identifable
...
refs #765
2016-09-19 16:29:37 +02:00