Owner for raw value source pointers. More...
#include <kanzi/core/property/abstract_property_type_descriptor.hpp>
Public Member Functions | |
bool | matches (void *owner) const override |
ValueSourceOwner::matches() implementation. | |
RawValueSourceOwner (void *owner) | |
Constructor. | |
Public Member Functions inherited from kanzi::AbstractPropertyTypeDescriptor::ValueSourceOwner | |
bool | isReuseAllowed () const |
Indicates whether reuse of the value source for other property actions is allowed. | |
bool | isValid () const |
Indicates whether the value source is valid. | |
void | setValid (bool valid) |
Sets the validity status of the value source. | |
ValueSourceOwner (bool valid, bool reuseAllowed) | |
Constructor. | |
virtual | ~ValueSourceOwner () |
Virtual destructor to be implemented by inheriting classes. | |
Protected Attributes | |
void * | m_owner |
Raw owner pointer. | |
Protected Attributes inherited from kanzi::AbstractPropertyTypeDescriptor::ValueSourceOwner | |
bool | m_reuseAllowed |
Is reuse of this value source allowed? Should be set to true to allow reuse of the value source. | |
bool | m_valid |
Validity flag for value source. | |
Owner for raw value source pointers.
|
inlineexplicit |
Constructor.
owner | Owner pointer. |
|
inlineoverridevirtual |
ValueSourceOwner::matches() implementation.
Implements kanzi::AbstractPropertyTypeDescriptor::ValueSourceOwner.
|
protected |
Raw owner pointer.