Klaus Basan
112bd55362
Constructor for PQ by string (e.g. 100km/h),
...
motivated by MS review https://dev.vatsim-germany.org/issues/212#note-6
refs #212
2014-04-30 01:15:30 +02:00
Klaus Basan
7b5e768513
Formatting, comments / doxygen
2014-04-30 01:14:17 +02:00
Mathew Sutcliffe
35e0c3e085
refs #91 & #124 using override and \copydoc throughout blackmisc
2014-02-17 16:37:04 +00:00
Klaus Basan
67a5dbfe48
converting value objects to/from QVariant
...
refs #81
2014-01-08 00:58:56 +00:00
Klaus Basan
978f3c88e5
style changes and removals of typeid
...
refs #81
2014-01-08 00:57:43 +00:00
Mathew Sutcliffe
21ca361bc1
removed operator= and copy ctor from classes where they only duplicated the behaviour of the default implementations that C++ generates automatically
2013-08-19 03:21:12 +01:00
Mathew Sutcliffe
da8ba9aac3
First major wave of PQ refactoring, including but not limited to:
...
* Default unit is more clearly stated in one place, not restated in many different places, and is not always the SI unit
* Converter strategy pattern in CMeasurementUnit, covering linear, affine, and different kinds of sexagesimal units
* General reorganization of CMeasurementUnit construction and CPhysicalQuantity methods, not removing any behvaiour
* Move duplicated method unitFromSymbol from derived classes into base class CMeasurementUnit
* For DBus, CPhysicalQuantity marshals both in its own unit and in the default unit
2013-08-19 03:05:08 +01:00
Mathew Sutcliffe
baa0ac147e
remove integer quantities
2013-08-14 18:05:15 +01:00
Mathew Sutcliffe
2c781e8b36
style fixes: mostly just things that make my eyes bleed :)
2013-08-13 22:29:48 +01:00
Klaus Basan
8b512ba818
DBus enabling of base classes plus sample for testing / show how to use them. Also qdbuscpp2xml plugin for blackmisc classes.
2013-07-22 14:33:50 +02:00
Klaus Basan
e196a5585f
Added legal header, changed include guards to contain namespace prefix e.g BLACKMISC_XYZ_H
2013-04-10 00:50:25 +02:00
Klaus Basan
9a87731944
Avionics classes for Transponder, ADF, changed namespace to 2ndlevel
2013-04-09 02:00:38 +02:00
Klaus Basan
f77258343d
CAngleUnit::sexagesimalDeg(), moved conversion to virtual method in CMeasurmenetUnit, made string conversion virtual and also moved it to CMeasurmenetUnit (=>individual formatters). Time unit added.
2013-03-31 00:35:25 +01:00
Klaus Basan
5677cd41e3
Changed PQ to template, removed unit default values, checked unit tests
2013-03-27 12:03:16 +01:00
Klaus Basan
b3439ea3e4
Virtual destructor for polymorphic classes, const correctness, removed virtual method call in constructor
2013-03-24 17:15:08 +01:00
Klaus Basan
3b99954bdc
Unit tests for temperature, virtual method for value conversion
2013-03-22 23:02:25 +01:00
Klaus Basan
525910c7a3
Moved PQs from blackcore to blackmisc, added header for namespace, mainpage.dox for Doxygen
2013-03-22 16:07:53 +01:00