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. | |
AbstractExpressionValueSourceRuntimePtr | createRuntime (ExpressionBindingSourceRuntime &host) |
Creates a runtime for this expression value source. | |
virtual | ~AbstractExpressionValueSource () |
Destructor. | |
Protected Member Functions | |
AbstractExpressionValueSource () | |
Constructor. | |
virtual BindingSourcePtr | convertToBindingSourceOverride ()=0 |
Implementation-defined conversion to binding source. | |
virtual AbstractExpressionValueSourceRuntimePtr | createRuntimeOverride (ExpressionBindingSourceRuntime &host)=0 |
Implementation-dependent runtime creation. | |
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::DataSourceExpressionValueSource, kanzi::ObjectPropertyExpressionValueSource, kanzi::RenderPropertyExpressionValueSource, and kanzi::VariableExpressionValueSource.
|
protectedpure virtual |
Implementation-defined conversion to binding source.
Implemented in kanzi::DataSourceExpressionValueSource, kanzi::ObjectPropertyExpressionValueSource, kanzi::RenderPropertyExpressionValueSource, and kanzi::VariableExpressionValueSource.