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. More... | |
Public Member Functions inherited from kanzi::RenderPropertyExpressionValueSourceRuntime | |
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... | |
Static Public Member Functions | |
static AbstractExpressionValueSourceRuntimePtr | create (RenderPropertyExpressionValueSource &valueSource, ExpressionBindingSourceRuntime &sourceRuntime) |
Create a typed object property expression value source runtime. More... | |
Protected Types | |
using | ObjectPropertyListenerType = ObjectPropertyListenerImpl< T, PropertyObjectWeakPtr, PropertyObjectSharedPtr > |
Type name for object property listener. More... | |
Static Protected Member Functions | |
static void | materialChangeCallback (PropertyObject &, const T &, PropertyNotificationReason reason, void *data) |
Callback for material property changes. More... | |
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. More... | |
Protected Attributes | |
bool | m_materialPropertyListenerInstalled |
Is material property listener installed? More... | |
Protected Attributes inherited from kanzi::RenderPropertyExpressionValueSourceRuntime | |
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... | |
Protected Attributes inherited from kanzi::ObjectPropertyListenerImpl< T, PropertyObjectWeakPtr, PropertyObjectSharedPtr > | |
PropertyObjectWeakPtr | m_localPropertyListenerObject |
The object to which the local property listener has been installed. More... | |
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?