Kanzi  3.9.4
Kanzi Engine API
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. 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

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

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: