Value source base for use in bindings with multiple sources. More...
#include <kanzi/core.ui/binding/abstract_expression_value_source.hpp>
Public Member Functions | |
BindingSourcePtr | convertToBindingSource () |
Converts this expression value source to a matching binding source. More... | |
AbstractExpressionValueSourceRuntimePtr | createRuntime (ExpressionBindingSourceRuntime &host) |
Creates a runtime for this expression value source. More... | |
virtual | ~AbstractExpressionValueSource () |
Destructor. More... | |
Protected Member Functions | |
AbstractExpressionValueSource () | |
Constructor. More... | |
virtual BindingSourcePtr | convertToBindingSourceOverride ()=0 |
Implementation-defined conversion to binding source. More... | |
virtual AbstractExpressionValueSourceRuntimePtr | createRuntimeOverride (ExpressionBindingSourceRuntime &host)=0 |
Implementation-dependent runtime creation. More... | |
Value source base for use in bindings with multiple sources.
Inherit this class to provide a way to supply expression values.
|
inlinevirtual |
Destructor.
|
inlineprotected |
Constructor.
AbstractExpressionValueSourceRuntimePtr kanzi::AbstractExpressionValueSource::createRuntime | ( | ExpressionBindingSourceRuntime & | host | ) |
Creates a runtime for this expression value source.
host | Host expression binding source runtime. |
|
inline |
Converts this expression value source to a matching binding source.
Used to make simple bindings based on expression value sources loaded from disk.
|
protectedpure virtual |
Implementation-dependent runtime creation.
host | Host expression binding source runtime. |
Implemented in kanzi::ObjectPropertyExpressionValueSource, kanzi::VariableExpressionValueSource, kanzi::RenderPropertyExpressionValueSource, and kanzi::DataSourceExpressionValueSource.
|
protectedpure virtual |
Implementation-defined conversion to binding source.
Implemented in kanzi::ObjectPropertyExpressionValueSource, kanzi::VariableExpressionValueSource, kanzi::RenderPropertyExpressionValueSource, and kanzi::DataSourceExpressionValueSource.