API Documentation
Loading...
Searching...
No Matches
ResourceBase Class Reference

A base class for templated resources. More...

#include <ResourceListener.h>

Inheritance diagram for ResourceBase:
[legend]
Collaboration diagram for ResourceBase:
[legend]

Public Member Functions

ResourceListeneraddListener (ResourceListener *listener) const
 
void addListener (ResourceListener *listener, bool silent_add) const
 
void refreshListeners ()
 
void removeListener (ResourceListener *listener) const
 
 ResourceBase ()
 
 ResourceBase (const ResourceBase &value)
 
virtual ~ResourceBase ()
 

Protected Attributes

Buffer< ResourceListener * > m_listeners
 

Detailed Description

A base class for templated resources.


Constructor & Destructor Documentation

◆ ResourceBase() [1/2]

◆ ResourceBase() [2/2]

ResourceBase ( const ResourceBase & value)
explicit

◆ ~ResourceBase()

virtual ~ResourceBase ( )
virtual

Member Function Documentation

◆ addListener() [1/2]

ResourceListener * addListener ( ResourceListener * listener) const

◆ addListener() [2/2]

void addListener ( ResourceListener * listener,
bool silent_add ) const

◆ refreshListeners()

void refreshListeners ( )

◆ removeListener()

void removeListener ( ResourceListener * listener) const

Member Data Documentation

◆ m_listeners

Buffer<ResourceListener*> m_listeners
mutableprotected

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