Typed runtime for object property expression value source. More...
#include <kanzi/core.ui/binding/typed_object_property_expression_value_source_runtime.hpp>
Public Member Functions | |
~TypedObjectPropertyExpressionValueSourceRuntime () override | |
Destructor. | |
Public Member Functions inherited from kanzi::ObjectPropertyExpressionValueSourceRuntime | |
string | getPath () const |
Gets source path. | |
PropertyField | getPropertyField () const |
Gets property field. | |
AbstractPropertyType | getPropertyType () const |
Gets property type. | |
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. | |
Public Member Functions inherited from kanzi::BindingLookupNotificationBase | |
void | clearLocalNotificationFlag () |
Clears local notification flag. | |
bool | isGlobalNotificationInstalled () const |
Tells if this a global notification has been registered. | |
bool | isLocalNotificationInstalled () const |
Tells if this a local notification has been registered. | |
void | registerGlobalNotification (BindingLookupContext &lookupContext, string_view path) |
Installs a global notification listener. | |
void | registerLocalNotification (BindingLookupContext &lookupContext, PropertyObject &object, string_view path) |
Installs a local notification listener. | |
void | registerLocalNotification (BindingLookupContext &lookupContext, PropertyObject *object, string_view path) |
Installs a local notification listener. | |
void | unregisterGlobalNotification (BindingLookupContext &lookupContext, string_view path) |
Uninstalls a global notification listener. | |
void | unregisterLocalNotification (BindingLookupContext &lookupContext, PropertyObject &object, string_view path) |
Removes a local notification listener. | |
void | unregisterLocalNotification (BindingLookupContext &lookupContext, PropertyObject *object, string_view path) |
Removes a local notification listener. | |
~BindingLookupNotificationBase () | |
Destructor. | |
Static Public Member Functions | |
static AbstractExpressionValueSourceRuntimePtr | create (ObjectPropertyExpressionValueSource &valueSource, ExpressionBindingSourceRuntime &sourceRuntime) |
Create a typed object property expression value source runtime. | |
Protected Types | |
using | ObjectPropertyListenerType |
Type name for object property listener. | |
Protected Member Functions | |
void | attachOverride () override |
AbstractExpressionValueSource::attachOverride() implementation. | |
void | detachOverride () override |
AbstractExpressionValueSource::detachOverride() implementation. | |
void | localPropertyChange () override |
ObjectPropertyListenerImpl::localPropertyChange() implementation. | |
void | onGlobalLookupNotification () override |
BindingLookupNotificationImpl::onGlobalLookupNotification() implementation. | |
void | onLocalLookupNotification () override |
BindingLookupNotificationImpl::onLocalLookupNotification() implementation. | |
void | readValue (const PropertyObject &object) |
Performs the value read for this source. | |
TypedObjectPropertyExpressionValueSourceRuntime (ObjectPropertyExpressionValueSource &source, ExpressionBindingSourceRuntime &host) | |
Constructor. | |
Protected Member Functions inherited from kanzi::ObjectPropertyExpressionValueSourceRuntime | |
BindingLookupContext & | getLookupContext () |
Gets the binding lookup context. | |
ObjectPropertyExpressionValueSourceRuntime (const ObjectPropertyExpressionValueSource &source, ExpressionBindingSourceRuntime &host) | |
Constructor. | |
Protected Member Functions inherited from kanzi::AbstractExpressionValueSourceRuntime | |
AbstractExpressionValueSourceRuntime (ExpressionBindingSourceRuntime &host) | |
Constructor. | |
Protected Member Functions inherited from kanzi::BindingLookupNotificationBase | |
BindingLookupNotificationBase () | |
Constructor. | |
Protected Member Functions inherited from kanzi::ObjectPropertyListenerImpl< T, PropertyObject *, PropertyObject & > | |
void | attachLocalPropertyListener (PropertyObject & object, AbstractPropertyType propertyType) |
Installs local property listener. | |
void | clearLocalPropertyListener () |
Clears the property listener object. | |
void | detachLocalPropertyListener (AbstractPropertyType propertyType) |
Uninstalls local property listener. | |
PropertyObject & | 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. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from kanzi::ObjectPropertyListenerImpl< T, PropertyObject *, PropertyObject & > | |
static void | localPropertyChangeCallback (PropertyObject &, const T &, PropertyNotificationReason reason, void *userData) |
Property change callback for object property. | |
Protected Attributes inherited from kanzi::ObjectPropertyExpressionValueSourceRuntime | |
PropertyObjectWeakPtr | m_object |
Property object attached to. | |
const ObjectPropertyExpressionValueSource & | m_source |
The Object Property expression value source of this runtime. | |
Protected Attributes inherited from kanzi::AbstractExpressionValueSourceRuntime | |
Variant | m_cachedValue |
Cached value stored. | |
ExpressionBindingSourceRuntime & | m_host |
Host multi binding source. | |
Protected Attributes inherited from kanzi::BindingLookupNotificationBase | |
bool | m_globalNotificationInstalled |
Is the global notification listener installed? | |
bool | m_localNotificationInstalled |
Is the local notification listener installed? | |
Protected Attributes inherited from kanzi::ObjectPropertyListenerImpl< T, PropertyObject *, PropertyObject & > | |
PropertyObject * | m_localPropertyListenerObject |
The object to which the local property listener has been installed. | |
Typed runtime for object property expression value source.
|
protected |
Type name for object property listener.
|
inlineoverride |
Destructor.
|
inlineexplicitprotected |
Constructor.
source | Source for this value source runtime. |
host | Host expression binding source runtime. |
|
inlinestatic |
Create a typed object property expression value source runtime.
valueSource | Source for this value source runtime. |
sourceRuntime | Host expression binding source runtime. |
|
inlineprotected |
Performs the value read for this source.
object | Object to read from. |
|
inlineoverrideprotectedvirtual |
AbstractExpressionValueSource::attachOverride() implementation.
Implements kanzi::AbstractExpressionValueSourceRuntime.
|
inlineoverrideprotectedvirtual |
AbstractExpressionValueSource::detachOverride() implementation.
Implements kanzi::AbstractExpressionValueSourceRuntime.
|
inlineoverrideprotectedvirtual |
BindingLookupNotificationImpl::onGlobalLookupNotification() implementation.
Implements kanzi::BindingLookupNotificationBase.
|
inlineoverrideprotectedvirtual |
BindingLookupNotificationImpl::onLocalLookupNotification() implementation.
Implements kanzi::BindingLookupNotificationBase.
|
inlineoverrideprotectedvirtual |