OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Template class describing a simple pool of items. More...
#include <OgreResourceManager.h>
Public Member Functions | |
Pool () | |
virtual | ~Pool () |
virtual void | addItem (const T &i) |
Add a new item to the pool. | |
virtual void | clear () |
Clear the pool. | |
virtual std::pair< bool, T > | removeItem () |
Get the next item from the pool. | |
|
inline |
Get the next item from the pool.
Add a new item to the pool.
Clear the pool.
Reimplemented in Ogre::ResourceManager::ResourcePool.