Runtime for render property binding source. More...
#include <kanzi/core.ui/binding/typed_render_property_binding_source_runtime.hpp>
Public Member Functions | |
~TypedRenderPropertyBindingSourceRuntime () | |
Destructor. | |
Public Member Functions inherited from kanzi::RenderPropertyBindingSourceRuntime | |
string | getPath () const |
Gets the path to object. | |
AbstractPropertyType | getPropertyType () const |
Gets property type. | |
Public Member Functions inherited from kanzi::BindingSourceRuntime | |
void | attachForRead () |
Attaches the binding source runtime for reading. | |
void | attachForWrite () |
Attaches the binding source runtime for writing. | |
BindingProcessorRuntimeConstIterator | beginProcessorRuntimes () const |
Gets an iterator to the beginning of binding processors. | |
void | createBindingProcessorRuntimes (const AbstractBinding &binding) |
Creates a processor runtime for each BindingProcessor held by the binding parameter. | |
void | detach () |
Detaches the binding source runtime. | |
BindingProcessorRuntimeConstIterator | endProcessorRuntimes () const |
Gets an iterator to the end of binding processors. | |
AbstractBindingRuntime * | getBindingRuntime () const |
Gets the binding runtime. | |
BindingLookupContext & | getLookupContext () const |
Gets the lookup context. | |
bool | isConnected () |
Indicates whether this source is connected. | |
bool | read (Variant &value) |
Reads a value from binding source. | |
void | setBindingRuntime (AbstractBindingRuntime &bindingRuntime) |
Sets the binding runtime. | |
bool | write (const Variant &value) |
Writes a value to binding source. | |
virtual | ~BindingSourceRuntime ()=default |
Destructor. | |
Static Public Member Functions | |
static BindingSourceRuntimePtr | create (const RenderPropertyBindingSource &source) |
Create a new render property binding 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::RenderPropertyBindingSourceRuntime | |
const RenderPropertyBindingSource & | m_source |
Host binding source. | |
Protected Attributes inherited from kanzi::BindingSourceRuntime | |
AbstractBindingRuntime * | m_bindingRuntime |
Abstract binding runtime for this source. | |
BindingProcessorRuntimeContainer | m_processorRuntimes |
Binding processors (for the source, forward direction). | |
Protected Attributes inherited from kanzi::ObjectPropertyListenerImpl< T, PropertyObjectWeakPtr, PropertyObjectSharedPtr > | |
PropertyObjectWeakPtr | m_localPropertyListenerObject |
The object to which the local property listener has been installed. | |
Additional Inherited Members | |
Public Types inherited from kanzi::BindingSourceRuntime | |
using | BindingProcessorRuntimeConstIterator |
Binding processor runtime constant iterator type. | |
using | BindingProcessorRuntimeContainer |
Binding processor runtime container type. | |
Runtime for render property binding source.
|
protected |
Type name for object property listener.
|
inline |
Destructor.
|
inlineexplicitprotected |
Constructor.
source | Host object property binding source. |
|
inlinestatic |
Create a new render property binding source runtime.
source | Host object property binding source. |
|
inlineoverrideprotectedvirtual |
BindingSourceRuntime::attachForReadOverride() implementation.
Implements kanzi::BindingSourceRuntime.
|
inlineoverrideprotectedvirtual |
BindingSourceRuntime::detachOverride() implementation.
Implements kanzi::BindingSourceRuntime.
|
inlineoverrideprotectedvirtual |
BindingSourceRuntime::isConnectedOverride() implementation.
Implements kanzi::BindingSourceRuntime.
|
inlineoverrideprotectedvirtual |
BindingSourceRuntime::readOverride() implementation.
Implements kanzi::BindingSourceRuntime.
|
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?