Kanzi 3.9.10
kanzi::BindingValueSourceOwner Class Reference

Owner for value source bindings. More...

#include <kanzi/core.ui/binding/binding_value_source_owner.hpp>

Inheritance diagram for kanzi::BindingValueSourceOwner:
[legend]

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

ValueSourceBindingTargetRuntimem_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.
 

Detailed Description

Owner for value source bindings.

Since
Kanzi 3.7.0

Constructor & Destructor Documentation

◆ BindingValueSourceOwner()

kanzi::BindingValueSourceOwner::BindingValueSourceOwner ( ValueSourceBindingTargetRuntime & targetRuntime,
bool reuseAllowed )

Constructor.

Parameters
targetRuntimeBinding target runtime added to the host object.
reuseAllowedSet to true to enable reuse by other value source operations such as setProperty.

◆ ~BindingValueSourceOwner()

virtual kanzi::BindingValueSourceOwner::~BindingValueSourceOwner ( )
overridevirtual

Destructor.

Member Function Documentation

◆ matches()

virtual bool kanzi::BindingValueSourceOwner::matches ( void * owner) const
overridevirtual

Member Data Documentation

◆ m_targetRuntime

ValueSourceBindingTargetRuntime& kanzi::BindingValueSourceOwner::m_targetRuntime
protected

Binding runtime to be removed.


The documentation for this class was generated from the following file: