33#include <NDEVR/Buffer.h>
37 class ResourceListener;
71 m_parents.removeElement(info);
75 return m_parents.size();
79 m_is_active = disable;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
A base class for templated resources.
Definition ResourceListener.h:43
ResourceBase(const ResourceBase &value)
ResourceListener * addListener(ResourceListener *listener) const
Buffer< ResourceListener * > m_listeners
Definition ResourceListener.h:54
void addListener(ResourceListener *listener, bool silent_add) const
void removeListener(ResourceListener *listener) const
A class that can subscribe to any number of Resources which will get updates when the Resource(s) hav...
Definition ResourceListener.h:62
void disable(bool disable)
Definition ResourceListener.h:77
uint04 getInfoParentSize() const
Definition ResourceListener.h:73
virtual void removeInfoParent(const ResourceBase *info)
Definition ResourceListener.h:69
virtual ~ResourceListener()
void disconnectListener()
virtual void addInfoParent(const ResourceBase *info)
virtual void onValueChanged()=0
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96