Abstract interface for VariableBindingSources and VariableExpressionValueSource. More...
#include <kanzi/core.ui/binding/abstract_binding_variable_source.hpp>
Public Member Functions | |
| AbstractPropertyType | getPropertyType () const |
| Gets the associated property type for this variable source. | |
| void | notifyVariableAvailable () |
| Notification function for when variable has become available or has been changed. | |
| void | notifyVariableDetached () |
| Notification function for when variable has become detached and is no longer available. | |
| void | setTargetRuntime (VariableBindingTargetRuntime *targetRuntime) |
| Sets the variable binding target runtime. | |
Protected Member Functions | |
| virtual AbstractPropertyType | getPropertyTypeOverride () const =0 |
| Implementation-dependent property type acquire. | |
| virtual void | notifyVariableAvailableOverride ()=0 |
| Implementation-dependent notification of variable being available or having been changed. | |
| virtual void | notifyVariableDetachedOverride ()=0 |
| Implementation-dependent notification of variable becoming detached. | |
Protected Attributes | |
| VariableBindingTargetRuntime * | m_targetRuntime |
| Currently connected target runtime. | |
Abstract interface for VariableBindingSources and VariableExpressionValueSource.
Implements notification interface for VariableBindingTarget state changes being notified to connected sources.
|
inline |
Sets the variable binding target runtime.
Only called by VariableBindingTargetRuntime upon connection and disconnection.
| targetRuntime | Variable target runtime connected to. |
|
inline |
Gets the associated property type for this variable source.
|
inline |
Notification function for when variable has become available or has been changed.
Called by VariableBindingTargetRuntime for each connected variable source.
|
inline |
Notification function for when variable has become detached and is no longer available.
Called by VariableBindingTargetRuntime for each connected variable source.
|
protectedpure virtual |
Implementation-dependent property type acquire.
Implemented in kanzi::VariableBindingSourceRuntime, and kanzi::VariableExpressionValueSourceRuntime.
|
protectedpure virtual |
Implementation-dependent notification of variable being available or having been changed.
Implemented in kanzi::TypedVariableExpressionValueSourceRuntime< T >, and kanzi::VariableBindingSourceRuntime.
|
protectedpure virtual |
Implementation-dependent notification of variable becoming detached.
Implemented in kanzi::TypedVariableExpressionValueSourceRuntime< T >, and kanzi::VariableBindingSourceRuntime.
|
protected |
Currently connected target runtime.