Specialized binding target for property modifiers installed to objects. More...
#include <kanzi/core.ui/binding/typed_property_modifier_binding_target_runtime.hpp>
Public Member Functions | |
~TypedPropertyModifierBindingTargetRuntime () override | |
Destructor. More... | |
Public Member Functions inherited from kanzi::PropertyModifierBindingTargetRuntime | |
PropertyField | getPropertyField () const |
Gets a property field. More... | |
AbstractPropertyType | getPropertyType () const |
Gets a property type. More... | |
Public Member Functions inherited from kanzi::BindingTargetRuntime | |
void | attachForRead () |
Attaches the binding target runtime for reading. More... | |
void | attachForWrite () |
Attaches the binding target runtime for writing. More... | |
BindingProcessorRuntimeConstIterator | beginProcessorRuntimes () const |
Gets an iterator to the beginning of binding processor runtimes. More... | |
void | createBindingProcessorsRuntimes (const AbstractBinding &binding) |
Creates a processor runtime for each BindingProcessor held by the binding parameter. More... | |
void | detach () |
Detaches binding target runtime. More... | |
BindingProcessorRuntimeConstIterator | endProcessorRuntimes () const |
Gets an iterator to the end of binding processor runtimes. More... | |
AbstractBindingRuntime * | getBindingRuntime () const |
Gets the binding runtime. More... | |
BindingLookupContext & | getLookupContext () const |
Accesses target lookup context. More... | |
bool | isConnected () |
Indicates whether this source is connected. More... | |
bool | read (Variant &value) |
Reads a value from the binding target. More... | |
void | setBindingRuntime (AbstractBindingRuntime &bindingRuntime) |
Sets the binding runtime. More... | |
bool | write (const Variant &value) |
Writes a value to the binding target. More... | |
virtual | ~BindingTargetRuntime ()=default |
Destructor. More... | |
Static Public Member Functions | |
static BindingTargetRuntimePtr | create (BindingLookupContextPtr lookupContext, AbstractPropertyType propertyType, PropertyField field) |
Create a typed property modifier binding target runtime. More... | |
Static Public Member Functions inherited from kanzi::PropertyModifierBindingTargetRuntime | |
static BindingTargetRuntimePtr | create (BindingLookupContextPtr lookupContext, AbstractPropertyType propertyType, PropertyField field) |
Creates a property modifier binding target runtime without a binding target. More... | |
Protected Types | |
using | ObjectPropertyListenerType = ObjectPropertyListenerImpl< T, PropertyObject *, PropertyObject & > |
Type name for object property listener. More... | |
Static Protected Member Functions | |
static void | modifierCallback (PropertyObject &, typename PropertyDataTypeTraits< T >::StorageType &storage, PropertyNotificationReason, void *owner) |
Modifier callback to be installed. More... | |
Static Protected Member Functions inherited from kanzi::ObjectPropertyListenerImpl< T, PropertyObject *, PropertyObject &> | |
static void | localPropertyChangeCallback (PropertyObject &, const T &, PropertyNotificationReason reason, void *userData) |
Property change callback for object property. More... | |
Protected Attributes | |
bool | m_modifierCallbackInstalled |
Indicates whether the modifier callback is installed. More... | |
Variant | m_value |
Last value written to the variant. More... | |
Protected Attributes inherited from kanzi::PropertyModifierBindingTargetRuntime | |
PropertyField | m_field |
Property field to use. More... | |
bool | m_localReadListenerRequested |
Is local read listener requested? More... | |
PropertyObject & | m_object |
Object the property modifier is installed to. More... | |
AbstractPropertyType | m_propertyType |
Property type to use. More... | |
Protected Attributes inherited from kanzi::BindingTargetRuntime | |
AbstractBindingRuntime * | m_bindingRuntime |
Abstract binding runtime for this target. More... | |
BindingLookupContextPtr | m_lookupContext |
Binding lookup context for wherever this binding target runtime is attached to. More... | |
BindingProcessorRuntimeContainer | m_processorRuntimes |
Binding processors runtimes (for the target, backward direction). More... | |
Protected Attributes inherited from kanzi::ObjectPropertyListenerImpl< T, PropertyObject *, PropertyObject &> | |
PropertyObject * | m_localPropertyListenerObject |
The object to which the local property listener has been installed. More... | |
Additional Inherited Members | |
Public Types inherited from kanzi::BindingTargetRuntime | |
using | BindingProcessorRuntimeConstIterator = BindingProcessorRuntimeContainer::const_iterator |
Binding processor iterator type. More... | |
using | BindingProcessorRuntimeContainer = vector< BindingProcessorRuntimePtr > |
Binding processor container type. More... | |
Specialized binding target for property modifiers installed to objects.
|
protected |
Type name for object property listener.
|
inlineoverride |
Destructor.
|
inlineprotected |
Constructor.
lookupContext | Binding lookup context to use. |
propertyType | Property type to use. |
field | Property field to use. |
|
inlinestatic |
Create a typed property modifier binding target runtime.
lookupContext | Binding lookup context to use. |
propertyType | Property type to use. |
field | Property field to use. |
|
inlineoverrideprotectedvirtual |
BindingTargetRuntime::attachForReadOverride() implementation.
Reimplemented from kanzi::BindingTargetRuntime.
|
inlineoverrideprotectedvirtual |
BindingTargetRuntime::attachForWriteOverride() implementation.
Implements kanzi::BindingTargetRuntime.
|
inlineoverrideprotectedvirtual |
BindingTargetRuntime::detachOverride() implementation.
Implements kanzi::BindingTargetRuntime.
|
inlineoverrideprotectedvirtual |
BindingTargetRuntime::isConnectedOverride() implementation.
Implements kanzi::BindingTargetRuntime.
|
inlineoverrideprotectedvirtual |
BindingTargetRuntime::readOverride() implementation.
Reimplemented from kanzi::BindingTargetRuntime.
|
inlineoverrideprotectedvirtual |
BindingTargetRuntime::writeOverride() implementation.
Implements kanzi::BindingTargetRuntime.
|
inlineoverrideprotectedvirtual |
|
inlineprotected |
Detaches value source.
|
inlineprotected |
Detaches value source.
|
inlineprotected |
Updates the modifier.
storage | Storage being modified. |
|
inlinestaticprotected |
Modifier callback to be installed.
|
protected |
Last value written to the variant.
|
protected |
Indicates whether the modifier callback is installed.