Klaus Basan
a871579479
Ref T370, added public removeAllRemoteAircraft
...
* protected clearAllRemoteAircraftData
* ISimulator::clearAllRemoteAircraftData no longer calls clearAllRemoteAircraftData (circular)
2018-09-25 02:14:00 +02:00
Klaus Basan
dcefa88133
Display plugin name if simulator info is not available
2018-09-24 00:51:38 +02:00
Klaus Basan
527f666d1f
Ref T370, remove models from FSX/P3D
...
* clearAllRemoteAircraftData also removes aircraft (from simulator)
* debugVerifyStateAfterAllAircraftRemoved only makes sense if removing aircraft and then emit the messages
2018-09-23 20:12:32 +02:00
Klaus Basan
da2a7f6506
Ref T348, get specialized settings
...
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:08 +02:00
Klaus Basan
a6499751f0
Ref T335, style/messages
2018-09-12 17:40:46 +02:00
Klaus Basan
7e9f3a6c7f
Ref T342, distance of airport can be recalculated
2018-09-12 17:40:38 +02:00
Klaus Basan
55690846fe
Ref T312, ignore not running listeners checking again via button
2018-09-08 15:36:25 +02:00
Klaus Basan
2c1055cc2e
Ref T312, fixed thread safety of listeners start/stop/check
2018-08-27 18:58:23 +02:00
Klaus Basan
1d7b3bd180
Ref T312, simulator factory not copyable plus check function (bypassing timer)
2018-08-27 18:58:14 +02:00
Klaus Basan
d7b1ed8d31
Hint for simulator if network is connected (slightly related T307)
2018-08-19 14:31:56 +02:00
Klaus Basan
6897abe912
Style, singleShot guard, Doxygen
2018-08-09 01:38:52 +02:00
Roland Winklmeier
10a0575a80
Fix clang static analyzer warnings
2018-08-07 20:40:56 +02:00
Klaus Basan
fe99eb0fed
Style and some view columns/UI renamings
2018-08-01 03:06:26 +02:00
Klaus Basan
fbfbdedb65
Ref T294, display simulator internals correctly
...
* view rows not selectable
* added settings to ISimulator
* ISimulator implements initSimulatorInternals() and sets default values
* also display plugin name
* XPlane using initSimulatorInternals()
2018-07-31 01:43:27 +02:00
Klaus Basan
ada0e34738
Ref T268, also "signal" received elevation if not updated in provider
2018-07-19 02:52:12 +02:00
Klaus Basan
88098dddf7
Ref T268, allow to log loopback situations
...
* those are situations reported back from simulator
* and can be logged
2018-07-19 02:52:06 +02:00
Klaus Basan
d0adcc98cb
Ref T289, merge CSimulatorCommonn/ISimulator
2018-07-12 18:29:36 +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
29536dac4d
Ref T268, simulator improvements
...
* use virtual function to emit setup signal
* callback public so it can be used from "log display" for testing
* sim. environment provider statistics
2018-07-10 17:17:29 +02:00
Klaus Basan
ca87784509
Ref T275, remember CG per model string
2018-07-09 22:30:22 +02:00
Klaus Basan
bc0b4502cf
Ref T275, move some simple implementations into ISimulator
...
Goal: merge CSimulatorCommon/ISimulator
2018-06-27 12:49:08 +02:00
Klaus Basan
73ea22530c
Ref T275, override simulator setup provider functions to emit signals
...
* the provider itself is no QObject and cannot emit signals
* removed redundant function setInterpolationAndRenderingSetup
2018-06-20 00:58:41 +02:00
Klaus Basan
65c94cf2c3
Style
2018-06-20 00:58:36 +02:00
Klaus Basan
db8939c499
Ref T275, isShuttingDownOrDisconnected as stricter check
2018-06-13 14:00:25 +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
2b9d9027a0
Ref T270, performance improvement by keeping less elevations cached
...
Rational: the idea was to keep track of ground elevations of all aircraft and hence using them for other aircraft on ground. But the "hit" ratio is bad, so we only keep a small number of elevations ("the last ones") and use those. The size of the cache is dynamically adjusted. Not moving aircraft are still found in that much smaller list.
2018-06-13 13:59:36 +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
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
056c257182
Ref T260, utility functions to set provider, plane ctor
2018-05-08 16:06:34 +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
4248c1b689
Ref T259, Ref T243 improved utility function to store elevations in multiple providers
2018-04-13 23:37:36 +02:00
Klaus Basan
301219600b
Ref T259, Ref T243 added setup provider to simulator interface/simulator common
2018-04-13 23:36:41 +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
4dfb973a5b
Ref T259, Ref T243 moved the "awareness" classes to the interfaces
...
* allows access to the awareness objects if only the interface is available
* can change the provider via the interface
2018-04-05 02:54:34 +02:00
Klaus Basan
8e761f35f1
Ref T197, simulator info
...
* CSimulatorInfo only initialized once and not over and over again in plugin info
* getSimulatorInfo() no longer virtual, as we can access the member CSimulatorInfo directly
* display exact simualtor in FSX/P3D driver
* renamed to identifierToSimulator and fixed typo "Identifier"
2017-12-21 19:46:17 +01:00
Klaus Basan
d777b8c611
Ref T180, fix emitting wrong status when disconnected
2017-11-04 21:44:40 +01:00
Klaus Basan
d5bb1733f4
Ref T180, formatting / const
2017-11-04 16:03:40 +01:00
Klaus Basan
119351800c
Ref T111, moved registerHelp implementation to .cpp
2017-09-24 19:51:11 +01:00
Klaus Basan
654c35f666
Ref T111, use Q_DECLARE_FLAGS SimulatorStatus instead of int
...
* changed emitSimulatorCombinedStatu
* changed connected slots/functions
2017-09-24 19:51:10 +01:00
Klaus Basan
29e1d54e05
Ref T111, some fixes in the vicinity of plugin / drivers
...
* mostly style / doxygen / formatting
* assert/verify
2017-09-24 19:51:02 +01:00
Klaus Basan
f34e80ea62
refs #935 , avoid issues when shutting down
2017-04-19 19:31:02 +01:00
Roland Winklmeier
aafe211b5c
Make simulator listeners safe against multiple starts
...
refs #909
2017-04-18 00:06:03 +01:00
Klaus Basan
622a2f0937
refs #911 , backend function in listener
...
Can provide information of the system which was connected
2017-04-18 00:00:47 +01:00
Klaus Basan
38ea336cbb
refs #894 , register dot commands for help
...
(wherever dor commands are implemented)
2017-04-17 23:57:50 +01:00
Roland Winklmeier
933271b828
Fix BlackCore header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #598
2016-05-13 17:06:00 +02:00
Klaus Basan
d603b28697
refs #438 , plugin loading testing session + meeting results
...
* simulator common, many members now private (info -> read only)
* renamed printDirectPlayError -> logDirectPlayError
* (re)added ASSERT for FS9
* removed parent from listener (with parent no moveToThread)
* removed QFuture / QConcurrent as we have agreed to do
* unloading a plugin no longer automatically restarts all listeners
this allows a user to set one particualar simulator in the GUI and ony wait for that
* stop listener from own signal
2015-06-04 23:44:50 +02:00
Klaus Basan
91bcba6a0c
refs #438 , added plug info to listeners
...
* listener signal can be directly used without mapping
* (during debugging) it is much easier to identify a listener
2015-06-03 16:26:49 +02:00
Klaus Basan
631814bcbd
refs #438 minor tweaks
...
* removed unused include
* status to enum utility function
* disconnect signals in network context
2015-06-03 16:26:35 +02:00
Klaus Basan
94eb33d228
refs #431 , infinite recursion in driver unload
...
* Trivial changes to avoid changedStatus signal when nothing changed
* Do not reload plugin when already loaded
2015-05-29 16:53:39 +02:00
Klaus Basan
6c06ff5d46
refs #432 , adjusted originators
2015-05-29 03:49:16 +02:00