Commit Graph

11 Commits

Author SHA1 Message Date
Klaus Basan
fd3ad207bd [XSwiftBus] Allow to write an updated xswiftbus.conf file
In a distributed core/UI swift we need to write on XPlane side
2020-06-12 18:42:39 +01:00
Klaus Basan
60ba3ca67f [xswiftbus] Protected destructor to avoid GCC/Clang warning 2020-01-07 19:57:24 +00:00
Mat Sutcliffe
8d204cded1 Ref T723 [xswiftbus] Expose configuration for render phase debug messages 2020-01-07 19:57:24 +00:00
Klaus Basan
024360a5df Ref T709, avoid pure virtual assert by removing the JSON ctor, which is calling a virtual function in the ctor 2019-09-16 22:41:18 +01:00
Klaus Basan
d947baf344 Ref T709, doxygen 2019-09-16 22:41:17 +01:00
Mat Sutcliffe
7295ac5331 Ref T709 Encapsulate the CSettingsProvider pointer in a CSettingsAware base class. 2019-09-16 22:41:17 +01:00
Mat Sutcliffe
349da3633b Ref T709 Prevent instantiation of CXSwiftBusSettingsQtFree, to avoid slicing.
- Constructors and destructor are protected.
- Therefore destructor doesn't need to be virtual.
- objectUpdated is pure virtual, so the class is abstract.
- Both derived classes are declared final.
2019-09-16 22:41:16 +01:00
Klaus Basan
55690b423f Ref T709, review points
* overload "normalize"
* renamed to CSettingsProvider
2019-09-16 22:41:15 +01:00
Klaus Basan
006fbc88ae Ref T709, settings provider to get settings
* allows to use the provider without and overhead
* single source, can be made threadsafe

Signed-off-by: Klaus Basan <klaus.basan@klausbasan.de>
2019-09-16 22:41:01 +01:00
Klaus Basan
7004e85117 Ref T709, ctor from JSON string 2019-09-16 22:41:00 +01:00
Klaus Basan
94f519961b Ref T709, added XSwiftBus settings class als based on the same Qt free base class
In order to compile included the cpp file
2019-09-16 22:40:53 +01:00