OGRE-Next
3.0.0
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. More... | |
virtual void | clear () |
Clear the pool. More... | |
virtual std::pair< bool, T > | removeItem () |
Get the next item from the pool. More... | |
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.