Kanzi 3.9.10
kanzi::ResourceBindingSource Class Reference

Resource binding source. More...

#include <kanzi/core.ui/binding/resource_binding_source.hpp>

Inheritance diagram for kanzi::ResourceBindingSource:
[legend]

Public Member Functions

ResourceID getResourceID () const
 Gets the source object path.
 
- Public Member Functions inherited from kanzi::BindingSource
BindingSourceRuntimePtr createRuntime ()
 Creates binding source runtime.
 
virtual ~BindingSource ()
 Destructor.
 

Static Public Member Functions

static BindingSourcePtr create (ResourceID id)
 Creates a resource binding source.
 
static BindingSourcePtr create (string_view id)
 Creates a resource binding source.
 

Protected Member Functions

BindingSourceRuntimePtr createRuntimeOverride () override
 BindingSource::createRuntime implementation.
 
 ResourceBindingSource (ResourceID id)
 Constructor.
 
- Protected Member Functions inherited from kanzi::BindingSource
 BindingSource ()
 Constructor.
 

Protected Attributes

ResourceID m_id
 Path to object to listen to.
 

Detailed Description

Resource binding source.

Used to resolve resource IDs and shortcuts.

Since
Kanzi 3.7.0

Constructor & Destructor Documentation

◆ ResourceBindingSource()

kanzi::ResourceBindingSource::ResourceBindingSource ( ResourceID id)
inlineprotected

Constructor.

Parameters
idResource ID to listen to.

Member Function Documentation

◆ create() [1/2]

static BindingSourcePtr kanzi::ResourceBindingSource::create ( ResourceID id)
static

Creates a resource binding source.

Parameters
idResource ID to listen to.
Returns
The resource binding source.

◆ create() [2/2]

static BindingSourcePtr kanzi::ResourceBindingSource::create ( string_view id)
inlinestatic

Creates a resource binding source.

Parameters
idResource ID to listen to.
Returns
The resource binding source.

◆ getResourceID()

ResourceID kanzi::ResourceBindingSource::getResourceID ( ) const
inline

Gets the source object path.

Returns
Resource ID being listened to.

◆ createRuntimeOverride()

BindingSourceRuntimePtr kanzi::ResourceBindingSource::createRuntimeOverride ( )
overrideprotectedvirtual

Member Data Documentation

◆ m_id

ResourceID kanzi::ResourceBindingSource::m_id
protected

Path to object to listen to.


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