Kanzi  3.9.5
Kanzi Engine API
kanzi::VariableExpressionValueSourceRuntime Class Reference

Runtime for variable expression value source. More...

#include <kanzi/core.ui/binding/variable_expression_value_source_runtime.hpp>

Inheritance diagram for kanzi::VariableExpressionValueSourceRuntime:
[legend]

Public Member Functions

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...
 
VariantgetRegister ()
 Gets the variant from this value source. More...
 
const VariantgetRegister () 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...
 

Protected Member Functions

void detachOverride () override
 AbstractExpressionValueSource::detachOverride() implementation. More...
 
BindingLookupContextgetLookupContext ()
 Gets the binding lookup context. More...
 
AbstractPropertyType getPropertyTypeOverride () const override
 AbstractBindingVariableSource::getPropertyType() implementation. More...
 
 VariableExpressionValueSourceRuntime (const VariableExpressionValueSource &source, ExpressionBindingSourceRuntime &host)
 Constructor. More...
 
- Protected Member Functions inherited from kanzi::AbstractExpressionValueSourceRuntime
 AbstractExpressionValueSourceRuntime (ExpressionBindingSourceRuntime &host)
 Constructor. More...
 
virtual void attachOverride ()=0
 Implementation-dependent attach. More...
 
- Protected Member Functions inherited from kanzi::AbstractBindingVariableSource
virtual void notifyVariableAvailableOverride ()=0
 Implementation-dependent notification of variable being available or having been changed. More...
 
virtual void notifyVariableDetachedOverride ()=0
 Implementation-dependent notification of variable becoming detached. More...
 

Protected Attributes

const VariableExpressionValueSourcem_source
 Create info containing settings for this source. More...
 
- Protected Attributes inherited from kanzi::AbstractExpressionValueSourceRuntime
Variant m_cachedValue
 Cached value stored. More...
 
ExpressionBindingSourceRuntimem_host
 Host multi binding source. More...
 
- Protected Attributes inherited from kanzi::AbstractBindingVariableSource
VariableBindingTargetRuntimem_targetRuntime
 Currently connected target runtime. More...
 

Detailed Description

Runtime for variable expression value source.

Since
Kanzi 3.9.0

Constructor & Destructor Documentation

◆ VariableExpressionValueSourceRuntime()

kanzi::VariableExpressionValueSourceRuntime::VariableExpressionValueSourceRuntime ( const VariableExpressionValueSource source,
ExpressionBindingSourceRuntime host 
)
inlineprotected

Constructor.

Parameters
sourceSource variable expression of the value source runtime.
hostHost expression binding of the value source runtime.

Member Function Documentation

◆ getPropertyField()

PropertyField kanzi::VariableExpressionValueSourceRuntime::getPropertyField ( ) const

Gets property field.

Returns
Property field for this source.

◆ getLookupContext()

BindingLookupContext& kanzi::VariableExpressionValueSourceRuntime::getLookupContext ( )
protected

Gets the binding lookup context.

Returns
Reference to binding lookup context.

◆ detachOverride()

void kanzi::VariableExpressionValueSourceRuntime::detachOverride ( )
overrideprotectedvirtual

AbstractExpressionValueSource::detachOverride() implementation.

Implements kanzi::AbstractExpressionValueSourceRuntime.

◆ getPropertyTypeOverride()

AbstractPropertyType kanzi::VariableExpressionValueSourceRuntime::getPropertyTypeOverride ( ) const
overrideprotectedvirtual

Member Data Documentation

◆ m_source

const VariableExpressionValueSource& kanzi::VariableExpressionValueSourceRuntime::m_source
protected

Create info containing settings for this source.


The documentation for this class was generated from the following file: