Commit Graph

52 Commits

Author SHA1 Message Date
Klaus Basan
2e96caef5c Functions to remove models from model set 2019-09-16 22:41:32 +01:00
Klaus Basan
53fb28d70c Ref T609, setting if COM is synced with simulator 2019-05-13 11:20:39 +02:00
Klaus Basan
269bad3c42 Ref T566, added DBus streaming operators so the DECLARED enums can be used with DBus 2019-04-11 22:12:15 +01:00
Klaus Basan
0d2e6dd997 Ref T566, configurable matching log in matcher/simulator components
* log flag/enum in own file
* pass "what to log" as parameter
2019-04-11 22:12:13 +01:00
Klaus Basan
6ca6d12851 Added "isWeatherActivated" based on the discussion with LT 2019-04-11 22:11:34 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Roland Rossgotterer
c6f0c46222 Add missing and sort proxy context signal connections 2019-02-22 20:36:27 +00:00
Roland Rossgotterer
7d21b6ce0b Fix remote DBus call function names 2019-02-22 20:36:27 +00:00
Klaus Basan
6470c61d0a Ref T515, added failover flag for addingRemoteModelFailed
* adjusted signatures
* renamings and minor style adjustments
2019-02-22 20:35:41 +00:00
Klaus Basan
0ac6739377 Ref T515, context function "isValidationInProgress" 2019-02-22 20:35:40 +00:00
Klaus Basan
2dd396c0df Ref T515, renaming to "isKnownModelInSet" 2019-02-22 20:35:40 +00:00
Klaus Basan
faddf40ba7 Ref T515, functions for matcher setting/getting disabled models 2019-02-22 20:35:38 +00:00
Klaus Basan
cea6611656 Ref T515, added background validation in simulator context
* added signals
* added validator
2019-02-22 20:35:37 +00:00
Klaus Basan
0970dbdcfc Ref T451, disable model (in model set) functions for context 2019-02-22 20:24:05 +00:00
Klaus Basan
a6b7b10651 Ref T420, signal when simulator no longer is vital 2018-11-16 02:49:56 +01:00
Klaus Basan
8cf7f676fa Ref T423, function to recalculate all aircraft (used when aircraft is moved or such) 2018-11-16 02:49:52 +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
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
6f6ec17c3d Ref T335, adjusted consuming "slots" to use disabled flag if adding failed 2018-09-12 20:30:07 +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
8f9cc645e9 Ref T298, matching setup changed signal in contexts/matcher 2018-08-09 01:39:27 +02:00
Klaus Basan
6897abe912 Style, singleShot guard, Doxygen 2018-08-09 01:38:52 +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
d3796fc65a Ref T275, added param "ignoreSameAsGlobal" in function "setInterpolationAndRenderingSetupsPerCallsign" 2018-06-20 00:58:47 +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
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
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
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
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01:00
Klaus Basan
060a10dfb6 Replaced QLatin1Literal by QLatin1String
refs #883
2017-02-24 15:22:09 +00:00
Klaus Basan
5b08363179 refs #875, unit test for proxies
tests init and signal connects
2017-02-24 15:20:58 +00:00
Klaus Basan
2f4c86fac4 refs #875, DBus fixes
* wrong signal connection signature -> assert
* missing SELCAL in simulated aircraft
2017-02-24 15:20:56 +00: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
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
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
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
Klaus Basan
99538dd2c2 refs #780, signal installedAircraftModelsChanged dangling
* discovered during testing, signal is not used (since we now use model set)
* renamed context signal to "modelSetChanged"
* prepared context for message settings
2016-12-06 09:34:21 +01:00
Klaus Basan
c2bf473f3f refs #786, prepare contexts for matching messages
In same step cleaned up contexts a bit
* added function for model set strings
* renamed functions to getModelSet... instead of installed models (the set is smaller and is what we want to use with DBus)
* signal when debug/log flags changed
* removed some \copydoc
* allow to enable/disable rev.lookup/matching messages
* removed reload model function (dangling)
2016-12-06 09:34:10 +01:00