Kanzi  3.9.7
Kanzi Engine API
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. More...
 
- Public Member Functions inherited from kanzi::BindingSource
BindingSourceRuntimePtr createRuntime ()
 Creates binding source runtime. More...
 
virtual ~BindingSource ()
 Destructor. More...
 

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

ResourceID m_id
 Path to object to listen to. More...
 

Detailed Description

Resource binding source.

Used to resolve resource IDs and shortcuts.

Since
Kanzi 3.7.0

Constructor & Destructor Documentation

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

Constructor.

Parameters
idResource ID to listen to.

Member Function Documentation

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

Creates a resource binding source.

Parameters
idResource ID to listen to.
Returns
The resource binding source.
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.
ResourceID kanzi::ResourceBindingSource::getResourceID ( ) const
inline

Gets the source object path.

Returns
Resource ID being listened to.
BindingSourceRuntimePtr kanzi::ResourceBindingSource::createRuntimeOverride ( )
overrideprotectedvirtual

Member Data Documentation

ResourceID kanzi::ResourceBindingSource::m_id
protected

Path to object to listen to.


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