Typed runtime for variable expression value source. More...
#include <kanzi/core.ui/binding/typed_variable_expression_value_source_runtime.hpp>
Public Types | |
| using | VariableBindingTargetType = TypedVariableBindingTargetRuntime< T > |
| Type for the variable binding target that this variable binding source is reading from. More... | |
Public Member Functions | |
| ~TypedVariableExpressionValueSourceRuntime () override=default | |
| Destructor. More... | |
Public Member Functions inherited from kanzi::VariableExpressionValueSourceRuntime | |
| PropertyField | getPropertyField () const |
| Gets property field. More... | |
Public Member Functions inherited from kanzi::AbstractExpressionValueSourceRuntime | |
| 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... | |
Public Member Functions inherited from kanzi::AbstractBindingVariableSource | |
| AbstractPropertyType | getPropertyType () const |
| Gets the associated property type for this variable source. More... | |
| void | notifyVariableAvailable () |
| Notification function for when variable has become available or has been changed. More... | |
| void | notifyVariableDetached () |
| Notification function for when variable has become detached and is no longer available. More... | |
| void | setTargetRuntime (VariableBindingTargetRuntime *targetRuntime) |
| Sets the variable binding target runtime. More... | |
Static Public Member Functions | |
| static AbstractExpressionValueSourceRuntimePtr | create (VariableExpressionValueSource &valueSource, ExpressionBindingSourceRuntime &sourceRuntime) |
| Create a typed variable expression value source runtime. More... | |
Additional Inherited Members | |
Protected Attributes inherited from kanzi::VariableExpressionValueSourceRuntime | |
| const VariableExpressionValueSource & | m_source |
| Create info containing settings for this source. More... | |
Protected Attributes inherited from kanzi::AbstractExpressionValueSourceRuntime | |
| Variant | m_cachedValue |
| Cached value stored. More... | |
| ExpressionBindingSourceRuntime & | m_host |
| Host multi binding source. More... | |
Protected Attributes inherited from kanzi::AbstractBindingVariableSource | |
| VariableBindingTargetRuntime * | m_targetRuntime |
| Currently connected target runtime. More... | |
Typed runtime for variable expression value source.
| using kanzi::TypedVariableExpressionValueSourceRuntime< T >::VariableBindingTargetType = TypedVariableBindingTargetRuntime<T> |
Type for the variable binding target that this variable binding source is reading from.
|
overridedefault |
Destructor.
|
inlineprotected |
Constructor.
| source | Source for this value source runtime. |
| host | Host expression binding source runtime. |
|
inlinestatic |
Create a typed variable expression value source runtime.
| valueSource | Source for this value source runtime. |
| sourceRuntime | Host expression binding source runtime. |
|
inlineprotected |
Gets the current target runtime as the correct type.
|
inlineprotected |
Reads a value from connected variable binding target.
| value | Variant to read to. |
|
inlineoverrideprotectedvirtual |
AbstractExpressionValueSource::attachOverride() implementation.
Implements kanzi::AbstractExpressionValueSourceRuntime.
|
inlineoverrideprotectedvirtual |
AbstractBindingVariableSource::notifyVariableAvailableOverride() implementation.
Implements kanzi::AbstractBindingVariableSource.
|
inlineoverrideprotectedvirtual |
AbstractBindingVariableSource::notifyVariableDetachedOverride() implementation.
Implements kanzi::AbstractBindingVariableSource.