Runtime base class for expression value sources. More...
#include <kanzi/core.ui/binding/abstract_expression_value_source_runtime.hpp>
Public Member Functions | |
void | attach () |
Attaches this source. More... | |
void | detach () |
Detaches this source. More... | |
Variant & | getRegister () |
Gets the variant from this value source. More... | |
const Variant & | getRegister () const |
Gets the variant from this value source. More... | |
virtual | ~AbstractExpressionValueSourceRuntime () |
Destructor. More... | |
Protected Member Functions | |
AbstractExpressionValueSourceRuntime (ExpressionBindingSourceRuntime &host) | |
Constructor. More... | |
virtual void | attachOverride ()=0 |
Implementation-dependent attach. More... | |
virtual void | detachOverride ()=0 |
Implementation-dependent detach. More... | |
Protected Attributes | |
Variant | m_cachedValue |
Cached value stored. More... | |
ExpressionBindingSourceRuntime & | m_host |
Host multi binding source. More... | |
Runtime base class for expression value sources.
Expression value sources create runtimes for themselves when attached to a source.
|
inlinevirtual |
Destructor.
|
inlineprotected |
Constructor.
void kanzi::AbstractExpressionValueSourceRuntime::attach | ( | ) |
Attaches this source.
void kanzi::AbstractExpressionValueSourceRuntime::detach | ( | ) |
Detaches this source.
|
inline |
Gets the variant from this value source.
|
inline |
Gets the variant from this value source.
|
protectedpure virtual |
Implementation-dependent attach.
Implemented in kanzi::TypedRenderPropertyExpressionValueSourceRuntime< T >, kanzi::TypedVariableExpressionValueSourceRuntime< T >, kanzi::TypedObjectPropertyExpressionValueSourceRuntime< T >, and kanzi::DataSourceExpressionValueSourceRuntime.
|
protectedpure virtual |
Implementation-dependent detach.
Implemented in kanzi::TypedRenderPropertyExpressionValueSourceRuntime< T >, kanzi::TypedObjectPropertyExpressionValueSourceRuntime< T >, kanzi::DataSourceExpressionValueSourceRuntime, and kanzi::VariableExpressionValueSourceRuntime.
|
protected |
Cached value stored.
|
protected |
Host multi binding source.