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