Runtime for object property binding source. More...
#include <kanzi/core.ui/binding/typed_object_property_binding_source_runtime.hpp>
Public Member Functions | |
~TypedObjectPropertyBindingSourceRuntime () override | |
Destructor. | |
Public Member Functions inherited from kanzi::ObjectPropertyBindingSourceRuntime | |
string | getPath () const |
Gets path to object. | |
PropertyField | getPropertyField () const |
Gets property field. | |
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. | |
Public Member Functions inherited from kanzi::BindingLookupNotificationBase | |
void | clearLocalNotificationFlag () |
Clears local notification flag. | |
bool | isGlobalNotificationInstalled () const |
Tells if this a global notification has been registered. | |
bool | isLocalNotificationInstalled () const |
Tells if this a local notification has been registered. | |
void | registerGlobalNotification (BindingLookupContext &lookupContext, string_view path) |
Installs a global notification listener. | |
void | registerLocalNotification (BindingLookupContext &lookupContext, PropertyObject &object, string_view path) |
Installs a local notification listener. | |
void | registerLocalNotification (BindingLookupContext &lookupContext, PropertyObject *object, string_view path) |
Installs a local notification listener. | |
void | unregisterGlobalNotification (BindingLookupContext &lookupContext, string_view path) |
Uninstalls a global notification listener. | |
void | unregisterLocalNotification (BindingLookupContext &lookupContext, PropertyObject &object, string_view path) |
Removes a local notification listener. | |
void | unregisterLocalNotification (BindingLookupContext &lookupContext, PropertyObject *object, string_view path) |
Removes a local notification listener. | |
~BindingLookupNotificationBase () | |
Destructor. | |
Static Public Member Functions | |
static BindingSourceRuntimePtr | create (const ObjectPropertyBindingSource &source) |
Creates a typed object property binding source runtime. | |
Protected Types | |
using | ObjectPropertyListenerType |
Type name for object property listener. | |
Protected Attributes | |
bool | m_localPropertyListenerRequested |
Is the local property listener requested? | |
PropertyObjectWeakPtr | m_object |
Property object attached to. | |
Protected Attributes inherited from kanzi::ObjectPropertyBindingSourceRuntime | |
const ObjectPropertyBindingSource & | 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::BindingLookupNotificationBase | |
bool | m_globalNotificationInstalled |
Is the global notification listener installed? | |
bool | m_localNotificationInstalled |
Is the local notification listener installed? | |
Protected Attributes inherited from kanzi::ObjectPropertyListenerImpl< T, PropertyObject *, PropertyObject & > | |
PropertyObject * | 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. | |
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. | |
Runtime for object property binding source.
|
protected |
Type name for object property listener.
|
inlineoverride |
Destructor.
|
inlineexplicitprotected |
Constructor.
source | Host object property binding source. |
|
inlinestatic |
Creates a typed object property binding source runtime.
source | Host object property binding source. |
|
inlineoverrideprotectedvirtual |
BindingSourceRuntime::attachOverride() implementation.
Implements kanzi::BindingSourceRuntime.
|
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 |
BindingSourceRuntime::writeOverride() implementation.
Reimplemented from kanzi::BindingSourceRuntime.
|
inlineoverrideprotectedvirtual |
BindingLookupNotificationImpl::onGlobalLookupNotification() implementation.
Implements kanzi::BindingLookupNotificationBase.
|
inlineoverrideprotectedvirtual |
BindingLookupNotificationImpl::onLocalLookupNotification() implementation.
Implements kanzi::BindingLookupNotificationBase.
|
inlineoverrideprotectedvirtual |
|
protected |
Property object attached to.
|
protected |
Is the local property listener requested?