Lars Toenning
9c879aea1c
refactor: Rename verify macros
2024-11-11 13:02:36 +01:00
Lars Toenning
bcc4bdd31e
Add SPDX identifiers for REUSE compliance
...
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com >
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650
clang-format src
2023-04-18 16:07:19 +02:00
Mat Sutcliffe
57d32da826
Use nested namespaces (C++17 feature)
2021-09-18 15:07:48 +01:00
Mat Sutcliffe
63e8de8f00
Issue #77 getLogCategories returns a simple QStringList instead of our own class
2020-12-19 18:50:34 +00:00
Klaus Basan
386a0ccd5d
[XPlane] Model set must not contain ACF models
...
Discussion: see https://discordapp.com/channels/539048679160676382/539064750055751690/648974956306366499
2020-01-07 19:57:22 +00:00
Klaus Basan
f6e27bdf88
No log message if already admitted
2019-09-16 20:29:51 +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
Klaus Basan
8d3d5743d3
Ref T455, preselect simulator in wizard if there are models
2018-12-10 03:41:16 +01:00
Klaus Basan
53a77813a5
Ref T430, FG support for model loader (dummy loader) and model caches
2018-11-16 02:49:54 +01:00
Klaus Basan
c3fa2ab2f0
Ref T335, set correct model type when saving to caches
2018-09-12 17:40:54 +02:00
Klaus Basan
ceaad53375
Ref T292, Ref T285 avoid unnecessary calls of cache synchronize in model set/model caches
2018-07-27 01:13:16 +02:00
Klaus Basan
94e3b89479
Ref T292, Ref T285 model loader and cache improvements
...
* multi caches also emit when values are set and synchronized
* model loader detects cache changed
* added CCentralMultiSimulatorModelCachesAware
2018-07-26 04:32:40 +02:00
Klaus Basan
1d29b6b36f
Ref T292, Ref T285 CCentralMultiSimulatorModelCachesProviderBase base class to create model/model set providers
2018-07-25 02:37:01 +02:00
Klaus Basan
b25e4ff3c0
Ref T292, model caches changes
...
* no longer track "current" simulator, as this resulted in too many signals
* CCentralMultiSimulatorModelCachesProvider keeping all model caches "in one memory location"
* style changes
2018-07-25 02:36:51 +02:00
Klaus Basan
d632d1ad4f
Fixes in model loader and caches
...
* loader/multi cache can clear caches if that is ever needed
* check if cache needs to be synchronized when loaded and if, do it
* emit changed signal if caches are set
2018-07-25 02:36:46 +02:00
Klaus Basan
0023fbb57f
Ref T246, function to display model count and timestamp of model/set caches
2018-07-17 19:05:07 +02:00
Klaus Basan
f2820d81a4
Ref T286, multi caches/setting utility functions to check other versions
2018-07-09 22:30:34 +02: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
f0d2336eb6
Ref T199, all file names of multi simulator caches
2018-01-14 18:47:46 +01:00
Klaus Basan
8b8bc9b994
Ref T152, unified member usage: this->m_xx -> m_xx
2017-09-24 20:29:07 +01:00
Klaus Basan
725341cdbe
Fixed some formatting for T152 (before changing the classes)
2017-09-24 20:29:05 +01:00
Klaus Basan
5b3097a2b0
Ref T28, description for cache
2017-05-05 23:08:18 +01:00
Klaus Basan
2b50fe1fdb
refs #906 , utility functions in simulator info and model caches
2017-04-18 00:05:08 +01:00
Klaus Basan
ff0c37ff58
refs #889 , log categories
2017-04-17 23:56:53 +01:00
Klaus Basan
2ccf3fd4a2
refs #787 , caches/model set loader
...
* Caches initialized
* simulators with model set
2016-12-13 19:01:27 +01:00
Klaus Basan
f385e46d67
refs #781 , added admit functions for model caches
...
* interface constructor protected
* flag for synchronize in ctor
2016-12-06 09:34:33 +01:00
Klaus Basan
11e32a065e
refs #743 , utility functions and formatting / typos
...
* simulator info for FS family / as set
* fixed synchronized typo
* info string for caches
* getter for cached models from the loaders
* get all FS family models (FSX/P3D/FS9) from list
2016-10-17 14:33:58 +01:00
Klaus Basan
85d8d14a48
added "break"
2016-06-15 00:11:17 +02:00
Klaus Basan
dc64e9b6bd
allow to reset simulator if not appropriate for some reasons
2016-06-15 00:11:16 +02:00
Mathew Sutcliffe
9bef6854ca
Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get.
2016-06-08 18:21:01 +02:00
Klaus Basan
c39882e5db
refs #649 , further fixes and improvements
...
* call of non-virtual function in ctor
* use getCopy
* return number of merged models
* change current simulator in model set loader (fixes infinite loop: change data -> signal -> change data).
2016-06-08 18:20:59 +02:00
Klaus Basan
8673d2eada
refs #649 , use utility function to emit signal
...
(can be better traced in debugger)
2016-06-08 18:20:45 +02:00
Klaus Basan
f58b3bf065
refs #649 , refs #659 use new timestamp function
2016-06-08 18:20:44 +02:00
Klaus Basan
81d88837f9
refs #649 , add.function getSyncronizedValues
...
Normally getValue should transparently sync. But this force me to make the function non-const.
2016-06-08 18:20:42 +02:00
Klaus Basan
875b311ede
refs #649 , with #659 deferred caches available
...
* adjustments to use deferred caches
* removed simulator from CAircraftModelSetLoader`s signature as it was not used
* only change current simulator when explicitly set (avoid unintended setting)
* added function to obtain number of elements from model caches
2016-06-08 18:20:39 +02:00
Klaus Basan
e6f0db73c5
refs #656 , using deferred for large caches
2016-06-08 18:20:36 +02:00
Klaus Basan
c0fda8687d
refs #661 , improved own model set handling
...
* fixed simulator selector
* added simulator selector to own model set component
* pinned last selections
* fixed model cache to use "getCopy"
2016-06-08 18:20:25 +02:00
Roland Winklmeier
3d7a39ed00
Fix BlackMisc header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
43f9515eaa
refs #641 , moved last simulator selection to caches
...
* removed from component cache
* kept renamed component caches as stubs for later usage
refs #646 , removed gui state cache as it causes build issues on Jenkins
(idea was to keep the classes as stubs for later usage)
2016-05-07 20:11:41 +02:00
Klaus Basan
bb6eea6c72
refs #641 , using order in model caches
2016-05-05 20:49:24 +02:00
Klaus Basan
314c005ff2
refs #614 , a generic interface to modify / update models so I can write generic functions for that purpose and use them
...
* interface for the caches
* generic model interfaces
2016-04-11 20:22:15 +02:00
Klaus Basan
057c88b0f2
refs #614 , using threadsafe version of getCopy and Doxygen
2016-04-11 20:16:11 +02:00
Klaus Basan
c339a3d1e0
refs #619 , use a combined cache class
...
* moved caches to blackmisc
* used CModelCaches in loader
* applied changes in simulator specific loader classes
* renamed find function to findFirstByModelStringOrDefault
* made merge function static so it can be used elsewhere
2016-03-30 13:41:51 +02:00