Kanzi  3.9.6
Kanzi Engine API
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. More...
 
AbstractPropertyType getPropertyType () const
 Gets property type. More...
 
- Public Member Functions inherited from kanzi::AbstractExpressionValueSourceRuntime
void attach ()
 Attaches this source. More...
 
void detach ()
 Detaches this source. More...
 
Variant & getRegister ()
 Gets the variant from this value source. More...
 
const Variant & getRegister () const
 Gets the variant from this value source. More...
 
virtual ~AbstractExpressionValueSourceRuntime ()
 Destructor. More...
 

Protected Member Functions

BindingLookupContext & getLookupContext () const
 Gets the binding lookup context. More...
 
MaterialSharedPtr getMaterial () const
 Gets the material attached to. More...
 
 RenderPropertyExpressionValueSourceRuntime (const RenderPropertyExpressionValueSource &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...
 
virtual void detachOverride ()=0
 Implementation-dependent detach. More...
 

Protected Attributes

const RenderPropertyExpressionValueSource & m_source
 Create info containing settings for this source. More...
 
- Protected Attributes inherited from kanzi::AbstractExpressionValueSourceRuntime
Variant m_cachedValue
 Cached value stored. More...
 
ExpressionBindingSourceRuntime & m_host
 Host multi binding source. More...
 

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: