Kanzi 3.9.10
kanzi::RenderPropertyBindingSource Class Reference

Render property binding source. More...

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

Inheritance diagram for kanzi::RenderPropertyBindingSource:
[legend]

Public Member Functions

string getPath () const
 Gets the path to object.
 
AbstractPropertyType getPropertyType () const
 Gets the source property type.
 
- Public Member Functions inherited from kanzi::BindingSource
BindingSourceRuntimePtr createRuntime ()
 Creates binding source runtime.
 
virtual ~BindingSource ()
 Destructor.
 

Static Public Member Functions

static BindingSourcePtr create (string_view path, AbstractPropertyType propertyType)
 Creates an render property binding source.
 

Protected Member Functions

BindingSourceRuntimePtr createRuntimeOverride () override
 BindingSource::createRuntime implementation.
 
 RenderPropertyBindingSource (string_view path, AbstractPropertyType propertyType)
 Constructor.
 
- Protected Member Functions inherited from kanzi::BindingSource
 BindingSource ()
 Constructor.
 

Protected Attributes

string m_path
 Path to look up.
 
AbstractPropertyType m_propertyType
 Property type to read.
 

Detailed Description

Render property binding source.

Render property binding source is used to read values into bindings associated with render states only reading from node properties.

Since
Kanzi 3.9.0

Constructor & Destructor Documentation

◆ RenderPropertyBindingSource()

kanzi::RenderPropertyBindingSource::RenderPropertyBindingSource ( string_view path,
AbstractPropertyType propertyType )
inlineexplicitprotected

Constructor.

Parameters
pathPath to object.
propertyTypeProperty type to listen to.
Since
Kanzi 3.9.6 Removed BindingLookupContextPtr.

Member Function Documentation

◆ create()

static BindingSourcePtr kanzi::RenderPropertyBindingSource::create ( string_view path,
AbstractPropertyType propertyType )
static

Creates an render property binding source.

Parameters
pathPath to object.
propertyTypeProperty type to listen to.
Returns
The created object property binding source.

◆ getPath()

string kanzi::RenderPropertyBindingSource::getPath ( ) const
inline

Gets the path to object.

Returns
Path.

◆ getPropertyType()

AbstractPropertyType kanzi::RenderPropertyBindingSource::getPropertyType ( ) const
inline

Gets the source property type.

Returns
Property type.

◆ createRuntimeOverride()

BindingSourceRuntimePtr kanzi::RenderPropertyBindingSource::createRuntimeOverride ( )
overrideprotectedvirtual

Member Data Documentation

◆ m_path

string kanzi::RenderPropertyBindingSource::m_path
protected

Path to look up.

◆ m_propertyType

AbstractPropertyType kanzi::RenderPropertyBindingSource::m_propertyType
protected

Property type to read.


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