Kanzi 3.9.10
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.
 
void detach ()
 Detaches this source.
 
VariantgetRegister ()
 Gets the variant from this value source.
 
const VariantgetRegister () 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.
 
ExpressionBindingSourceRuntimem_host
 Host multi binding source.
 

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()

◆ 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: