Kanzi 3.9.10
kanzi::ValueBindingSourceRuntime Class Reference

Runtime for ValueBindingSource. More...

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

Inheritance diagram for kanzi::ValueBindingSourceRuntime:
[legend]

Static Public Member Functions

static BindingSourceRuntimePtr create (const ValueBindingSource &source)
 Creates a value binding source runtime.
 

Protected Member Functions

void attachForReadOverride () override
 BindingSourceRuntime::attachForReadOverride() implementation.
 
void attachForWriteOverride () override
 BindingSourceRuntime::attachForWriteOverride() implementation.
 
void detachOverride () override
 BindingSourceRuntime::detachOverride() implementation.
 
bool isConnectedOverride () override
 BindingSourceRuntime::isConnectedOverride() implementation.
 
bool readOverride (Variant &value) override
 BindingSourceRuntime::readOverride() implementation.
 
 ValueBindingSourceRuntime (const ValueBindingSource &source)
 Constructor.
 
bool writeOverride (const Variant &value) override
 BindingSourceRuntime::writeOverride() implementation.
 
- Protected Member Functions inherited from kanzi::BindingSourceRuntime
 BindingSourceRuntime ()=default
 Constructor.
 

Protected Attributes

const ValueBindingSourcem_source
 Host binding source.
 
- Protected Attributes inherited from kanzi::BindingSourceRuntime
AbstractBindingRuntimem_bindingRuntime
 Abstract binding runtime for this source.
 
BindingProcessorRuntimeContainer m_processorRuntimes
 Binding processors (for the source, forward direction).
 

Additional Inherited Members

- Public Types inherited from kanzi::BindingSourceRuntime
using BindingProcessorRuntimeConstIterator
 Binding processor runtime constant iterator type.
 
using BindingProcessorRuntimeContainer
 Binding processor runtime container 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.
 
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 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.
 

Detailed Description

Runtime for ValueBindingSource.

Since
Kanzi 3.7.0

Constructor & Destructor Documentation

◆ ValueBindingSourceRuntime()

kanzi::ValueBindingSourceRuntime::ValueBindingSourceRuntime ( const ValueBindingSource & source)
inlineexplicitprotected

Constructor.

Parameters
sourceHost object property binding source.
Since
Kanzi 3.9.6 Removed BindingLookupContextPtr.

Member Function Documentation

◆ create()

static BindingSourceRuntimePtr kanzi::ValueBindingSourceRuntime::create ( const ValueBindingSource & source)
static

Creates a value binding source runtime.

Parameters
sourceHost object property binding source.
Returns
The value binding source runtime.
Since
Kanzi 3.9.6 Removed BindingLookupContextPtr.

◆ attachForReadOverride()

void kanzi::ValueBindingSourceRuntime::attachForReadOverride ( )
overrideprotectedvirtual

◆ attachForWriteOverride()

void kanzi::ValueBindingSourceRuntime::attachForWriteOverride ( )
overrideprotectedvirtual

◆ detachOverride()

void kanzi::ValueBindingSourceRuntime::detachOverride ( )
overrideprotectedvirtual

◆ readOverride()

bool kanzi::ValueBindingSourceRuntime::readOverride ( Variant & value)
overrideprotectedvirtual

◆ writeOverride()

bool kanzi::ValueBindingSourceRuntime::writeOverride ( const Variant & value)
overrideprotectedvirtual

◆ isConnectedOverride()

bool kanzi::ValueBindingSourceRuntime::isConnectedOverride ( )
overrideprotectedvirtual

Member Data Documentation

◆ m_source

const ValueBindingSource& kanzi::ValueBindingSourceRuntime::m_source
protected

Host binding source.


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