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. More... | |
virtual bool | matches (void *owner) const override |
AbstractPropertyTypeDescriptor::ValueSourceOwner::matches() implementation. More... | |
virtual | ~BindingValueSourceOwner () override |
Destructor. More... | |
Public Member Functions inherited from kanzi::AbstractPropertyTypeDescriptor::ValueSourceOwner | |
bool | isReuseAllowed () const |
Indicates whether reuse of the value source for other property actions is allowed. More... | |
bool | isValid () const |
Indicates whether the value source is valid. More... | |
void | setValid (bool valid) |
Sets the validity status of the value source. More... | |
ValueSourceOwner (bool valid, bool reuseAllowed) | |
Constructor. More... | |
virtual | ~ValueSourceOwner () |
Virtual destructor to be implemented by inheriting classes. More... | |
Protected Attributes | |
ValueSourceBindingTargetRuntime & | m_targetRuntime |
Binding runtime to be removed. More... | |
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. More... | |
bool | m_valid |
Validity flag for value source. More... | |
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.
|
overridevirtual |
AbstractPropertyTypeDescriptor::ValueSourceOwner::matches() implementation.
Implements kanzi::AbstractPropertyTypeDescriptor::ValueSourceOwner.
|
protected |
Binding runtime to be removed.