Kanzi  3.9.4
Kanzi Engine API
kanzi::AbstractExpressionValueSourceRuntime Class Referenceabstract

Runtime base class for expression value sources. More...

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

Inheritance diagram for kanzi::AbstractExpressionValueSourceRuntime:
[legend]

Public Member Functions

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...
 

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...
 
ExpressionBindingSourceRuntimem_host
 Host multi binding source. More...
 

Detailed Description

Runtime base class for expression value sources.

Expression value sources create runtimes for themselves when attached to a source.

Since
Kanzi 3.7.0

Constructor & Destructor Documentation

◆ ~AbstractExpressionValueSourceRuntime()

virtual kanzi::AbstractExpressionValueSourceRuntime::~AbstractExpressionValueSourceRuntime ( )
inlinevirtual

Destructor.

◆ AbstractExpressionValueSourceRuntime()

kanzi::AbstractExpressionValueSourceRuntime::AbstractExpressionValueSourceRuntime ( ExpressionBindingSourceRuntime host)
inlineprotected

Constructor.

Member Function Documentation

◆ attach()

void kanzi::AbstractExpressionValueSourceRuntime::attach ( )

Attaches this source.

◆ detach()

void kanzi::AbstractExpressionValueSourceRuntime::detach ( )

Detaches this source.

◆ getRegister() [1/2]

Variant& kanzi::AbstractExpressionValueSourceRuntime::getRegister ( )
inline

Gets the variant from this value source.

Returns
Reference to variant.

◆ getRegister() [2/2]

const Variant& kanzi::AbstractExpressionValueSourceRuntime::getRegister ( ) const
inline

Gets the variant from this value source.

Returns
Reference to variant.

◆ attachOverride()

virtual void kanzi::AbstractExpressionValueSourceRuntime::attachOverride ( )
protectedpure virtual

◆ detachOverride()

virtual void kanzi::AbstractExpressionValueSourceRuntime::detachOverride ( )
protectedpure virtual

Member Data Documentation

◆ m_cachedValue

Variant kanzi::AbstractExpressionValueSourceRuntime::m_cachedValue
protected

Cached value stored.

◆ m_host

ExpressionBindingSourceRuntime& kanzi::AbstractExpressionValueSourceRuntime::m_host
protected

Host multi binding source.


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