Entry pointing to value sources. More...
#include <kanzi/core/property/abstract_property_type_descriptor.hpp>
Public Member Functions | |
ValueSourceEntry & | operator= (ValueSourceEntry &&other) noexcept |
Move operator. More... | |
bool | ownerMatches (void *checkedOwner) const |
Indicates whether owner matches the given owner. More... | |
ValueSourceEntry () | |
Constructor. More... | |
ValueSourceEntry (ValueSource *valueSource, void *ownerParam, PropertyValuePrecedence precedence) | |
Constructor. More... | |
ValueSourceEntry (ValueSource *valueSource, ValueSourceOwner *ownerParam, PropertyValuePrecedence precedence) | |
Constructor. More... | |
ValueSourceEntry (ValueSourceEntry &&other) noexcept | |
Move constructor. More... | |
~ValueSourceEntry () | |
Destructor. More... | |
Public Attributes | |
ValueSourceOwnerPtr | owner |
Owner of the value source. This may abstract the operation to do when value source is destructed. More... | |
PropertyValuePrecedence | precedence |
Precedence of the value source. More... | |
ValueSource * | valueSource |
Referenced value source. More... | |
Entry pointing to value sources.
|
inlineexplicit |
Constructor.
|
inlineexplicit |
Constructor.
valueSource | Value source pointed at by this entry. |
ownerParam | Owner pointer, may be 0. |
precedence | Property value precedence. |
|
inlineexplicit |
Constructor.
Value source owner is of correct type already, and is not explicitly constructed. This object will take ownership of value source owner parameter.
valueSource | Value source pointed at by this entry. |
ownerParam | Value source owner. |
precedence | Property value precedence. |
|
inlinenoexcept |
Move constructor.
other | Source to move from. |
|
inline |
Destructor.
|
inlinenoexcept |
Move operator.
other | Source to move from. |
|
inline |
Indicates whether owner matches the given owner.
checkedOwner | Owner to compare to. |
ValueSource* kanzi::AbstractPropertyTypeDescriptor::ValueSourceEntry::valueSource |
Referenced value source.
Not owned by this owner object.
ValueSourceOwnerPtr kanzi::AbstractPropertyTypeDescriptor::ValueSourceEntry::owner |
Owner of the value source. This may abstract the operation to do when value source is destructed.
PropertyValuePrecedence kanzi::AbstractPropertyTypeDescriptor::ValueSourceEntry::precedence |
Precedence of the value source.