Kanzi 3.9.10
kanzi::TypedMessageBindingTargetRuntime< T > Class Template Reference

Typed runtime for message binding target. More...

#include <kanzi/core.ui/binding/typed_message_binding_target_runtime.hpp>

Inheritance diagram for kanzi::TypedMessageBindingTargetRuntime< T >:
[legend]

Static Public Member Functions

static BindingTargetRuntimePtr create (AbstractPropertyType propertyType, PropertyField field)
 Creates a typed message binding source runtime.
 
- Static Public Member Functions inherited from kanzi::MessageBindingTargetRuntime
static BindingTargetRuntimePtr create (AbstractPropertyType propertyType, PropertyField field)
 Creates a message binding target runtime.
 

Protected Member Functions

bool readOverride (Variant &value) override
 BindingTargetRuntime::readOverride() implementation.
 
 TypedMessageBindingTargetRuntime (AbstractPropertyType propertyType, PropertyField field)
 Constructor.
 
bool writeOverride (const Variant &value) override
 BindingTargetRuntime::writeOverride() implementation.
 
- Protected Member Functions inherited from kanzi::MessageBindingTargetRuntime
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.
 
- Protected Member Functions inherited from kanzi::BindingTargetRuntime
 BindingTargetRuntime ()=default
 Constructor.
 

Additional Inherited Members

- Public Types inherited from kanzi::BindingTargetRuntime
using BindingProcessorRuntimeConstIterator
 Binding processor iterator type.
 
using BindingProcessorRuntimeContainer
 Binding processor container type.
 
- Public Member Functions inherited from kanzi::MessageBindingTargetRuntime
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.
 
- Public Member Functions inherited from kanzi::BindingTargetRuntime
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.
 
AbstractBindingRuntimegetBindingRuntime () const
 Gets the binding runtime.
 
BindingLookupContextgetLookupContext () 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.
 
- Protected Attributes inherited from kanzi::MessageBindingTargetRuntime
PropertyField m_field
 Property field to use.
 
MessageArgumentsm_messageArguments
 Message set manually to this message binding source.
 
AbstractPropertyType m_propertyType
 Property type to write.
 
- Protected Attributes inherited from kanzi::BindingTargetRuntime
AbstractBindingRuntimem_bindingRuntime
 Abstract binding runtime for this target.
 
BindingProcessorRuntimeContainer m_processorRuntimes
 Binding processors runtimes (for the target, backward direction).
 

Detailed Description

template<typename T>
class kanzi::TypedMessageBindingTargetRuntime< T >

Typed runtime for message binding target.

Since
Kanzi 3.7.0

Constructor & Destructor Documentation

◆ TypedMessageBindingTargetRuntime()

template<typename T >
kanzi::TypedMessageBindingTargetRuntime< T >::TypedMessageBindingTargetRuntime ( AbstractPropertyType propertyType,
PropertyField field )
inlineexplicitprotected

Constructor.

Parameters
propertyTypeProperty type to use.
fieldProperty field to use.
Since
Kanzi 3.9.6 Removed BindingLookupContext.

Member Function Documentation

◆ create()

Creates a typed message binding source runtime.

Parameters
propertyTypeProperty type to use.
fieldProperty field to use.
Returns
The created manual binding source runtime.
Since
Kanzi 3.9.6 Removed BindingLookupContextPtr.

◆ readOverride()

template<typename T >
bool kanzi::TypedMessageBindingTargetRuntime< T >::readOverride ( Variant & value)
inlineoverrideprotectedvirtual

◆ writeOverride()

template<typename T >
bool kanzi::TypedMessageBindingTargetRuntime< T >::writeOverride ( const Variant & value)
inlineoverrideprotectedvirtual

The documentation for this class was generated from the following file: