Runtime for ToSourceBinding.
More...
#include <kanzi/core.ui/binding/to_source_binding_runtime.hpp>
|
void | attachOverride () override |
| AbstractBindingRuntime::attachOverride() implementation.
|
|
void | detachOverride () override |
| AbstractBindingRuntime::detachOverride() implementation.
|
|
bool | isConnectedOverride () override |
| AbstractBindingRuntime::isConnectedOverride() implementation.
|
|
void | notifySourceChangedOverride () override |
| AbstractBindingRuntime::notifySourceChangedOverride() implementation.
|
|
void | notifyTargetChangedOverride () override |
| AbstractBindingRuntime::notifyTargetChangedOverride() implementation.
|
|
| ToSourceBindingRuntime (ToSourceBindingSharedPtr toSourceBinding, BindingLookupContextPtr lookupContext, BindingSourceRuntimePtr sourceRuntime, BindingSourceRuntimePtr pushSourceRuntime, BindingTargetRuntimePtr targetRuntime) |
| Constructor.
|
|
bool | updateOverride () override |
| AbstractBindingRuntime::updateOverride() implementation.
|
|
bool | writeToSource (const Variant &value) const |
| Writes to push source.
|
|
| BindingBaseRuntime (AbstractBindingSharedPtr binding, BindingLookupContextPtr lookupContext, BindingSourceRuntimePtr sourceRuntime, BindingTargetRuntimePtr targetRuntime) |
| Constructor.
|
|
| AbstractBindingRuntime (AbstractBindingSharedPtr binding, BindingLookupContextPtr lookupContext, BindingSourceRuntimePtr sourceRuntime, BindingTargetRuntimePtr targetRuntime) |
| Constructor.
|
|
bool | readFromSource (Variant &value) |
| Read from source and execute forward validators.
|
|
bool | readFromTarget (Variant &value) |
| Reads from target and executes reverse validators.
|
|
bool | writeToSource (const Variant &value) const |
| Writes to source.
|
|
bool | writeToTarget (const Variant &value) |
| Write to target.
|
|
Runtime for ToSourceBinding.
- See also
- AbstractBinding
- Since
- Kanzi 3.7.0
◆ ToSourceBindingRuntime()
Constructor.
- Parameters
-
toSourceBinding | The To Source binding that created this runtime. |
lookupContext | Binding lookup context. |
sourceRuntime | Runtime created for binding source. |
pushSourceRuntime | Runtime for push source. |
targetRuntime | Runtime created for binding target. |
- Since
- Kanzi 3.9.6 Added BindingLookupContextPtr.
◆ create()
Creates a To Source binding runtime.
- Parameters
-
toSourceBinding | Host binding. |
lookupContext | Binding lookup context. |
sourceRuntime | Binding source runtime. |
pushSourceRuntime | Runtime for push source. |
targetRuntime | Binding target runtime. |
- Returns
- The created runtime for a To Source binding.
- Since
- Kanzi 3.9.6 Added BindingLookupContextPtr.
◆ getPushSourceRuntime()
Gets the runtime for the push source.
- Returns
- Pointer to push source runtime.
◆ writeToSource()
bool kanzi::ToSourceBindingRuntime::writeToSource |
( |
const Variant & | value | ) |
const |
|
protected |
Writes to push source.
- Parameters
-
- Returns
- If the write succeeds, true, otherwise false.
◆ attachOverride()
void kanzi::ToSourceBindingRuntime::attachOverride |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ detachOverride()
void kanzi::ToSourceBindingRuntime::detachOverride |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ updateOverride()
bool kanzi::ToSourceBindingRuntime::updateOverride |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ notifySourceChangedOverride()
void kanzi::ToSourceBindingRuntime::notifySourceChangedOverride |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ notifyTargetChangedOverride()
void kanzi::ToSourceBindingRuntime::notifyTargetChangedOverride |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ isConnectedOverride()
bool kanzi::ToSourceBindingRuntime::isConnectedOverride |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ m_pushSourceRuntime
The documentation for this class was generated from the following file: