Commit Graph

1748 Commits

Author SHA1 Message Date
Mathew Sutcliffe
08b1c19df7 refs #852 CInterpolatorLinear obtains the ground elevation via a lazy computation
in CInterpolationHints and uses this to interpolate between altitude and elevation.
2017-02-24 00:18:01 +00:00
Mathew Sutcliffe
8a924d5b1c refs #852 IInterpolator::getInterpolatedParts interpolates the onGround value. 2017-02-24 00:17:58 +00:00
Mathew Sutcliffe
3f5139d717 refs #852 IInterpolator::getPartsBeforeTime renamed to getInterpolatedParts
and returns a single CAircraftParts object, not a list.
2017-02-24 00:17:55 +00:00
Mathew Sutcliffe
76cc9f8ad8 refs #852 CAirspaceMonitor has no maximum number of parts per callsign,
but regularly prune the list based on timestamp age.
2017-02-24 00:17:53 +00:00
Mathew Sutcliffe
bc38a0cea1 refs #852 Added aircraft parts in CInterpolationHints. 2017-02-24 00:17:50 +00:00
Mathew Sutcliffe
c00a13a29c refs #852 Added a floating-point onGround value in CAircraftParts. 2017-02-24 00:17:48 +00:00
Mathew Sutcliffe
3e70ab1207 refs #852 Add a time offset to CAircraftParts. 2017-02-24 00:17:46 +00:00
Mathew Sutcliffe
4d30ce40c7 refs #852 Added reverse iterators to CRange and CSequence. 2017-02-24 00:17:44 +00:00
Mathew Sutcliffe
ec44c100b7 refs #852 Const-correctness. 2017-02-24 00:17:42 +00:00
Roland Winklmeier
2616f94f2d Define precipitation rate default unit to mm/h
There was a misalignment in precipitation rate units across the code.
GFS values are in kg m-2 s-1 which is equal to mm/s, but the default
unit seems to be mm/h in many weather documents.
2017-02-24 00:09:22 +00:00
Roland Winklmeier
f75a9ac476 Slightly adapt the cloud coverage conversion
refs #851
2017-02-24 00:09:20 +00:00
Roland Winklmeier
1f61458504 Add SimConnect utility converting weather grid
refs #851
2017-02-24 00:09:16 +00:00
Roland Winklmeier
97b21b6dac Add application role 'Sample'
Sample hotkey which requires access to CGuiApplication, did not yet
set a application role. Since there was no corresponding role for
samples, I added one and set it in sample hotkey.
2017-02-24 00:09:14 +00:00
Klaus Basan
265b6d33f0 refs #859, allow to trigger digest signal manually
* Useful if the input signal was just a bogus signal used to trigger
* Login component shows a use case
2017-02-24 00:09:11 +00:00
Klaus Basan
61e7f23847 refs #858, todo review (demoted, commented) 2017-02-24 00:09:00 +00:00
Klaus Basan
1ced7f3c0b refs #857, check if network is accessible in readers
* new read state "skipped"
* renamed to "isNetworkConnectedAndAccessible"
* checking before reading, which would only fail if network is not accessible
2017-02-24 00:08:55 +00:00
Mathew Sutcliffe
ac490eeed7 refs #815 Fixed missing CJsonScope in CAircraftEngineList. 2017-01-12 01:18:06 +00:00
Mathew Sutcliffe
a0e59546f0 fixed mistakes caught by clang 2017-01-11 01:28:42 +00:00
Mathew Sutcliffe
1c082c4649 doxygen 2017-01-11 01:28:40 +00:00
Mathew Sutcliffe
52777cf7dc todo adjustments 2017-01-11 01:28:39 +00:00
Mathew Sutcliffe
5ea9b90e87 noexcept adjustments in Optional<T> 2017-01-11 01:28:37 +00:00
Roland Winklmeier
7f21dae378 Pin QtDBus shared library on Windows after being loaded by X-Plane
refs #850
2017-01-10 23:47:21 +00:00
Klaus Basan
9eff387207 Removed deprecated funtions and changed code to use new functions 2017-01-10 23:47:10 +00:00
Klaus Basan
928dd9f34a Allow to admit caches used in model set loader 2017-01-10 23:46:57 +00:00
Klaus Basan
2a083f9113 refs #849, utility functions in model list added 2017-01-10 23:46:56 +00:00
Klaus Basan
ad0ef16ba5 refs #849, matching statistics entry and container class 2017-01-10 23:46:49 +00:00
Klaus Basan
dcfaca431c refs #849, use timestamp with server to indicate when login started
* CServer -> ITimestampBased
* added compare functions
2017-01-10 23:46:48 +00:00
Klaus Basan
5f18707c9c Minor fixes: Formatting, string generation 2017-01-10 23:46:47 +00:00
Roland Winklmeier
09963bf33a Call SymInitialize only once and SymCleanup at app exit
In order to refresh the modules, call SymRefreshModuleList regularly

