Commit Graph

1280 Commits

Author SHA1 Message Date
Roland Winklmeier
f6a52874e3 class CWeatherManager
refs #612
2016-04-10 16:13:56 +02:00
Roland Winklmeier
8a0290b44b classes CWeatherGridProvider and CWeatherGridAware
refs #612
2016-04-10 16:13:49 +02:00
Roland Winklmeier
f72c8e878b Use CCoordinateGeodetic instead of CLatitude and CLongitude
refs #612
2016-04-10 16:13:39 +02:00
Roland Winklmeier
a1f7270494 Change values of default CCoordinateGeodetic constructor
Up to know, the default constructor initialized x=0, y=0 and z=0. This
caused problems with default initialized CCoordinateGeodetic objects
when using it in calculateGreatCircleDistance. The result was always 0.
Instead use Lat=0, Lon=0, height=0.
2016-04-10 16:12:18 +02:00
Mathew Sutcliffe
4e9d7d3efe refs #628 Metaclass style compatible with the AStyle beautifier. 2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
c934384622 refs #626 Empty type name indicates an empty variant, no warning in this case. 2016-04-03 20:55:00 +01:00
Mathew Sutcliffe
d20219437e refs #628 Use explicit construction syntax for std::tuple to satisfy GCC 5. 2016-04-03 19:25:43 +01:00
Mathew Sutcliffe
d36f003817 refs #626 Update CVariant warnings to current style. 2016-04-03 18:17:47 +01:00
Mathew Sutcliffe
79121e0088 refs #626 Warnings in case CVariant convertFromJson or unmarshallFromDbus gets an unregistered type name. 2016-04-03 18:17:46 +01:00
Mathew Sutcliffe
91db47c628 refs #626 Serializer gets its baseline values when it actually starts loading/saving, instead of just when the cache requests the load/save. 2016-04-03 18:17:45 +01:00
Mathew Sutcliffe
363ee7c54b refs #626 Change the connection between serializer and data cache to a direct connection. 2016-04-03 18:17:45 +01:00
Mathew Sutcliffe
0acb302c63 refs #628 Remove the old tuple system. 2016-04-03 18:17:44 +01:00
Mathew Sutcliffe
4bd4baa535 refs #628 Use the metaclass mixins in all value classes. 2016-04-03 18:17:43 +01:00
Mathew Sutcliffe
4f3637a046 refs #628 Add mixins which use the metaclass system instead of the tuple system. 2016-04-03 18:17:42 +01:00
Mathew Sutcliffe
34bc76e74c refs #628 Add the first version of the metaclass system. 2016-04-03 18:17:41 +01:00
Mathew Sutcliffe
78fe827fdd refs #628 Style consistency. 2016-04-03 18:17:40 +01:00
Mathew Sutcliffe
514d460e57 refs #628 Refactor CWorker::invoke into a free function and expand its API. 2016-04-03 18:17:40 +01:00
Mathew Sutcliffe
eeac403cfc refs #628 Provide more of the API of our std::integer_sequence substitute. 2016-04-03 18:17:39 +01:00
Mathew Sutcliffe
34c25aee46 refs #628 Use expression SFINAE to simplify the implementation details of CVariant. 2016-04-03 18:17:38 +01:00
Mathew Sutcliffe
7ce1b268df refs #628 Use expression SFINAE and the void_t trick to simplify some type traits. 2016-04-03 18:17:37 +01:00
Mathew Sutcliffe
f159bdb5bf Removed unused code. 2016-04-03 18:17:37 +01:00
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00
Klaus Basan
126ad26261 refs #618, clang fixes
* use own default constructor error: default initialization of an object of const type 'const BlackMisc::CIcon' without a user-provided default constructor static const CIcon empty;
* same for CDbOwnModelsComponent()
* fixed guard
2016-03-30 18:22:27 +02:00
Klaus Basan
ccbad71f7f Log. string generation in file logger 2016-03-30 18:22:20 +02:00
Klaus Basan
780d8a05e8 refs #618, functions / class to get simulator distribution of a model set
Find out for which simulators the model set is etc.
2016-03-30 18:22:19 +02:00
Klaus Basan
bb16d5d069 refs #618, allow to display icon when DB key is set 2016-03-30 18:22:18 +02:00
Klaus Basan
691ffa3417 refs #618, real index for BlackMisc::CPropertyIndex::GlobalIndexCDbOwnModelsComponent 2016-03-30 18:22:17 +02:00
Klaus Basan
353d96514e refs #618, return "good" message for cache setting and added validation log categoriess 2016-03-30 18:22:14 +02:00
Klaus Basan
78b117cc6d refs #618, allow to directly create validation messages
Needed frequently, easier than always to join categories
2016-03-30 18:21:38 +02:00
Klaus Basan
62789cfc14 refs #618, model set loader (not to be confused with model loader) 2016-03-30 13:42:00 +02:00
Klaus Basan
5651ec0f80 refs #619, removed redundant set method for cache in loader 2016-03-30 13:41:59 +02:00
Klaus Basan
50ac317065 refs #618, unified naming in model list + minor adjustments 2016-03-30 13:41:58 +02:00
Klaus Basan
b871e7b1e3 refs #619, simulator info list + fix in distributor list 2016-03-30 13:41:56 +02:00
Klaus Basan
4cecd2a4d0 refs #618, allow to set file name for saving in views 2016-03-30 13:41:55 +02:00
Klaus Basan
5dc976caca refs #619, allow to directly manipulate cache in loader 2016-03-30 13:41:54 +02:00
Klaus Basan
6fdddf8f93 refs #618, allow to update/add models based on model string
* functionality in list
* access via view
* fixed count for changed objects in datastoreobjectlist (now detects replacements)
2016-03-30 13:41:53 +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
Klaus Basan
7d785b4e3b refs #618, allow to filter my include/exclude 2016-03-30 13:41:50 +02:00
Klaus Basan
7f2e37fab0 refs #618, images added to resources 2016-03-30 13:41:47 +02:00
Klaus Basan
468182da4c refs #621, URL from local file path 2016-03-30 13:41:45 +02:00
Klaus Basan
703a43c6fb refs #621, allow to load setup from resource dir file
* CValueObjects can be loaded from JSON file
* get bootstrap file location
2016-03-30 13:41:45 +02:00
Klaus Basan
87a0c75f43 refs #621, use getXX for setup members, no idea why I have not used our standard 2016-03-30 13:41:44 +02:00
Klaus Basan
3073710dba refs #619, function to get all ICAO designators as string list 2016-03-30 03:07:18 +02:00
Klaus Basan
e03c207324 refs #618, refs #619, utility functions for model/distributor value objects 2016-03-30 03:07:17 +02:00
Klaus Basan
93176b5bd4 refs #619, enhance local model data with DB data (if possible)
* use new slot syntax on menu actions
* allow reload from disk and reload from cache
* added utility functions for model/modellist
2016-03-30 03:07:07 +02:00
Klaus Basan
83d7b7ceef refs #619, adjusted model loader / implementing classes
* init data based on last setup
* init changed some signatures
2016-03-23 03:24:59 +01:00
Klaus Basan
7714f5db9f refs #619, utility functions simulator info 2016-03-23 03:24:58 +01:00
Klaus Basan
69b205cc14 refs #619, allow exclude dirs in file utils searches for newest files 2016-03-23 03:24:55 +01:00
Klaus Basan
4087d63d9c refs #619, change model loader to use caches (one per simulator)
* removed caching from GUI component
* added caches in model loader
* adjusted samples
2016-03-23 03:24:54 +01:00
Mathew Sutcliffe
eda68329f3 refs #624 Updated comment. 2016-03-22 16:03:05 +00:00