Kanzi  3.9.9
Kanzi Engine C++ 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

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

Destructor.

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

Constructor.

Member Function Documentation

void kanzi::AbstractExpressionValueSourceRuntime::attach ( )

Attaches this source.

void kanzi::AbstractExpressionValueSourceRuntime::detach ( )

Detaches this source.

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

Gets the variant from this value source.

Returns
Reference to variant.
const Variant& kanzi::AbstractExpressionValueSourceRuntime::getRegister ( ) const
inline

Gets the variant from this value source.

Returns
Reference to variant.
virtual void kanzi::AbstractExpressionValueSourceRuntime::attachOverride ( )
protectedpure virtual
virtual void kanzi::AbstractExpressionValueSourceRuntime::detachOverride ( )
protectedpure virtual

Member Data Documentation

Variant kanzi::AbstractExpressionValueSourceRuntime::m_cachedValue
protected

Cached value stored.

ExpressionBindingSourceRuntime& kanzi::AbstractExpressionValueSourceRuntime::m_host
protected

Host multi binding source.


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