refs #845
2017-01-10 23:46:43 +00:00
Mathew Sutcliffe
045b2a9f59 refs #815 When a cache/settings file has errors, back it up before it can be overwritten. 2017-01-10 23:46:38 +00:00
Mathew Sutcliffe
51c3ae8c25 refs #815 Catch and handle CJsonException when calling convertFromJson. 2017-01-10 23:46:36 +00:00
Mathew Sutcliffe
4f6d3ed3a3 refs #815 Added convertFromJsonNoThrow methods which catch CJsonException and return CStatusMessage. 2017-01-10 23:46:34 +00:00
Mathew Sutcliffe
bbdbd26f82 refs #815 Throw CJsonException when required JSON objects are not found. 2017-01-10 23:46:33 +00:00
Mathew Sutcliffe
7c5c9d30e6 refs #815 Added CJsonException and related utilities. 2017-01-10 23:46:31 +00:00
Klaus Basan
0c720c7c71 refs #848, added (utility) functions to parser 2017-01-10 23:46:18 +00:00
Klaus Basan
c20b54466f refs #848, some upfront cleanup 2017-01-10 23:46:17 +00:00
Klaus Basan
3f2fc33b27 Minor change, added ' in error messages 2017-01-10 23:46:08 +00:00
Klaus Basan
8341da2310 refs #846, support message as HTML 2017-01-10 23:45:57 +00:00
Klaus Basan
24bf0b940f refs #506, utility function for status message 2017-01-10 23:45:45 +00:00
Klaus Basan
2108422dc2 refs #844, allow to remove ATC stations outside of range 2017-01-10 23:45:41 +00:00
Klaus Basan
97819f0154 Formatting 2017-01-10 23:45:38 +00:00
Klaus Basan
d1e5566579 refs #844, settings for ATC stations (value object + trait) 2017-01-10 23:45:37 +00:00
Klaus Basan
b2e53d64f1 refs #841, settings which text messages will be displayed in GUI
(not to be confused which messages will be relayed to simulator)
2017-01-10 23:45:33 +00:00
Klaus Basan
be297d8ccf refs #840, update (ground) elevation via remote aircraft provider 2017-01-10 23:45:29 +00:00
Klaus Basan
667009c85e refs #840, moved interpolator classes into Simulation namespace 2017-01-10 23:45:27 +00:00
Klaus Basan
46fafde7a0 refs #840, add support for interpolation hints 2017-01-10 23:45:25 +00:00
Klaus Basan
534b9fb09e refs #840, style and const-correctness 2017-01-10 23:45:24 +00:00
Klaus Basan
de72a678a2 refs #840, updated value classes
* VTOL flag
* doxygen
* allow to stop after an object has been found
* support for hints/elevation
2017-01-10 23:45:22 +00:00
Klaus Basan
e1b472490f refs #840, class combining all hints for the interpolator 2017-01-10 23:45:19 +00:00
Klaus Basan
70aee605cb refs #840, value classes for ground elevation plane
Can be used as single point elevation or plane covering an airport
2017-01-10 23:45:18 +00:00