Kanzi 3.9.10
kanzi::AbstractResourceReference Class Referenceabstract

#include <kanzi/core.ui/node/abstract_resource_reference.hpp>

Inheritance diagram for kanzi::AbstractResourceReference:
[legend]

Public Member Functions

virtual void attachOverride ()=0
 
virtual void detachOverride ()=0
 
virtual ResourceSharedPtr getResource ()=0
 
bool isAttached () const
 Indicates whether this resource reference has been attached.
 
virtual void onResourceChangeOverride ()=0
 

Protected Member Functions

virtual ~AbstractResourceReference ()=default
 Destructor.
 

Protected Attributes

bool m_attached
 Current resource reference state. Note that attach() is only called once.
 

Constructor & Destructor Documentation

◆ ~AbstractResourceReference()

virtual kanzi::AbstractResourceReference::~AbstractResourceReference ( )
protectedvirtualdefault

Destructor.

Member Function Documentation

◆ attachOverride()

virtual void kanzi::AbstractResourceReference::attachOverride ( )
pure virtual

◆ onResourceChangeOverride()

virtual void kanzi::AbstractResourceReference::onResourceChangeOverride ( )
pure virtual

◆ detachOverride()

virtual void kanzi::AbstractResourceReference::detachOverride ( )
pure virtual

◆ getResource()

virtual ResourceSharedPtr kanzi::AbstractResourceReference::getResource ( )
pure virtual

◆ isAttached()

bool kanzi::AbstractResourceReference::isAttached ( ) const
inline

Indicates whether this resource reference has been attached.

Returns
True if attached, false if not.

Member Data Documentation

◆ m_attached

bool kanzi::AbstractResourceReference::m_attached
protected

Current resource reference state. Note that attach() is only called once.


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