Owner for value source bindings. More...
#include <kanzi/core.ui/binding/binding_value_source_owner.hpp>
Public Member Functions | |
BindingValueSourceOwner (ValueSourceBindingTargetRuntime &targetRuntime, bool reuseAllowed) | |
Constructor. | |
virtual bool | matches (void *owner) const override |
AbstractPropertyTypeDescriptor::ValueSourceOwner::matches() implementation. | |
virtual | ~BindingValueSourceOwner () override |
Destructor. | |
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 | |
ValueSourceBindingTargetRuntime & | m_targetRuntime |
Binding runtime to be removed. | |
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 value source bindings.
kanzi::BindingValueSourceOwner::BindingValueSourceOwner | ( | ValueSourceBindingTargetRuntime & | targetRuntime, |
bool | reuseAllowed ) |
Constructor.
targetRuntime | Binding target runtime added to the host object. |
reuseAllowed | Set to true to enable reuse by other value source operations such as setProperty. |
|
overridevirtual |
Destructor.
AbstractPropertyTypeDescriptor::ValueSourceOwner::matches() implementation.
Implements kanzi::AbstractPropertyTypeDescriptor::ValueSourceOwner.
|
protected |
Binding runtime to be removed.