Commit Graph

60 Commits

Author SHA1 Message Date
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
Klaus Basan
3f086e1d52 Allow to display position logs also in the console window
* added requestUiConsoleMessage
* utility functions
2018-04-05 02:52:38 +02:00
Klaus Basan
8dc25fbad7 Allow to alter model set simulator in pilot client
* selector can be read only
* functions in context to obtain model set from loader/matcher, this will not be used when a plugin driver is present
* adjusted UI
2018-02-13 03:57:46 +01:00
Klaus Basan
ccd7c477e2 Ref T246, unified signal handling in model caches and loader
* setSimulator as checked, simulatorChanged as unchecked version
* some renamings
* made some functions private, turned public slots -> public
2018-02-10 01:33:48 +01:00
Klaus Basan
887d1ec401 Ref T246, some upfront formatting 2018-02-09 04:43:54 +01:00
Klaus Basan
10f942e702 Formatting, minor tweaks 2018-02-09 04:43:45 +01:00
Klaus Basan
301eb79eca Renamings and adjustments of developer flag 2018-01-30 20:34:50 +01:00
Klaus Basan
d118ea402f Ref T232 clear remote aircraft data once network disconnects
* blackconfig in .pro
* verify function to detect dangling states
* clear remote data when disconnected from network
* there was one problem that the data where not correctly cleaned up and hence new aircraft where not added again after a disconnect/reconnect from network
* it is not yet clear why data happens (dangling data), that is what the debugVerify function is for
2018-01-30 20:31:11 +01:00
Klaus Basan
c1ee159ff9 Ref T232, some formatting
* made "private slots" -> "slots"
* cross context slots marked with "xCtx" prefix
2018-01-30 20:30:14 +01:00
Roland Winklmeier
7edcc02f15 Return the plugin info of the emulated simulator rather than emulated itself 2018-01-22 14:07:02 +01:00
Klaus Basan
8103df18f7 Ref T195, formatting 2017-12-21 19:45:46 +01:00
Klaus Basan
89db83f3c7 Ref T182, use enum instead of int in ps_networkConnectionStatusChanged 2017-11-09 04:42:15 +01:00
Klaus Basan
822ef11c02 Ref T180, formatting 2017-11-09 04:42:11 +01:00
Klaus Basan
482023b2c0 Ref T180, dot commands to set rendering setup
* enable parts/debug messages via dot command
* allow to log to console via application context
2017-11-06 22:20:59 +01:00
Klaus Basan
93a29b2b11 Ref T180, formatting 2017-11-05 20:02:06 +01:00
Klaus Basan
ecc4789855 Ref T171, Ref T136, renaming "swift driver" -> "emulated driver" 2017-10-18 22:58:37 +02:00
Klaus Basan
bc5f431953 Ref T171, simulator context formatting 2017-10-18 22:58:29 +02:00
Klaus Basan
7a87f986e2 Ref T167, renaming LocalInDBusServer and verifyModelSet 2017-10-10 00:27:17 +01:00
Klaus Basan
71fa0fc7b8 Ref T111, handle SELCAL in simulator context (fix, was missing so far) 2017-09-24 19:51:59 +01:00
Klaus Basan
1387573e5b Ref T112, moved simulator settings in subdir/settings namespace 2017-09-24 19:51:46 +01:00
Klaus Basan
c066ffcd28 Ref T111, emit signal simulatorPluginChanged after function completes 2017-09-24 19:51:24 +01:00
Klaus Basan
52805965cd Ref T111, swift driver plugin 2017-09-24 19:51:16 +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
Mathew Sutcliffe
2134b4e874 refs #937 Resolved clazy warnings: wrong usage of emit keyword. 2017-04-19 19:31:48 +01:00
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01:00
Roland Winklmeier
9dbb984e1a Split listening for simulators and loading their plugins
Previously loadSimulatorPlugin was doing two things. First starting
a listener and second loading the plugin itself. This was confusing
since the sequence is to listen first and load not before a simulator
is available.
This change splits this up properly into two methods. listenForSimulator()
is called when the plugin is started and as soon as a simulator is started,
its plugin will be loaded.

