Klaus Basan
6ca6d12851
Added "isWeatherActivated" based on the discussion with LT
2019-04-11 22:11:34 +01:00
Klaus Basan
961afa531b
Ref T554, collect auto-publish data in simulator
2019-04-11 22:11:33 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Mat Sutcliffe
225ff81252
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
2019-02-22 20:34:55 +00:00
Mat Sutcliffe
dd655bcb25
Ref T486 Using QRandomGenerator.
2019-02-22 20:34:53 +00:00
Mat Sutcliffe
6c05c5249d
When calling arg() on a QString constructed from a literal, use QStringLiteral.
2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ace7650ebe
Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals.
2019-02-22 20:23:46 +00:00
Mat Sutcliffe
333ea1b8df
Fixed clazy warnings: empty QStringLiteral.
2019-02-22 20:23:32 +00:00
Klaus Basan
cb422d72cf
Misc. style issues interpolation/model adding
2018-11-22 19:55:02 +01:00
Klaus Basan
b452cd7530
Ref T410, show number of SB4 packets received under simulator/information
2018-11-16 02:49:55 +01:00
Klaus Basan
3eb46690c0
Removed clamped messages
2018-11-16 02:49:55 +01:00
Klaus Basan
64b0ec87b1
Ref T423, changed strategy to force position updates
...
* force update for "some time", and remove all sent information
* no longer update some cycles, but for some time
* updated FSX/P3D/XPlane drivers
2018-11-16 02:49:52 +01:00
Klaus Basan
dfd33e40c1
Detect emulated driver before casting to avoid crashs
2018-11-16 02:49:51 +01:00
Klaus Basan
2b8e388ba1
Ref T423, force update if simulator was paused or interrupted before
...
* force full updates for some cycles "m_updateAllRemoteAircraftCycles"
* only use "emitSimulatorCombinedStatus" to emit changed simulator status
* renamed to "finishUpdateRemoteAircraftAndSetStatistics"
* override "forced" in "getInterpolationSetupConsolidated"
This addresses the issue that aircraft appear below ground after moving the aircraft
2018-11-06 01:41:47 +01:00
Klaus Basan
4d7ca00324
Ref T421, interpolation log message follow up, deprecated "clampedLog"
2018-11-05 01:39:51 +01:00
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