Runtime for render value binding target. More...
#include <kanzi/core.ui/binding/render_value_binding_target_runtime.hpp>
Public Member Functions | |
| GlRenderState & | getRenderState () const |
| Gets the render state from the associated render value lookup context. | |
| BindingRenderValueLookupContext & | getRenderValueLookupContext () const |
| Gets the lookup context as correct type. | |
| string | getRenderValueName () const |
| Gets the name of the render value used. | |
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. | |
| 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) |
| Creates a new object render value binding target runtime. | |
| static BindingTargetRuntimePtr | create (PropertyDataType dataType, string_view renderValueName) |
| Creates a new object render value 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. | |
| RenderValueBindingTargetRuntime (string_view renderValueName) | |
| Constructor. | |
Protected Member Functions inherited from kanzi::BindingTargetRuntime | |
| BindingTargetRuntime ()=default | |
| Constructor. | |
| virtual bool | readOverride (Variant &value) |
| Implementation-dependent read. | |
| virtual bool | writeOverride (const Variant &value)=0 |
| Implementation-dependent write. | |
Protected Attributes | |
| string | m_renderValueName |
| Target property type. | |
Protected Attributes inherited from kanzi::BindingTargetRuntime | |
| AbstractBindingRuntime * | m_bindingRuntime |
| Abstract binding runtime for this target. | |
| BindingProcessorRuntimeContainer | m_processorRuntimes |
| Binding processors runtimes (for the target, backward direction). | |
Additional Inherited Members | |
Public Types inherited from kanzi::BindingTargetRuntime | |
| using | BindingProcessorRuntimeConstIterator |
| Binding processor iterator type. | |
| using | BindingProcessorRuntimeContainer |
| Binding processor container type. | |
Runtime for render value binding target.
|
explicitprotected |
Constructor.
| renderValueName | Name of the render value to use. |
|
static |
Creates a new object render value binding target runtime.
| dataType | Data type for the target. |
| renderValueName | Name of the render value to use. |
|
inlinestatic |
Creates a new object render value binding target runtime.
| propertyType | Target property type to get the data type and name from. |
|
inline |
Gets the name of the render value used.
| BindingRenderValueLookupContext & kanzi::RenderValueBindingTargetRuntime::getRenderValueLookupContext | ( | ) | const |
Gets the lookup context as correct type.
| GlRenderState & kanzi::RenderValueBindingTargetRuntime::getRenderState | ( | ) | const |
Gets the render state from the associated render value lookup context.
|
overrideprotectedvirtual |
BindingTargetRuntime::attachForReadOverride() implementation.
Reimplemented from kanzi::BindingTargetRuntime.
|
overrideprotectedvirtual |
BindingTargetRuntime::attachForWriteOverride() implementation.
Implements kanzi::BindingTargetRuntime.
Reimplemented in kanzi::TypedRenderValueBindingTargetRuntime< T >.
|
overrideprotectedvirtual |
BindingTargetRuntime::detachOverride() implementation.
Implements kanzi::BindingTargetRuntime.
Reimplemented in kanzi::TypedRenderValueBindingTargetRuntime< T >.
|
overrideprotectedvirtual |
BindingTargetRuntime::isConnectedOverride() implementation.
Implements kanzi::BindingTargetRuntime.
|
protected |
Target property type.