refs #909
2017-04-18 00:06:06 +01:00
Roland Winklmeier
0eaab1753d Unload simulator driver when unchecked in settings
refs #909
2017-04-18 00:06:01 +01:00
Klaus Basan
0942d007d5 refs #917, made simulator settings read only 2017-04-18 00:04:49 +01:00
Klaus Basan
d078aa9580 refs #911, formatting 2017-04-18 00:00:48 +01:00
Klaus Basan
8d198a9174 refs #827, moved matching utilities to blackmisc so it can be used also with score functions in blackmisc 2017-04-17 23:59:25 +01:00
Roland Winklmeier
1a6c7fa192 Add control button to activate and deactivate swift weather
- GUI changes
- Context and ISimulator APIs
- Refactored settings and static weather injection in CSimulatorCommon

refs #807
2017-01-10 23:47:39 +00:00
Klaus Basan
44d7e3cca9 refs #849, simulator context
* detect when network is connected (to receive data for statistics)
* function to get statistics
* also added function to re-initialize last model set (unrelated, but in same class)
2017-01-10 23:46:59 +00:00
Klaus Basan
15020b2d5f refs #848, parse command line in simulator context
* forward to driver if applicable
* hook up with facade to receive command lines
2017-01-10 23:46:20 +00:00
Klaus Basan
b69008e0b3 refs #829, consolidated settings for simulator/messages
* move traits from blackcore to blackmisc
* renamed CSimulatorSettings/Messages
2016-12-13 19:02:13 +01:00
Klaus Basan
6befaa32d5 refs #797, added support for combined type
* adjusted log messages
* aligned name to combined type
2016-12-13 19:01:40 +01:00
Klaus Basan
49613651a8 Utility function to find out if model set is initialized 2016-12-13 19:01:31 +01:00
Klaus Basan
2163fd9b01 refs #808, CSimulatorInternals
* renamed from CSimulatorSetup to CSimulatorInternals
* removed the FSX class, no longer needed
* utility functions for CNameVariantPair
2016-12-13 19:00:58 +01:00
Klaus Basan
3903a24696 refs #806, apply CInterpolationAndRenderingSetup
* removed no longer needed signatures
* some renaming of CInterpolationAndRenderingSetup functions
* adjusted UI element
2016-12-13 19:00:53 +01:00
Roland Winklmeier
d6deb077a7 Disconnect simulator plugin signals before unloading
When we unload a simulator plugin, we don't need to listen to any
of its events anymore. Therefore disconnect its signals before
unloading.
The disconnect already existing before this commit probably had the
same intention but did the wrong thing.

refs #801
2016-12-13 19:00:50 +01:00
Klaus Basan
80d52963ef refs #801, temp. fix. avoiding crash during shutdown 2016-12-13 19:00:04 +01:00
Klaus Basan
8a44774c98 refs #799, use message settings 2016-12-13 19:00:01 +01:00
Klaus Basan
94d6b8d6b8 refs #789, improvements to try to solve FSX issue in driver
* more asserts to find issues
* limit number of exceptions displayed
* reset() function (there was an issue with not cleaned up values)
* using CSimConnectObjects and adjustments for the previous changes
2016-12-06 09:47:07 +01:00
Klaus Basan
3f6cef1c9f refs #796, allow to toggle full interpolation
* add setup class, metadata registration, property index ...
* removed enableDebugMessages, added setInterpolatorSetup
* adjusted contexts
* used in interolator
2016-12-06 09:47:01 +01:00
Roland Winklmeier
0b5f02f5d6 Restore simulator listeners after previous connection closed 2016-12-06 09:46:56 +01:00
Klaus Basan
72fdf7c5bc refs #793, added function to reset model (after it was manually changed)
* located in context since context owns matcher object
* call from GUI
* some code formatting to indicate the cross simulator slots connected in runtime

refs #780
2016-12-06 09:34:56 +01:00
Klaus Basan
1678ca8919 refs #780, improved model string completion
* added signatures for completer string (when send via context size matters)
* support of all instaled models in completer
* added BLACKMISC_EXPORT in model cache classes
2016-12-06 09:34:31 +01:00
Klaus Basan
df60474510 refs #789, added signal when adding models fails
Signatures in context and simulator
2016-12-06 09:34:25 +01:00