Template class describing a simple pool of items.
More...
#include <OgreResourceManager.h>
template<typename T>
class Ogre::Pool< T >
Template class describing a simple pool of items.
Definition at line 47 of file OgreResourceManager.h.
◆ ItemList
◆ Pool()
◆ ~Pool()
◆ addItem()
template<typename T>
virtual void Ogre::Pool< T >::addItem |
( |
const T & |
i | ) |
|
|
virtual |
◆ clear()
◆ removeItem()
template<typename T>
virtual std::pair<bool, T> Ogre::Pool< T >::removeItem |
( |
| ) |
|
|
virtual |
Get the next item from the pool.
- Returns
- pair indicating whether there was a free item, and the item if so
Definition at line 60 of file OgreResourceManager.h.
◆ mItems
◆ OGRE_AUTO_MUTEX
The documentation for this class was generated from the following file: