Commit Graph

10 Commits

Author SHA1 Message Date
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Klaus Basan
42f89ebeca refs #304, Icons, using new CIcon class 2014-08-05 23:31:55 +02:00
Klaus Basan
6d5461cff8 Formatting, headers, Doxygen 2014-08-05 23:31:53 +02:00
Klaus Basan
34320ad3e1 refs #140, changed CValueObject classes to tupel concept
Remarks: Changes looking like an added file result from the shift of namespace voice -> audio
2014-03-10 14:48:56 +01:00
Mathew Sutcliffe
a23c9e3f07 Normalizing argument types of CEarthAngle comparison and arithmetic operators:
argument type should be same type as the this pointer.
2014-01-17 01:38:29 +00:00
Mathew Sutcliffe
db4c05dd9f refs #84 removed the CValueObject::compare method and added a friend function BlackMisc::compare to replace it.
The new compare is implemented using "multimethods" described in the book Advanced C++ Programming Styles and Idioms by James Coplien.

First, the isA method is used to determine which of the values being compared is the most general. (For example, CLength is more general than CAltitude.)
Then the compareImpl method is called on the most general value, with the other value as an argument.
If there is not a direct inheritance relation between the two values (or they are the same class) then the comparison is invalid and a assert is triggered.
2014-01-17 01:38:27 +00:00
Mathew Sutcliffe
e40c93fe1b Removed CEarthAngle::toAngle, because implicit conversion already works.
Applied a different workaround to resolve the hiding of an inherited name in CEarthAngle, same as was done in CAltitude.
refs #84
2014-01-17 01:29:03 +00:00
Klaus Basan
a280d239e6 using hashes to perform comparisons between blackmisc value objects stored inside of QVariant
refs #81
2014-01-08 00:59:00 +00:00
Klaus Basan
978f3c88e5 style changes and removals of typeid
refs #81
2014-01-08 00:57:43 +00:00
Klaus Basan
581638ec7f Enabled coordinate classes for DBus, added generation method for lat/lng by WGS84 strings 2013-07-25 23:58:09 +02:00