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
Klaus Basan
86d85c6b60
refs #707 , removed originator from some signatures
...
* not used in remote aircraft provider
* adjusted all using interfaces
2016-07-14 18:49:15 +02:00
Klaus Basan
83eca195a8
refs #702 , access to reverse lookup log messages per callsign
...
* added functions in airspace / context
* allow to retrieve "aircraft in range" callsigns
2016-07-14 18:49:05 +02:00
Roland Winklmeier
3d7a39ed00
Fix BlackMisc header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #630
2016-05-13 17:05:49 +02:00
Mathew Sutcliffe
a1861c69f0
refs #624 Some more occurrences of constexpr.
2016-03-22 16:02:53 +00:00
Mathew Sutcliffe
6f1cf8e3d7
refs #624 Replace typedef with using.
2016-03-22 16:02:50 +00:00
Roland Winklmeier
055e4aae17
Fix source code not in sync with doxygen doc
...
refs #544
2016-02-08 01:53:17 +01:00
Roland Winklmeier
794bf0cd74
Fix doxygen copydoc documentation
...
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code
refs #544
2016-02-08 01:53:17 +01:00
Klaus Basan
23856bbc57
Connection guard (detected during #477 )
...
Disconnects Qt signal/slot conenction when destroyed
2015-11-19 21:04:40 +00:00
Klaus Basan
dbcc540313
refs #452 , updated aircraft providers
...
* to update own Aircraft/Airline ICAO codes signature
* get aircraft in range for callsign
2015-11-19 20:59:08 +00:00
Mathew Sutcliffe
00cd4f4f87
refs #459 Removed CAircraftParts::m_correspondingCallsign per Slack discussion MS/RW.
2015-11-19 20:58:18 +00:00
Klaus Basan
d8e0ff83e6
refs #445 , as discussed with #445 added receiver
...
(QObject:connec robust to threading issues)
2015-11-19 20:57:33 +00:00
Mathew Sutcliffe
d4d862927e
refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable.
2015-06-06 18:02:16 +01:00
Roland Winklmeier
ee0bfd62fa
refs #428 Use COriginator instead of QString in internal API
2015-05-25 16:06:44 +02:00
Klaus Basan
880a954db9
refs #395 , improvements for snapshot / restricted aircraft handling
...
* fixed isCurrentThreadCreatingThread and renamed to isCurrentThreadObjectThread (this check was never working), added 2 more thread checks
* changed remove aircraft function to return number of returned aircraft (like with the containers this allows to avoid unnecessary signals)
* removed unused function ps_recalculateRenderedAircraft() / SimulatorCommon
* using Queued airspaceAircraftSnapshot signal for binding (functor connect does not provide connection type)
* extened ASSERTs to check threads
* simulator: initial situation function with return value (success?)
* simulator: avoid unneccessary copy and provide correct rendered flag in add aircraft function
2015-05-22 03:08:16 +02:00
Klaus Basan
de43caf451
refs #420 , refs #421 Adjusted FSX driver to emit correct status flags and unloading
...
* added unload function to disconnect signals / slots and simulator
* changed remote provider to return signal/slot connections to manually disconnect functor connects
* flag so pause can freeze or continue AI aircraft
* slightly changed unload behaviour in simulator context
Remark: Tested for FSX only
Solves #424 for FSX
2015-05-16 03:26:30 +02:00