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... | |
Protected Types | |
typedef list< T >::type | ItemList |
Protected Attributes | |
ItemList | mItems |
OGRE_AUTO_MUTEX | |
Template class describing a simple pool of items.
Definition at line 47 of file OgreResourceManager.h.
|
protected |
Definition at line 50 of file OgreResourceManager.h.
Ogre::Pool< T >::Pool | ( | ) |
Definition at line 54 of file OgreResourceManager.h.
|
virtual |
Definition at line 55 of file OgreResourceManager.h.
|
virtual |
Add a new item to the pool.
Definition at line 79 of file OgreResourceManager.h.
|
virtual |
Clear the pool.
Reimplemented in Ogre::ResourceManager::ResourcePool.
Definition at line 85 of file OgreResourceManager.h.
|
virtual |
Get the next item from the pool.
Definition at line 60 of file OgreResourceManager.h.
|
protected |
Definition at line 51 of file OgreResourceManager.h.
Referenced by Ogre::Pool< ResourcePtr >::addItem(), Ogre::Pool< ResourcePtr >::clear(), and Ogre::Pool< ResourcePtr >::removeItem().
|
protected |
Definition at line 52 of file OgreResourceManager.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Mar 18 2014 19:15:56