Kanzi  3.9.9
Kanzi Engine C++ API
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. More...
 
virtual void onResourceChangeOverride ()=0
 

Protected Member Functions

virtual ~AbstractResourceReference ()=default
 Destructor. More...
 

Protected Attributes

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

Constructor & Destructor Documentation

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

Destructor.

Member Function Documentation

virtual void kanzi::AbstractResourceReference::attachOverride ( )
pure virtual
virtual void kanzi::AbstractResourceReference::onResourceChangeOverride ( )
pure virtual
virtual void kanzi::AbstractResourceReference::detachOverride ( )
pure virtual
virtual ResourceSharedPtr kanzi::AbstractResourceReference::getResource ( )
pure virtual
bool kanzi::AbstractResourceReference::isAttached ( ) const
inline

Indicates whether this resource reference has been attached.

Returns
True if attached, false if not.

Member Data Documentation

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: