Commit Graph

22 Commits

Author SHA1 Message Date
Klaus Basan
de3cb71706 Ref T275, general improvement in value object added comparePropertyByIndex 2018-06-13 14:00:26 +02:00
Mathew Sutcliffe
fcb6cf1a52 Removed type erasure in containers
Summary:
Refs T196
Using QVector as this is Qt's recommended container type.

Reviewers: #swift_developers, rwinklmeier

Reviewed By: #swift_developers, rwinklmeier

Subscribers: rwinklmeier, jenkins

Tags: #swift_pilot_client

Maniphest Tasks: T196

Differential Revision: https://dev.swift-project.org/D61
2017-11-23 22:15:23 +00:00
Mathew Sutcliffe
b7f69c6887 refs #937 Resolved clazy warnings: unnecessary memory allocation. 2017-04-19 19:31:39 +01:00
Klaus Basan
5bea0e2a96 refs #879, added ctor for CSimulatedAircraft / CPropertyIndexVariantMap::size() 2017-02-24 15:21:26 +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
Roland Winklmeier
1ea2f34f75 Fix doxygen documentation in src, samples and tests
refs #594
2016-02-16 20:01:33 +01:00
Mathew Sutcliffe
3bdcd7e386 refs #584 Moved hash related stuff to dictionary.h
This also means moving Mixin::Icon from CContainerBase one step down the inheritance hierarchy
to resolve what would otherwise have been a circular include dependency.
2016-02-08 17:26:45 +00:00
Mathew Sutcliffe
ada03ee513 refs #434 CPropertyIndexVariantMap: removed operator templates and replaced CVariant comparison operators with a named method, matches(). 2015-06-01 21:35:00 +01:00
Roland Winklmeier
e4f2c9e88a Replace occurrences of CVariant::toCVariant() with CVariant::from() 2015-05-30 16:59:51 +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
Klaus Basan
6debd33b4f refs #395, turned remote aircraft provider interface into thread safe interfaces
* references gone, situations, parts, aircraft now as threadsafe copy
* read only interface gone (no longer references, so no longer needed)
2015-05-12 20:46:45 +01:00
Mathew Sutcliffe
d9faa031d2 refs #413 Decomposed metatype-related functions of CValueObject into a dedicated class Mixin::MetaType,
bypassing the old Policy::MetaType classes. The ultimate intention is to decompose all the aspects of
CValueObject into separate mixins in this manner, and have derived classes inherit from the mixins directly.
Splitting the responsibilities of CValueObject into separate classes will reduce the coupling between different
cross-cutting concerns and allow us to untangle the web of interdependencies and greatly simplify things.
2015-05-12 20:36:03 +01:00
Mathew Sutcliffe
a5e6b31c0f refs #356 Update remaining CValueObject derived classes to use CValueObjectStdTuple instead. 2015-03-27 19:08:53 +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
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
50bf5690f9 refs #356 Moved CPropertyIndexVariantMap/CValueObject operators from CValueObject to CPropertyIndexVariantMap. 2015-03-27 19:08:48 +00:00
Mathew Sutcliffe
22d6b93f10 refs #356 Non-member equality operators for CPropertyIndexVariantMap. 2015-03-27 19:08:47 +00:00
Klaus Basan
8e8f9e4804 refs #369, prepend function for properties 2015-03-20 16:30:59 +01:00
Mathew Sutcliffe
48f04a4750 refs #247 Using CVariant in property index system. 2014-12-13 01:41:58 +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
Roland Winklmeier
851d50cdea refs #341 Fixed initialization of m_wildcard 2014-11-05 16:34:24 +01:00
Klaus Basan
4b50134d2a refs #325, refs #330 fixed apply method to return list of changed properties
* changed CValueObject apply
* created CIndexPropertyList
* renamed CIndexVariantMap to CPropertyIndexVariantMap
2014-10-07 13:10:33 +02:00