Mathew Sutcliffe
4bd4baa535
refs #628 Use the metaclass mixins in all value classes.
2016-04-03 18:17:43 +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
a8fc899219
refs #624 Use std alias traits.
2016-03-22 16:02:48 +00:00
Mathew Sutcliffe
91494ea2e5
refs #624 Swap functions, move constructors, and move assignment operators should all be noexcept where possible.
2016-03-21 02:20:01 +00:00
Mathew Sutcliffe
c7a0aa2fb4
refs #584 Moved Mixin::String to stringutils.h
2016-02-08 17:26:40 +00: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
Michał Garapich
1b06e15b61
refs #510 Remove underscores from all the source file names
2015-11-22 12:53:09 +01:00
Mathew Sutcliffe
f03b24022e
refs #466 Resolved TODO item in GUI.
2015-11-19 21:01:04 +00:00
Klaus Basan
51e8a6a208
refs #452 , added getClassName for variant
...
(as discussed with MS)
2015-11-19 20:58:34 +00:00
Mathew Sutcliffe
3cc9468d63
refs #457 CWorker support for non-void tasks and thenWithResult().
2015-11-19 20:58:23 +00:00
Mathew Sutcliffe
e76015004b
refs #434 Removed CVariant comparison operator templates.
2015-06-01 21:34:59 +01:00
Mathew Sutcliffe
8db8fdef94
refs #437 Adjust static assert, caught one more case of CVariant containing CVariant.
2015-06-01 18:00:16 +01:00
Mathew Sutcliffe
62418931b0
Removed Mixin::MetaTypeAndQList.
2015-05-31 17:22:24 +01:00
Mathew Sutcliffe
47cac09e81
refs #437 Removed toQVariant and convertFromQVariant.
2015-05-31 17:21:17 +01:00
Klaus Basan
e04ada3a7c
refs #437 , remove convertFromCVariant
2015-05-31 01:31:09 +02:00
Roland Winklmeier
b6e9d6f0d1
Static assert in CVariant::from to if value type is CVariant
2015-05-30 18:06:19 +02:00
Roland Winklmeier
e4f2c9e88a
Replace occurrences of CVariant::toCVariant() with CVariant::from()
2015-05-30 16:59:51 +02:00
Klaus Basan
c380b8df23
Fixes / improvements found during testing
...
* Redundant "simulatorStatusChanged" signal in proxy
* invokeMethod for timer
* removed redundant this->buildNavigator(1)
* Shortcut in GUI
* comment in variant
2015-05-16 03:26:37 +02:00
Klaus Basan
f18cfed087
refs #395 , refs #413 , refs #403 Post merge tasks
...
* missing exports for new classes
* public non virtual convertToQString, propertyByIndex
* removed left-over of watchdog
* virtual destructor for avionicsbase.h
2015-05-12 21:03:39 +01:00
Mathew Sutcliffe
2f66785c63
refs #413 Doxygen.
2015-05-12 20:38:00 +01:00
Mathew Sutcliffe
5a91d761c2
refs #413 Breaking circular dependencies by moving mixin classes from valueobject.h to the files where they fit best:
...
* DBus mixins moved to dbus.h
* Json mixins moved to json.h
* Icon mixin moved to icon.h
* Comparison mixins moved to compare.h
* Hash and string mixins moved to blackmiscfreefunctions.h
* Index mixin moved to propertyindexvariantmap.h
* MetaType mixins moved to variant.h
* registerMetaValueType moved to variant.h
* valueobject_private.h renamed to variant_private.h
2015-05-12 20:37:59 +01:00
Mathew Sutcliffe
9867b4a6df
refs #413 Extend Private::CValueObjectMetaInfo with more fallback helpers, and extend CVariant with toIcon method.
2015-05-12 20:37:56 +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
9becc1c666
refs #413 CVariant and CPropertyIndexVariantMap equality operator templates support any metatype-registered class, not just CValueObject subclasses.
2015-05-12 20:37:49 +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
97d83e5e41
refs #413 Decomposed comparison operations of CValueObject into mixins.
2015-05-12 20:37:42 +01:00
Mathew Sutcliffe
64e21b0a46
refs #413 Decomposed json-related functions of CValueObject into Mixin::JsonByTuple.
2015-05-12 20:37:41 +01:00
Mathew Sutcliffe
30cc7048ac
refs #413 Decomposed dbus-related functions of CValueObject into Mixin::DBusByTuple.
2015-05-12 20:37:31 +01:00
Mathew Sutcliffe
2f55caf7c6
refs #413 Decomposed hash-related functions of CValueObject into Mixin::HashByTuple.
2015-05-12 20:36:04 +01:00
Roland Winklmeier
a089d3641d
refs #403 add BlackMisc shared library build
2015-05-05 21:34:19 +02:00
Mathew Sutcliffe
9977d97a67
refs #356 Renamed CValueObjectStdTuple to CValueObject.
2015-03-27 23:03:25 +00:00
Mathew Sutcliffe
31c33b4b8d
refs #356 Removed CValueObject and expanded CValueObjectStdTuple to compensate.
...
* Involves rearranging some header includes to break cyclic include dependencies,
* Adding a new, simple base class CEmpty,
* Removing any remaining polymorphic uses of CValueObject with templates,
* Adding a new trait for use with enable_if to restrict templates to work only with value objects,
* Replacing the polymorphic/runtime multimethod-based compare functions with static/compile-time compare functions.
2015-03-27 19:08:51 +00:00
Mathew Sutcliffe
d878f879aa
refs #356 Minor refactoring to Compare policy, preparation for removing CValueObject.
2015-03-27 19:08:50 +00:00
Mathew Sutcliffe
2ea9d031ea
refs #356 Extend CVariant to support accessing properties by index of the contained value object.
2015-03-27 19:08:49 +00:00
Mathew Sutcliffe
d10c2a0709
Changed file encoding to UTF-8.
2015-01-07 00:11:02 +00:00
Mathew Sutcliffe
4007f34e22
refs #247 Enabled equality comparison between CVariant and CValueObject.
2014-12-13 01:41:55 +00:00
Mathew Sutcliffe
1b671e9cb0
refs #247 CVariant::valueOrDefault convenience function.
2014-12-13 01:41:53 +00:00
Mathew Sutcliffe
0bc4f82ea7
refs #247 Fine-tuned CVariant constructors.
2014-12-13 01:41:50 +00:00
Mathew Sutcliffe
155b957cee
refs #247 CVariant can inherit from CValueObjectStdTuple.
...
But if valueobject.h includes variant.h then it would create a circular dependency.
2014-12-13 01:41:49 +00:00
Mathew Sutcliffe
f68fc32f3d
refs #247 CVariant uses our new metadata system to provide access to CValueObject operations in a safe manner.
2014-12-13 01:41:48 +00:00
Mathew Sutcliffe
c5b463fafb
refs #247 Created a facility to register our own custom metatype metadata.
2014-12-13 01:41:46 +00:00
Klaus Basan
983a8d5d30
Using QMetaType::Type instead of QVariant::Type
...
Auto as per review of refs #319
2014-09-09 20:07:13 +02:00
Klaus Basan
3fb5087ea8
Renaming, header, Doxygen, formatting (during refs #314 )
2014-08-24 02:45:52 +02:00
Klaus Basan
8a5a268a77
refs #304 , refs #307 , refs #173 as preparation for GUI, name / variant pair
...
* for a generic table and tree view
* generic name pair models and view
* Hash for variant
2014-08-05 23:31:41 +02:00
Klaus Basan
ae5c677cfe
Formatting: Icon names, headers, Doxygen
2014-08-05 23:31:39 +02:00
Klaus Basan
61740fab0a
Changed audio settings to CVariant after merge with master
2014-06-09 17:35:37 +02:00
Mathew Sutcliffe
2726a7a09a
refs #116 added CVariant, a wrapper for QVariant with more natural/transparent DBus integration
2014-06-05 21:04:26 +01:00