Mat Sutcliffe
0971c8ce68
Issue #77 All classes propertyindex methods use CPropertyIndexRef and QVariant
2020-12-19 18:50:35 +00:00
Mat Sutcliffe
b1185eb541
Issue #77 toIcon returns a simple enum instead of a full object
2020-12-19 18:50:31 +00:00
Mat Sutcliffe
515dc7fef1
Issue #77 Move QPair typedefs to their corresponding value type headers
2020-08-29 14:16:21 +01:00
Mat Sutcliffe
b80114213d
Issue #77 Move mixin classes to separate files
...
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Mat Sutcliffe
2ae0352e75
[doxygen] Fix broken groupings
2020-08-01 19:48:37 +01:00
Klaus Basan
287d96afea
Ref T773, added "hasMeanSeaLevelValue" and consistently use it
2020-06-12 18:42:32 +01:00
Klaus Basan
fc9bb1277d
[PQ] implemented "comparePropertyByIndex" for CAltitude for correct sorting
...
Bug report: https://discordapp.com/channels/539048679160676382/594962359441948682/651162172717662239
2020-01-07 19:57:22 +00:00
Klaus Basan
16e19ad6d3
Fixed typo, style
2019-09-16 22:40:07 +01:00
Klaus Basan
aecce06b33
Ref T602, read conversion table (ft/m) and functions from/to ft/m
2019-05-13 11:20:35 +02:00
Klaus Basan
e1b3f075b5
Ref T602, allow to define floor (round down)/round for altitude
2019-05-13 11:20:35 +02:00
Mat Sutcliffe
6d9f9a286d
Ref T552 Using QDataStream marshalling mixins in value classes.
2019-04-12 13:30:55 +01:00
Mat Sutcliffe
980e1d7b80
Restored constexpr initialization and return-by-value of CMeasurementUnit constants
...
that were removed by commit 787b54108e .
For rationale, see the commits fef2bc528e , c8d78ada65 , 07ec7e6bc1 where these
were originally introduced.
2019-04-12 13:30:48 +01:00
Mat Sutcliffe
83dec5408b
Ref T557 Metaclass flag to preserve measurement unit when marshalling PQ's in flight plans.
2019-04-11 22:11:35 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Klaus Basan
d89b217e9b
PQ parsing using "best guess" strategy as default plus renamings
2019-02-22 20:23:54 +00:00
Klaus Basan
0dbaf989e9
Ref T424, renamed altitude string functions and added "roundedToNearest100ft"
2018-11-06 01:41:48 +01:00
Klaus Basan
ebd1e78dd4
Ref T415, altitude function with return value
2018-11-04 17:42:46 +01:00
Klaus Basan
1243d6e93a
Ref T323, better parsing of altitude values
...
- assume "24000" also as FL
- epsilon comparison
- use 0-9 char functions
- style
2018-09-12 17:40:24 +02:00
Klaus Basan
2461cfb0ba
Ref T302, register metadata functions
2018-08-13 02:59:37 +02:00
Klaus Basan
b74de43ce0
Ref T268, compare for CAltitude
2018-07-10 17:17:34 +02:00
Klaus Basan
c168262159
Ref T275, utility functions in simulated aircraft, sim object ..
2018-07-09 22:30:21 +02:00
Klaus Basan
7aef1dcbbc
Formatting and minor tweaks/renamings
2018-05-08 16:06:54 +02:00
Klaus Basan
23c54938ea
Ref T261, unify unit handling in situation altitude related values
...
* this is an optimization, it would work without that, but there are numerous calculations in interpolation which are faster and easier to debug in the same unit
* PQ switch unit functions use "const &PQUnit"
2018-05-08 16:06:53 +02:00
Klaus Basan
8e3b55b4ca
Ref T261, utility functions in value classes
...
* set offset values
* do not change PQs if PQ is null
* sorted by callsign
2018-05-08 16:06:52 +02:00
Klaus Basan
5ec095684a
Ref T231, utility functions
...
* altitude
* situation
* callsign set
* elevation set
2018-01-30 20:31:26 +01:00
Klaus Basan
f049900e1f
Ref T223, use const values for standard pressure
...
* standardISASeaLevelPressure
* use static const values for standard pressure
* minor formatting
2018-01-15 23:00:34 +01:00
Roland Winklmeier
51a90a9a71
Differentiate between true and pressure altitude
...
Altitude can have different meanings in aviation. So far all our
altitudes were true altitudes. But now we also require pressure altitude
including a conversion method between the two.
Maniphest Tasks: T223
2018-01-15 22:43:08 +01:00
Klaus Basan
d7bc247469
Ref T125, altitude parse and FP string functions
...
* asFpAltitudeString
* asFpAltitudeSimpleVatsimString (non standard format)
* parseFromFpAltitudeString
2018-01-14 18:45:33 +01:00
Klaus Basan
6374e5e10a
Some formatting like "this->m_" => "m_"
...
During Ref T203
2017-12-21 19:47:46 +01:00
Klaus Basan
0117558ea7
Formatting
2017-09-24 19:52:04 +01:00
Mathew Sutcliffe
3ea9e33e6b
refs #937 Resolved clazy warnings: pass-by-value/reference.
2017-04-19 19:31:42 +01:00
Klaus Basan
d4b2238dc6
Formatting
2017-02-24 00:20:11 +00:00
Klaus Basan
38585d10b2
refs #865 , hints get ground elevation from provider or from set value
...
* using CAltitude for elevation provider
* null() for CAltitude
* formatting of members
* fixme in fs9 client
2017-02-24 00:18:40 +00:00
Mathew Sutcliffe
6c36cd202b
refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude.
2017-01-10 23:44:34 +00: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
Mathew Sutcliffe
4e9d7d3efe
refs #628 Metaclass style compatible with the AStyle beautifier.
2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
4bd4baa535
refs #628 Use the metaclass mixins in all value classes.
2016-04-03 18:17:43 +01:00
Roland Winklmeier
794bf0cd74
Fix doxygen copydoc documentation
...
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code
refs #544
2016-02-08 01:53:17 +01:00
Mathew Sutcliffe
62418931b0
Removed Mixin::MetaTypeAndQList.
2015-05-31 17:22:24 +01:00
Mathew Sutcliffe
f631f51210
refs #413 , #416 Using Mixin::Index in more classes so that index "myself" yields correct derived type.
...
(cherry picked from commit 2b7f7eb6b692a3464863ece86b30ea0b7efc2a1d)
2015-05-12 20:46:30 +01:00
Mathew Sutcliffe
68ebcd7b8d
refs #413 Macros to ease the task of disambiguating inherited members when using mixins in an inheritance hierarchy.
2015-05-12 20:37:51 +01:00
Mathew Sutcliffe
36a2e1a2bb
refs #413 All value classes which had custom policies shall inherit from mixins instead.
2015-05-12 20:37:50 +01:00
Mathew Sutcliffe
6b40cde862
refs #413 Make all value class methods non-virtual.
...
toCVariant() and convertFromCVariant() are now deprecated,
use CVariant::from() and CVariant::to() instead.
2015-05-12 20:37:47 +01:00
Mathew Sutcliffe
b64ae55a86
refs #413 Access control of convertToQString changed from protected to public.
2015-05-12 20:37:43 +01:00
Mathew Sutcliffe
81ed0188d7
Fixed missing default argument in virtual function override.
2015-05-12 20:35:55 +01:00
Roland Winklmeier
a089d3641d
refs #403 add BlackMisc shared library build
2015-05-05 21:34:19 +02:00
Mathew Sutcliffe
2363fab8c1
refs #396 move Blackmisc PQ classes into subfolder
2015-04-07 19:22:30 +02:00
Roland Winklmeier
78d3350bf3
refs #396 move Blackmisc Aviation classes into subfolder
2015-04-07 18:20:20 +02:00