Runtime for message binding target. More...
#include <kanzi/core.ui/binding/message_binding_target_runtime.hpp>
Public Member Functions | |
PropertyField | getPropertyField () const |
Gets property field. | |
AbstractPropertyType | getPropertyType () const |
Gets property type. | |
void | setMessage (MessageArguments *args) |
Sets the message to use for acquiring arguments on update. | |
![]() | |
void | attachForRead () |
Attaches the binding target runtime for reading. | |
void | attachForWrite () |
Attaches the binding target runtime for writing. | |
BindingProcessorRuntimeConstIterator | beginProcessorRuntimes () const |
Gets an iterator to the beginning of binding processor runtimes. | |
void | createBindingProcessorsRuntimes (const AbstractBinding &binding) |
Creates a processor runtime for each BindingProcessor held by the binding parameter. | |
void | detach () |
Detaches binding target runtime. | |
BindingProcessorRuntimeConstIterator | endProcessorRuntimes () const |
Gets an iterator to the end of binding processor runtimes. | |
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 the binding target. | |
void | setBindingRuntime (AbstractBindingRuntime &bindingRuntime) |
Sets the binding runtime. | |
bool | write (const Variant &value) |
Writes a value to the binding target. | |
virtual | ~BindingTargetRuntime ()=default |
Destructor. | |
Static Public Member Functions | |
static BindingTargetRuntimePtr | create (AbstractPropertyType propertyType, PropertyField field) |
Creates a message binding target runtime. | |
Protected Member Functions | |
void | attachForReadOverride () override |
BindingTargetRuntime::attachForReadOverride() implementation. | |
void | attachForWriteOverride () override |
BindingTargetRuntime::attachForWriteOverride() implementation. | |
void | detachOverride () override |
BindingTargetRuntime::detachOverride() implementation. | |
bool | isConnectedOverride () override |
BindingTargetRuntime::isConnectedOverride() implementation. | |
MessageBindingTargetRuntime (AbstractPropertyType propertyType, PropertyField field) | |
Constructor. | |
![]() | |
BindingTargetRuntime ()=default | |
Constructor. | |
virtual bool | readOverride (Variant &value) |
Implementation-dependent read. | |
virtual bool | writeOverride (const Variant &value)=0 |
Implementation-dependent write. | |
Protected Attributes | |
PropertyField | m_field |
Property field to use. | |
MessageArguments * | m_messageArguments |
Message set manually to this message binding source. | |
AbstractPropertyType | m_propertyType |
Property type to write. | |
![]() | |
AbstractBindingRuntime * | m_bindingRuntime |
Abstract binding runtime for this target. | |
BindingProcessorRuntimeContainer | m_processorRuntimes |
Binding processors runtimes (for the target, backward direction). | |
Additional Inherited Members | |
![]() | |
using | BindingProcessorRuntimeConstIterator |
Binding processor iterator type. | |
using | BindingProcessorRuntimeContainer |
Binding processor container type. | |
Runtime for message binding target.
|
inlineexplicitprotected |
Constructor.
propertyType | Property type to use. |
field | Property field to use. |
|
static |
Creates a message binding target runtime.
propertyType | Property type to use. |
field | Property field to use. |
|
inline |
Gets property type.
|
inline |
Gets property field.
|
inline |
Sets the message to use for acquiring arguments on update.
args | Message arguments to use. |
|
overrideprotectedvirtual |
BindingTargetRuntime::attachForReadOverride() implementation.
Reimplemented from kanzi::BindingTargetRuntime.
|
overrideprotectedvirtual |
BindingTargetRuntime::attachForWriteOverride() implementation.
Implements kanzi::BindingTargetRuntime.
|
overrideprotectedvirtual |
BindingTargetRuntime::detachOverride() implementation.
Implements kanzi::BindingTargetRuntime.
|
overrideprotectedvirtual |
BindingTargetRuntime::isConnectedOverride() implementation.
Implements kanzi::BindingTargetRuntime.
|
protected |
Message set manually to this message binding source.
|
protected |
Property type to write.
|
protected |
Property field to use.