Kanzi 3.9.10
kanzi::BindingTriggerLookupContext Class Reference

Binding lookup context for Node. More...

#include <kanzi/core.ui/trigger/binding_trigger_lookup_context.hpp>

Inheritance diagram for kanzi::BindingTriggerLookupContext:
[legend]

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< BindingLookupContextclone ()
 Creates a clone of this binding lookup context.
 
virtual AbstractPropertyTypeDescriptor::ValueSourceOwnercreateValueSourceOwner (ValueSourceBindingTargetRuntime &targetRuntime, bool reuseAllowed)
 Creates an owner for the specific type of object with which this binding lookup context is associated.
 
virtual voidlookupRaw (string_view path)
 Looks up object by path.
 
virtual void registerGlobalNotification (string_view path, BindingLookupNotificationBase &notificationObject)
 Registers for a notification regarding global change.
 
virtual void registerLocalNotification (PropertyObject *object, string_view path, BindingLookupNotificationBase &notificationObject)
 Registers for a notification regarding global change.
 
virtual void unregisterGlobalNotification (string_view path, BindingLookupNotificationBase &notificationObject)
 De-registers a notification regarding global change.
 
virtual void unregisterLocalNotification (PropertyObject *object, string_view path, BindingLookupNotificationBase &notificationObject)
 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.
 

Detailed Description

Binding lookup context for Node.

Constructor & Destructor Documentation

◆ BindingTriggerLookupContext()

kanzi::BindingTriggerLookupContext::BindingTriggerLookupContext ( Trigger * trigger)
inlineexplicitprotected

Constructor.

Parameters
triggerThe trigger to use as base for lookup.

Member Function Documentation

◆ create()

static BindingLookupContextPtr kanzi::BindingTriggerLookupContext::create ( Trigger * trigger)
static

Creates a binding lookup context for given trigger.

Parameters
triggerTrigger to use as base for lookup.
Returns
Newly created trigger lookup context.

◆ lookup()

ObjectSharedPtr kanzi::BindingTriggerLookupContext::lookup ( string_view path)
overridevirtual

◆ setTrigger()

void kanzi::BindingTriggerLookupContext::setTrigger ( Trigger * trigger)
inline

Replaces the trigger used as base.

Parameters
triggerNew trigger.

The documentation for this class was generated from the following file: