Commit Graph

2978 Commits

Author SHA1 Message Date
Roland Winklmeier
9c869a16df Retrieve binary rain and snow information from GFS source
refs #612
2016-04-10 16:16:23 +02:00
Roland Winklmeier
a2de3a16e4 CWeatherGrid utility classes
Renamed Cavok to ClearWeather since CAVOK does not mean no clouds.
Find methods.

refs #612
2016-04-10 16:16:21 +02:00
Roland Winklmeier
5d93144c3c Remove enum coverage from CCloudLayer and calculate it from percentage
refs #612
2016-04-10 16:16:15 +02:00
Roland Winklmeier
779191e66b Add string based identifier to CGridPoint
refs #612
2016-04-10 16:15:08 +02:00
Roland Winklmeier
28292e3af7 Use CWeatherManager in sampleweatherdata
refs #612
2016-04-10 16:14:04 +02:00
Roland Winklmeier
82fc267b22 Fetch weather data by grid and range instead of geo location
refs #612
2016-04-10 16:14:00 +02:00
Roland Winklmeier
dae31a1986 Use CWeatherManager as weathergrid provider in simulator plugins
refs #612
2016-04-10 16:13:58 +02:00
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
Roland Winklmeier
4e9c34b04a [g2clib] Fix unassigned variable 2016-03-31 13:47:07 +02:00
Roland Winklmeier
724cefe44f [g2clib] Fix MSVC2015 compiler warnings when building 64 bit 2016-03-31 13:47:06 +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
fe677a5594 refs #618, functions allowing to validate and modify loaded JSON data
* models can be reduced to one simulator
* a JSON model list can be loaded and the simulator derived from the distribution
2016-03-30 18:22:26 +02:00
Klaus Basan
5c1ce9763e refs #618, removed MenuHighlightInvalid menu flag 2016-03-30 18:22:25 +02:00
Klaus Basan
ad1ac36189 refs #618, menu and function to add from own models to model set
* add functions
* menu
* unified CModelStashToolsMenu
2016-03-30 18:22:24 +02:00
Klaus Basan
02b69e5404 refs #618, using new column for DB data indication 2016-03-30 18:22:23 +02:00
Klaus Basan
2515c8235d refs #618, adjusted menus
* new signal slot syntax
* sub menu
2016-03-30 18:22:21 +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
efcf38c2a5 refs #618, allow to set and save model sets 2016-03-30 18:22:16 +02:00
Klaus Basan
d509c6b0b5 refs #618, allow to modify and validate data when loaded for a view
* allows to reject data considered incorrect
* data can be modified and adjusted after loading before displaying
2016-03-30 18:22:15 +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
d60214bd3c Fixed sample hot keys as discussed on slack 2016-03-30 13:42:01 +02:00
Klaus Basan
46a8d37c08 Support for high DPI screens 2016-03-30 13:42:01 +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