Kanzi  3.9.9
Kanzi Engine C++ API
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. More...
 
virtual ~BindingSource ()
 Destructor. More...
 

Protected Member Functions

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

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

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

Destructor.

kanzi::BindingSource::BindingSource ( )
inlineexplicitprotected

Constructor.

Member Function Documentation

BindingSourceRuntimePtr kanzi::BindingSource::createRuntime ( )

Creates binding source runtime.

Returns
The binding source runtime.
Since
Kanzi 3.9.6 Removed BindingLookupContextPtr.
virtual BindingSourceRuntimePtr kanzi::BindingSource::createRuntimeOverride ( )
protectedpure virtual

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