Kanzi 3.9.11
kanzi::RenderPropertyExpressionValueSourceRuntime Class Reference

Runtime for render property expression value source. More...

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

Inheritance diagram for kanzi::RenderPropertyExpressionValueSourceRuntime:
[legend]

Public Member Functions

string getPath () const
 Gets source path.
 
AbstractPropertyType getPropertyType () const
 Gets property type.
 
- 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.
 

Protected Member Functions

BindingLookupContext & getLookupContext () const
 Gets the binding lookup context.
 
MaterialSharedPtr getMaterial () const
 Gets the material attached to.
 
 RenderPropertyExpressionValueSourceRuntime (const RenderPropertyExpressionValueSource &source, ExpressionBindingSourceRuntime &host)
 Constructor.
 
- Protected Member Functions inherited from kanzi::AbstractExpressionValueSourceRuntime
 AbstractExpressionValueSourceRuntime (ExpressionBindingSourceRuntime &host)
 Constructor.
 
virtual void attachOverride ()=0
 Implementation-dependent attach.
 
virtual void detachOverride ()=0
 Implementation-dependent detach.
 

Protected Attributes

const RenderPropertyExpressionValueSource & 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.
 

Detailed Description

Runtime for render property expression value source.

Since
Kanzi 3.9.0

Constructor & Destructor Documentation

◆ RenderPropertyExpressionValueSourceRuntime()

kanzi::RenderPropertyExpressionValueSourceRuntime::RenderPropertyExpressionValueSourceRuntime ( const RenderPropertyExpressionValueSource & source,
ExpressionBindingSourceRuntime & host )
inlineprotected

Constructor.

Parameters
sourceSource render property expression of the value source runtime.
hostHost expression binding of the value source runtime.

Member Function Documentation

◆ getPath()

string kanzi::RenderPropertyExpressionValueSourceRuntime::getPath ( ) const

Gets source path.

Returns
path to source.

◆ getPropertyType()

AbstractPropertyType kanzi::RenderPropertyExpressionValueSourceRuntime::getPropertyType ( ) const

Gets property type.

Returns
Property type for this source.

◆ getLookupContext()

BindingLookupContext & kanzi::RenderPropertyExpressionValueSourceRuntime::getLookupContext ( ) const
protected

Gets the binding lookup context.

Returns
Reference to binding lookup context.

◆ getMaterial()

MaterialSharedPtr kanzi::RenderPropertyExpressionValueSourceRuntime::getMaterial ( ) const
protected

Gets the material attached to.

Returns
Material the render state is using.

Member Data Documentation

◆ m_source

const RenderPropertyExpressionValueSource& kanzi::RenderPropertyExpressionValueSourceRuntime::m_source
protected

Create info containing settings for this source.


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