Kanzi 3.9.10
kanzi::BindingSource Class Referenceabstract

Binding source contains all the persistent data that you need to access a source value for the binding. More...

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

Inheritance diagram for kanzi::BindingSource:
[legend]

Public Member Functions

BindingSourceRuntimePtr createRuntime ()
 Creates binding source runtime.
 
virtual ~BindingSource ()
 Destructor.
 

Protected Member Functions

 BindingSource ()
 Constructor.
 
virtual BindingSourceRuntimePtr createRuntimeOverride ()=0
 Creates binding source runtime.
 

Detailed Description

Binding source contains all the persistent data that you need to access a source value for the binding.

To implement specialized ways to get the values, use the specialized binding sources DataSourceBindingSource, ManualBindingSource, ObjectPropertyBindingSource, ValueBindingSource.

When an AbstractBindingRuntime is created for an AbstractBinding, a BindingSourceRuntime is created for the BindingSource in that binding. BindingSourceRuntime specifies the virtual functions required for the binding runtime to read values.

See also
AbstractBinding, DataSourceBindingSource, ExpressionBindingSource, ManualBindingSource, MessageBindingSource, ObjectPropertyBindingSource, ResourceBindingSource, ValueBindingSource
Since
Kanzi 3.7.0

Constructor & Destructor Documentation

◆ ~BindingSource()

virtual kanzi::BindingSource::~BindingSource ( )
inlinevirtual

Destructor.

◆ BindingSource()

kanzi::BindingSource::BindingSource ( )
inlineexplicitprotected

Constructor.

Member Function Documentation

◆ createRuntime()

BindingSourceRuntimePtr kanzi::BindingSource::createRuntime ( )

Creates binding source runtime.

Returns
The binding source runtime.
Since
Kanzi 3.9.6 Removed BindingLookupContextPtr.

◆ createRuntimeOverride()

virtual BindingSourceRuntimePtr kanzi::BindingSource::createRuntimeOverride ( )
protectedpure virtual

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