Commit Graph

45 Commits

Author SHA1 Message Date
Lars Toenning
72ac4e6b47 Fix doxygen warnings
Fixes #188
2023-04-05 18:59:41 +02:00
Mat Sutcliffe
eb6b0ff289 Fix clang-tidy and clazy warnings 2021-08-29 17:02:27 +01:00
Klaus Basan
58583d3ffa Ref T786, simulator context
* use identifier based "requestWeatherGrid"
* injectWeatherGrid now public
* clean m_lastWeatherPosition if weather is de-activated
* inject weather CContextSimulator::onWeatherGridReceived

1) this automatically injects the weather, the callback is not needed
2) the callback was the part which crashed
2020-06-12 18:42:50 +01:00
Klaus Basan
6521b89fdd Ref T717, simulator ground elevation 2019-09-16 22:41:39 +01:00
Klaus Basan
f80e093a0a Ref T717, function to send parts/situation for testing and in the model browser 2019-09-16 22:41:37 +01:00
Klaus Basan
903cf07eac Ref T717, "testRemoteAircraft" simulator context functions 2019-09-16 22:41:35 +01:00
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
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
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
0970dbdcfc Ref T451, disable model (in model set) functions for context 2019-02-22 20:24:05 +00:00
Mat Sutcliffe
4344ca1a77 Suppressed clazy false positives: method potentially mismarked as slot. 2019-02-22 20:23:39 +00: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
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
5b44f55435 Ref T298, prepared function to "redo" a mapping 2018-08-09 01:39:30 +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
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
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
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01: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
c1482dca36 Formatting, help text beautifyHelpMessage, improved convertToQString 2017-02-24 15:20:55 +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
667009c85e refs #840, moved interpolator classes into Simulation namespace 2017-01-10 23:45:27 +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
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
Klaus Basan
d782839cb8 refs #703, moved context to subdir
* ns: Context
* adjusted using classes
2016-07-14 18:49:08 +02:00