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. | |
| void | detach () |
| Detaches this source. | |
| Variant & | getRegister () |
| Gets the variant from this value source. | |
| const Variant & | getRegister () const |
| Gets the variant from this value source. | |
| virtual | ~AbstractExpressionValueSourceRuntime () |
| Destructor. | |
Protected Member Functions | |
| AbstractExpressionValueSourceRuntime (ExpressionBindingSourceRuntime &host) | |
| Constructor. | |
| virtual void | attachOverride ()=0 |
| Implementation-dependent attach. | |
| virtual void | detachOverride ()=0 |
| Implementation-dependent detach. | |
Protected Attributes | |
| Variant | m_cachedValue |
| Cached value stored. | |
| ExpressionBindingSourceRuntime & | m_host |
| Host multi binding source. | |
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.
Gets the variant from this value source.
Implementation-dependent attach.
Implemented in kanzi::DataSourceExpressionValueSourceRuntime, kanzi::TypedObjectPropertyExpressionValueSourceRuntime< T >, kanzi::TypedRenderPropertyExpressionValueSourceRuntime< T >, and kanzi::TypedVariableExpressionValueSourceRuntime< T >.
Implementation-dependent detach.
Implemented in kanzi::DataSourceExpressionValueSourceRuntime, kanzi::TypedObjectPropertyExpressionValueSourceRuntime< T >, kanzi::TypedRenderPropertyExpressionValueSourceRuntime< T >, and kanzi::VariableExpressionValueSourceRuntime.
|
protected |
Cached value stored.
|
protected |
Host multi binding source.