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.
◆ Pool()
◆ ~Pool()
◆ addItem()
template<typename T>
virtual void Ogre::Pool< T >::addItem |
( |
const T & |
i | ) |
|
|
inlinevirtual |
Add a new item to the pool.
◆ clear()
◆ removeItem()
template<typename T>
virtual std::pair<bool, T> Ogre::Pool< T >::removeItem |
( |
| ) |
|
|
inlinevirtual |
Get the next item from the pool.
- Returns
- pair indicating whether there was a free item, and the item if so
The documentation for this class was generated from the following file: