Commit Graph

107 Commits

Author SHA1 Message Date
Klaus Basan
dfd33e40c1 Detect emulated driver before casting to avoid crashs 2018-11-16 02:49:51 +01:00
Klaus Basan
03691b4700 Ref T421, function to get interpolation messages from the simulator context 2018-11-04 17:42:47 +01:00
Klaus Basan
756ee18410 Ref T379, to improve reset models added "setAircraftEnabledFlag" to just set the flag, not sending signals causing removed aircraft 2018-10-05 17:39:57 +02:00
Klaus Basan
5c165c4fe7 Ref T373, style 2018-09-25 03:47:46 +02:00
Klaus Basan
84970760c1 Ref T373, removed unused function 2018-09-25 03:19:28 +02: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
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
51973cd2b9 Ref T348, remove from matcher if model failed 2018-09-20 00:47:22 +02:00
Klaus Basan
ae60cf560d Ref T361, better guards for plugin and sGui
No need to create an assert if plugin is not avilable, though the plugin info should be "Unspecified" in that case
2018-09-18 19:23:13 +02:00
Klaus Basan
57178c75f9 Ref T357, function to copy FSX terrain probe, also in context for remote UI 2018-09-17 18:28:40 +02:00
Klaus Basan
c12e1585fd Allow to save interpolation/rendering setup
- setting trait
- save/load logic in context
- adjusted UI, allow to reset global setup
2018-09-17 18:28:33 +02:00
Klaus Basan
89411d783b Only check listener before starting 2018-09-17 18:28:27 +02:00
Klaus Basan
ba7906b0a6 Ref T348, if plugin is unloaded, also fire "simulator disconnected". Also change to Qt::QueuedConnection.
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:13 +02:00
Klaus Basan
6f6ec17c3d Ref T335, adjusted consuming "slots" to use disabled flag if adding failed 2018-09-12 20:30:07 +02:00
Klaus Basan
640e6ab055 Ref T335, reset to model matching aircraft enables again 2018-09-12 17:40:55 +02:00
Klaus Basan
e1ffa49268 Check for known model so mapping component can check without loaded model set 2018-09-12 17:40:45 +02:00
Klaus Basan
7e9f3a6c7f Ref T342, distance of airport can be recalculated 2018-09-12 17:40:38 +02:00
Klaus Basan
0b0a7783a0 Ref T312, added check listener function in contexts 2018-08-27 18:58:22 +02:00
Klaus Basan
cb351aca1a Ref T298, improved/fixed re-matching (match all aircraft again)
- reset to network model (otherwise we match "matched model" -> "matched model")
- renamed/added functions doMtachingAgain/doMatchinsAgain in contexts
2018-08-26 15:26:56 +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
cbb0805c7e Style 2018-08-19 14:31:47 +02:00
Klaus Basan
baea17c0f1 Ref T298, matching messages can be deleted 2018-08-16 14:34:02 +02:00
Klaus Basan
92880bce7f DBus test (GUI + core) fixes
* removed unused signals
* marked relayParentSignals as deprecated, currently not used
2018-08-09 01:41:23 +02:00
Klaus Basan
5b44f55435 Ref T298, prepared function to "redo" a mapping 2018-08-09 01:39:30 +02:00
Klaus Basan
8f9cc645e9 Ref T298, matching setup changed signal in contexts/matcher 2018-08-09 01:39:27 +02:00
Klaus Basan
6548c71521 Synchronize model set in simulator context and improved setting of model set in matcher (ignored when same simulator) 2018-08-09 01:39:19 +02:00
Klaus Basan
d78a7e639a Improved default for matching messages based on model set size 2018-08-09 01:25:34 +02:00
Klaus Basan
d310c9c843 Ref T298, model matching settings trait and used settings in simulator context 2018-08-09 01:25:28 +02:00
Klaus Basan
0b952e7336 Ref T298, get/set matching setup in context plus some minor style fixes 2018-08-09 01:25:24 +02:00
Klaus Basan
08113e8c1d Ref T298, adjusting used aircraft matcher (using setup) 2018-08-07 20:40:29 +02:00
Klaus Basan
a6ee6d4b72 Ref T292, Ref T285 minor style improvements, renamings 2018-07-26 04:32:38 +02:00
Klaus Basan
4ded1636a5 Ref T292, Ref T285 replaced model set loader in context 2018-07-25 02:37:08 +02:00
Klaus Basan
ac406d43f6 Ref T286, renaming / adding utility functions in simulator info 2018-07-09 22:30:24 +02:00
Klaus Basan
ca87784509 Ref T275, remember CG per model string 2018-07-09 22:30:22 +02:00
Klaus Basan
eaa40e8289 Per default enable matching log 2018-06-27 12:49:16 +02:00
Klaus Basan
69193f089a Minor tweaks, style 2018-06-25 02:04:35 +02:00
Klaus Basan
d3796fc65a Ref T275, added param "ignoreSameAsGlobal" in function "setInterpolationAndRenderingSetupsPerCallsign" 2018-06-20 00:58:47 +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
7bee8e9ee8 Formatting 2018-06-01 01:30:42 +02:00
Klaus Basan
9c33c5d9fc Ref T245, Ref T261, added functions for "follow plane", "setup changed" signal in context and simulator interface 2018-05-18 00:25:01 +02:00
Klaus Basan
4ced6b4f97 Formatting 2018-05-18 00:24:58 +02:00
Klaus Basan
3f4cb7529c Guard QTimer::singleShot 2018-05-08 16:06:52 +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
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
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
07589e8219 Avoid redundant update of model set ui
* added changed simulator in signal
* only changed once when cache changed
2018-04-13 23:36:45 +02:00
Klaus Basan
3b9a732fff Ref T259, Ref T243 relay interpolation setup via context (DBus) 2018-04-13 23:36:43 +02:00
Klaus Basan
42ef7c5633 Avoid long "hanging" if Windows UNC path is not reachable
Use own "isDirExisting" function checking UNC paths
2018-04-05 02:54:40 +02:00
Klaus Basan
d7ac721d09 Ref T259, Ref T243 setSimulationEnvironmentProvider when simulator changes 2018-04-05 02:54:36 +02:00
Klaus Basan
3e41a91455 Ref T131, verifyPrerequisites in simulator context (checking XP conflicts) 2018-04-05 02:53:40 +02:00