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