OGRE 2.1
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. | |
Template class describing a simple pool of items.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Add a new item to the pool.
References OGRE_LOCK_AUTO_MUTEX.
|
inlinevirtual |
Clear the pool.
Reimplemented in Ogre::ResourceManager::ResourcePool.
References OGRE_LOCK_AUTO_MUTEX.
|
inlinevirtual |
Get the next item from the pool.
References OGRE_LOCK_AUTO_MUTEX.