Typed runtime for render property expression value source. More...
#include <kanzi/core.ui/binding/typed_render_property_expression_value_source_runtime.hpp>
Public Member Functions | |
~TypedRenderPropertyExpressionValueSourceRuntime () | |
Destructor. | |
Public Member Functions inherited from kanzi::RenderPropertyExpressionValueSourceRuntime | |
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. | |
Static Public Member Functions | |
static AbstractExpressionValueSourceRuntimePtr | create (RenderPropertyExpressionValueSource &valueSource, ExpressionBindingSourceRuntime &sourceRuntime) |
Create a typed object property expression value source runtime. | |
Protected Types | |
using | ObjectPropertyListenerType |
Type name for object property listener. | |
Static Protected Member Functions | |
static void | materialChangeCallback (PropertyObject &, const T &, PropertyNotificationReason reason, void *data) |
Callback for material property changes. | |
Static Protected Member Functions inherited from kanzi::ObjectPropertyListenerImpl< T, PropertyObjectWeakPtr, PropertyObjectSharedPtr > | |
static void | localPropertyChangeCallback (PropertyObject &, const T &, PropertyNotificationReason reason, void *userData) |
Property change callback for object property. | |
Protected Attributes | |
bool | m_materialPropertyListenerInstalled |
Is material property listener installed? | |
Protected Attributes inherited from kanzi::RenderPropertyExpressionValueSourceRuntime | |
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. | |
Protected Attributes inherited from kanzi::ObjectPropertyListenerImpl< T, PropertyObjectWeakPtr, PropertyObjectSharedPtr > | |
PropertyObjectWeakPtr | m_localPropertyListenerObject |
The object to which the local property listener has been installed. | |
Typed runtime for render property expression value source.
|
protected |
Type name for object property listener.
|
inline |
Destructor.
|
inlineprotected |
Constructor.
source | Source for this value source runtime. |
host | Host expression binding source runtime. |
|
inlinestatic |
Create a typed object property expression value source runtime.
valueSource | Source for this value source runtime. |
sourceRuntime | Host expression binding source runtime. |
|
inlineprotected |
Performs the value read for this source.
object | Object to read from. |
value | Value to write to. |
|
inlineoverrideprotectedvirtual |
AbstractExpressionValueSource::attachOverride() implementation.
Implements kanzi::AbstractExpressionValueSourceRuntime.
|
inlineoverrideprotectedvirtual |
AbstractExpressionValueSource::detachOverride() implementation.
Implements kanzi::AbstractExpressionValueSourceRuntime.
|
inlineoverrideprotectedvirtual |
|
inlineprotected |
Attach material listener.
|
inlineprotected |
Detach material listener.
|
inlinestaticprotected |
Callback for material property changes.
reason | Reason for the property change. |
data | Pointer to the listener. |
|
protected |
Is material property listener installed?