#include <kanzi/core.ui/node/abstract_resource_reference.hpp>
Public Types | |
typedef function< void()> | CallbackType |
typedef shared_ptr< TResourceType > | ResourceTypePtr |
Public Member Functions | |
operator bool_type () const | |
ResourceReference (Node &thisObject, AbstractPropertyType propertyType) | |
~ResourceReference () | |
virtual void | onIdChanged () KZ_OVERRIDE |
virtual void | onResourceChanged () KZ_OVERRIDE |
virtual void | release () KZ_OVERRIDE |
virtual ResourceSharedPtr | getResource () KZ_OVERRIDE |
ResourceTypePtr | makeLocal () |
Clone reference to be an internal copy. More... | |
void | setCallback (CallbackType callback) |
ResourceTypePtr | get () const |
TResourceType * | operator-> () const |
TResourceType & | operator* () const |
Protected Member Functions | |
ResourceTypePtr & | resolve () |
const ResourceTypePtr & | resolve () const |
void | updateResource () |
void | updateChangeFlags () const |
void | notifyCallback () |
Protected Member Functions inherited from kanzi::AbstractResourceReference | |
virtual | ~AbstractResourceReference () |
typedef function<void()> kanzi::ResourceReference< TResourceType >::CallbackType |
typedef shared_ptr<TResourceType> kanzi::ResourceReference< TResourceType >::ResourceTypePtr |
|
explicit |
kanzi::ResourceReference< TResourceType >::~ResourceReference | ( | ) |
|
inline |
|
inlinevirtual |
Implements kanzi::AbstractResourceReference.
|
inlinevirtual |
Implements kanzi::AbstractResourceReference.
|
inlinevirtual |
Implements kanzi::AbstractResourceReference.
|
inlinevirtual |
Implements kanzi::AbstractResourceReference.
|
inline |
Clone reference to be an internal copy.
Default implementation clones nothing, and returns an empty shared pointer.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
inlineprotected |