Binding lookup context for Node. More...
#include <kanzi/core.ui/trigger/binding_trigger_lookup_context.hpp>
Public Member Functions | |
ObjectSharedPtr | lookup (string_view path) override |
BindingLookupContext::lookup() implementation. | |
void | setTrigger (Trigger *trigger) |
Replaces the trigger used as base. | |
Public Member Functions inherited from kanzi::BindingLookupContext | |
virtual unique_ptr< BindingLookupContext > | clone () |
Creates a clone of this binding lookup context. | |
virtual AbstractPropertyTypeDescriptor::ValueSourceOwner * | createValueSourceOwner (ValueSourceBindingTargetRuntime &targetRuntime, bool reuseAllowed) |
Creates an owner for the specific type of object with which this binding lookup context is associated. | |
virtual void * | lookupRaw (string_view path) |
Looks up object by path. | |
virtual void | registerGlobalNotification (string_view path, BindingLookupNotificationBase ¬ificationObject) |
Registers for a notification regarding global change. | |
virtual void | registerLocalNotification (PropertyObject *object, string_view path, BindingLookupNotificationBase ¬ificationObject) |
Registers for a notification regarding global change. | |
virtual void | unregisterGlobalNotification (string_view path, BindingLookupNotificationBase ¬ificationObject) |
De-registers a notification regarding global change. | |
virtual void | unregisterLocalNotification (PropertyObject *object, string_view path, BindingLookupNotificationBase ¬ificationObject) |
De-registers a notification regarding global change. | |
virtual | ~BindingLookupContext ()=default |
Destructor. | |
Static Public Member Functions | |
static BindingLookupContextPtr | create (Trigger *trigger) |
Creates a binding lookup context for given trigger. | |
Protected Member Functions | |
BindingTriggerLookupContext (Trigger *trigger) | |
Constructor. | |
Protected Member Functions inherited from kanzi::BindingLookupContext | |
BindingLookupContext ()=default | |
Constructor. | |
|
inlineexplicitprotected |
Constructor.
trigger | The trigger to use as base for lookup. |
|
static |
Creates a binding lookup context for given trigger.
trigger | Trigger to use as base for lookup. |
|
overridevirtual |
BindingLookupContext::lookup() implementation.
Implements kanzi::BindingLookupContext.
Replaces the trigger used as base.
trigger | New trigger. |