Runtime for ToSourceBinding. More...
#include <kanzi/core.ui/binding/to_source_binding_runtime.hpp>
Public Member Functions | |
| BindingSourceRuntime * | getPushSourceRuntime () const |
| Gets the runtime for the push source. More... | |
Public Member Functions inherited from kanzi::AbstractBindingRuntime | |
| void | attach () |
| Attach the binding. More... | |
| void | detach () |
| Detaches the binding. More... | |
| void | detachIfAttachedOrAttaching () |
| Detaches the binding if it is attaching or attached. More... | |
| AbstractBindingSharedPtr | getBinding () const |
| Returns the binding associated with this binding runtime. More... | |
| shared_ptr< void > | getOwner () const |
| Gets the owner. More... | |
| BindingSourceRuntime * | getSourceRuntime () const |
| Gets the source runtime. More... | |
| BindingTargetRuntime * | getTargetRuntime () const |
| Gets the target runtime. More... | |
| bool | isAttached () const |
| Indicates whether this binding runtime has been attached. More... | |
| bool | isAttaching () const |
| Indicates whether this binding runtime is being attached. More... | |
| bool | isConnected () |
| Indicates whether this binding runtime is connected. More... | |
| bool | isDetached () const |
| Indicates whether this binding runtime is detached. More... | |
| bool | isDetaching () const |
| Indicates whether this binding runtime is being detached. More... | |
| bool | isRemoved () const |
| Gets whether the binding runtime has been removed from the binding host. More... | |
| void | notifySourceChanged () |
| Called when binding source has changed. More... | |
| void | notifyTargetChanged () |
| Called when binding target has changed. More... | |
| void | onRemoved () |
| Called when binding is being removed from where it has been installed. More... | |
| void | removeFromHost () |
| Removes the binding runtime from the binding host. More... | |
| void | setHost (BindingHostConceptSharedPtr hostObject) |
| Sets the binding host object in which the binding runtime is hosted. More... | |
| void | setOwner (shared_ptr< void > owner) |
| Set the owner. More... | |
| bool | update () |
| Execute the binding. More... | |
| virtual | ~AbstractBindingRuntime () |
| Destructor. More... | |
Static Public Member Functions | |
| static ToSourceBindingRuntimeSharedPtr | create (ToSourceBindingSharedPtr toSourceBinding, BindingSourceRuntimePtr sourceRuntime, BindingSourceRuntimePtr pushSourceRuntime, BindingTargetRuntimePtr targetRuntime) |
| Creates a To Source binding runtime. More... | |
Protected Attributes | |
| BindingSourceRuntimePtr | m_pushSourceRuntime |
| Runtime for push source. More... | |
Protected Attributes inherited from kanzi::BindingBaseRuntime | |
| bool | m_updateInProgress |
| Flag for update being in progress. More... | |
Protected Attributes inherited from kanzi::AbstractBindingRuntime | |
| AttachmentState | m_attachmentState |
| Current binding runtime state. More... | |
| AbstractBindingSharedPtr | m_binding |
| Associated binding. More... | |
| BindingHostConceptWeakPtr | m_bindingHost |
| The binding host object in which the binding runtime is hosted. More... | |
| weak_ptr< void > | m_owner |
| Owner for tagging the runtime. More... | |
| BindingSourceRuntimePtr | m_sourceRuntime |
| Runtime for source. More... | |
| BindingTargetRuntimePtr | m_targetRuntime |
| Runtime for target. More... | |
Additional Inherited Members | |
Public Types inherited from kanzi::AbstractBindingRuntime | |
| enum | AttachmentState { Detached, Detaching, Attaching, Attached, Removed } |
| Attachment state for keeping track current status. More... | |
|
explicitprotected |
Constructor.
| toSourceBinding | The To Source binding that created this runtime. |
| sourceRuntime | Runtime created for binding source. |
| pushSourceRuntime | Runtime for push source. |
| targetRuntime | Runtime created for binding target. |
|
static |
|
inline |
Gets the runtime for the push source.
|
protected |
Writes to push source.
| value | The value to write. |
|
overrideprotectedvirtual |
AbstractBindingRuntime::attachOverride() implementation.
Reimplemented from kanzi::BindingBaseRuntime.
|
overrideprotectedvirtual |
AbstractBindingRuntime::detahOverride() implementation.
Reimplemented from kanzi::BindingBaseRuntime.
|
overrideprotectedvirtual |
AbstractBindingRuntime::updateOverride() implementation.
Reimplemented from kanzi::BindingBaseRuntime.
|
overrideprotectedvirtual |
AbstractBindingRuntime::notifySourceChangedOverride() implementation.
Reimplemented from kanzi::AbstractBindingRuntime.
|
overrideprotectedvirtual |
AbstractBindingRuntime::notifyTargetChangedOverride() implementation.
Reimplemented from kanzi::AbstractBindingRuntime.
|
overrideprotectedvirtual |
AbstractBindingRuntime::isConnectedOverride() implementation.
Reimplemented from kanzi::AbstractBindingRuntime.
|
protected |
Runtime for push source.