Runtime for object property expression value source. More...
#include <kanzi/core.ui/binding/data_source_expression_value_source_runtime.hpp>
Public Member Functions | |
~DataSourceExpressionValueSourceRuntime () override | |
Destructor. | |
Public Member Functions inherited from kanzi::AbstractExpressionValueSourceRuntime | |
void | attach () |
Attaches this source. | |
void | detach () |
Detaches this source. | |
Variant & | getRegister () |
Gets the variant from this value source. | |
const Variant & | getRegister () const |
Gets the variant from this value source. | |
virtual | ~AbstractExpressionValueSourceRuntime () |
Destructor. | |
Static Public Member Functions | |
static AbstractExpressionValueSourceRuntimePtr | create (const DataSourceExpressionValueSource &source, ExpressionBindingSourceRuntime &host) |
Creates a new data source expression value source runtime. | |
Protected Member Functions | |
void | attachOverride () override |
AbstractExpressionValueSource::attachOverride() implementation. | |
DataSourceExpressionValueSourceRuntime (const DataSourceExpressionValueSource &source, ExpressionBindingSourceRuntime &host) | |
Constructor. | |
void | detachOverride () override |
AbstractExpressionValueSource::detachOverride() implementation. | |
BindingLookupContext & | getLookupContext () |
Gets the binding lookup context. | |
string | getPath () |
Gets the data object path. | |
void | localPropertyChange () override |
ObjectPropertyListenerImpl::localPropertyChange() implementation. | |
void | onDataChanged () |
Called when data source changes. | |
void | onDataObjectChanged () |
Called when data object within data source changes. | |
Protected Member Functions inherited from kanzi::AbstractExpressionValueSourceRuntime | |
AbstractExpressionValueSourceRuntime (ExpressionBindingSourceRuntime &host) | |
Constructor. | |
Protected Member Functions inherited from kanzi::ObjectPropertyListenerImpl< ResourceSharedPtr, PropertyObjectWeakPtr, PropertyObjectSharedPtr > | |
void | attachLocalPropertyListener (PropertyObjectSharedPtr object, AbstractPropertyType propertyType) |
Installs local property listener. | |
void | clearLocalPropertyListener () |
Clears the property listener object. | |
void | detachLocalPropertyListener (AbstractPropertyType propertyType) |
Uninstalls local property listener. | |
PropertyObjectSharedPtr | getLocalPropertyListenerObject () const |
Gets the property object with a local property listener installed. | |
bool | isLocalPropertyListenerInstalled () const |
Tells whether a local property listener has been installed. | |
ObjectPropertyListenerImpl ()=default | |
Constructor. | |
~ObjectPropertyListenerImpl () | |
Destructor. | |
Protected Attributes | |
weak_ptr< DataContext > | m_dataContext |
Data context connected to. | |
weak_ptr< DataObject > | m_dataObject |
Data object connected to. | |
DataObject::ModifiedSubscriptionToken | m_objectSubscription |
Token for data object subscription. | |
const DataSourceExpressionValueSource & | m_source |
Create info containing settings for this source. | |
DataSource::ModifiedSubscriptionToken | m_sourceSubscription |
Token for data object subscription. | |
Protected Attributes inherited from kanzi::AbstractExpressionValueSourceRuntime | |
Variant | m_cachedValue |
Cached value stored. | |
ExpressionBindingSourceRuntime & | m_host |
Host multi binding source. | |
Protected Attributes inherited from kanzi::ObjectPropertyListenerImpl< ResourceSharedPtr, PropertyObjectWeakPtr, PropertyObjectSharedPtr > | |
PropertyObjectWeakPtr | m_localPropertyListenerObject |
The object to which the local property listener has been installed. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from kanzi::ObjectPropertyListenerImpl< ResourceSharedPtr, PropertyObjectWeakPtr, PropertyObjectSharedPtr > | |
static void | localPropertyChangeCallback (PropertyObject &, const ResourceSharedPtr &, PropertyNotificationReason reason, void *userData) |
Property change callback for object property. | |
Runtime for object property expression value source.
|
inlineoverride |
Destructor.
|
inlineprotected |
Constructor.
source | Source for this value source runtime. |
host | Host expression binding source runtime. |
|
static |
Creates a new data source expression value source runtime.
source | Data source for this value source runtime. |
host | Host expression binding source runtime. |
|
protected |
Gets the binding lookup context.
|
protected |
Gets the data object path.
|
protected |
Called when data source changes.
|
protected |
Called when data object within data source changes.
|
overrideprotectedvirtual |
AbstractExpressionValueSource::attachOverride() implementation.
Implements kanzi::AbstractExpressionValueSourceRuntime.
|
overrideprotectedvirtual |
AbstractExpressionValueSource::detachOverride() implementation.
Implements kanzi::AbstractExpressionValueSourceRuntime.
|
overrideprotectedvirtual |
|
protected |
Data object connected to.
|
protected |
Data context connected to.
|
protected |
Token for data object subscription.
|
protected |
Token for data object subscription.
|
protected |
Create info containing settings for this source.