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>
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. | |
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.
|
inlinevirtual |
Destructor.
|
inlineexplicitprotected |
Constructor.
BindingSourceRuntimePtr kanzi::BindingSource::createRuntime | ( | ) |
Creates binding source runtime.
|
protectedpure virtual |
Creates binding source runtime.
Implemented in kanzi::DataSourceBindingSource, kanzi::ExpressionBindingSource, kanzi::ManualBindingSource, kanzi::MessageBindingSource, kanzi::ObjectPropertyBindingSource, kanzi::RenderPropertyBindingSource, kanzi::ResourceBindingSource, kanzi::ValueBindingSource, and kanzi::VariableBindingSource.