Typed runtime for manual binding target. More...
#include <kanzi/core.ui/binding/typed_manual_binding_target_runtime.hpp>
Static Public Member Functions | |
static BindingTargetRuntimePtr | create (string_view path, AbstractPropertyType propertyType, PropertyField field) |
Creates a typed manual binding target runtime. More... | |
Static Public Member Functions inherited from kanzi::ManualBindingTargetRuntime | |
static BindingTargetRuntimePtr | create (string_view path, AbstractPropertyType propertyType, PropertyField field) |
Creates a manual binding target runtime. 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... | |
Public Member Functions inherited from kanzi::ManualBindingTargetRuntime | |
string | getPath () const |
Gets path to object. More... | |
PropertyField | getPropertyField () const |
Gets property type. More... | |
AbstractPropertyType | getPropertyType () const |
Gets 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 |
Gets the 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... | |
Protected Attributes inherited from kanzi::ManualBindingTargetRuntime | |
PropertyField | m_field |
Property field written. More... | |
string | m_path |
Path to target object. More... | |
AbstractPropertyType | m_propertyType |
Property type written. More... | |
Protected Attributes inherited from kanzi::BindingTargetRuntime | |
AbstractBindingRuntime * | m_bindingRuntime |
Abstract binding runtime for this target. More... | |
BindingProcessorRuntimeContainer | m_processorRuntimes |
Binding processors runtimes (for the target, backward direction). More... | |
Typed runtime for manual binding target.
|
inlineexplicitprotected |
Constructor.
path | Target object path. |
propertyType | Target property type. |
field | Target property field. |
|
inlinestatic |
Creates a typed manual binding target runtime.
path | Target object path. |
propertyType | Target property type. |
field | Target property field. |
|
inlineoverrideprotectedvirtual |
BindingTargetRuntime::readOverride() implementation.
Reimplemented from kanzi::BindingTargetRuntime.
|
inlineoverrideprotectedvirtual |
BindingTargetRuntime::writeOverride() implementation.
Implements kanzi::BindingTargetRuntime.