Kanzi  3.9.9
Kanzi Engine C++ API
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. More...
 
void setTrigger (Trigger *trigger)
 Replaces the trigger used as base. More...
 
- Public Member Functions inherited from kanzi::BindingLookupContext
virtual unique_ptr< BindingLookupContextclone ()
 Creates a clone of this binding lookup context. More...
 
virtual AbstractPropertyTypeDescriptor::ValueSourceOwnercreateValueSourceOwner (ValueSourceBindingTargetRuntime &targetRuntime, bool reuseAllowed)
 Creates an owner for the specific type of object with which this binding lookup context is associated. More...
 
virtual void * lookupRaw (string_view path)
 Looks up object by path. More...
 
virtual void registerGlobalNotification (string_view path, BindingLookupNotificationBase &notificationObject)
 Registers for a notification regarding global change. More...
 
virtual void registerLocalNotification (PropertyObject *object, string_view path, BindingLookupNotificationBase &notificationObject)
 Registers for a notification regarding global change. More...
 
virtual void unregisterGlobalNotification (string_view path, BindingLookupNotificationBase &notificationObject)
 De-registers a notification regarding global change. More...
 
virtual void unregisterLocalNotification (PropertyObject *object, string_view path, BindingLookupNotificationBase &notificationObject)
 De-registers a notification regarding global change. More...
 
virtual ~BindingLookupContext ()=default
 Destructor. More...
 

Static Public Member Functions

static BindingLookupContextPtr create (Trigger *trigger)
 Creates a binding lookup context for given trigger. More...
 

Protected Member Functions

 BindingTriggerLookupContext (Trigger *trigger)
 Constructor. More...
 
- Protected Member Functions inherited from kanzi::BindingLookupContext
 BindingLookupContext ()=default
 Constructor. More...
 

Detailed Description

Binding lookup context for Node.

Constructor & Destructor Documentation

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

Constructor.

Parameters
triggerThe trigger to use as base for lookup.

Member Function Documentation

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.
ObjectSharedPtr kanzi::BindingTriggerLookupContext::lookup ( string_view  path)
overridevirtual
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: