![]() |
OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Definition of a pool of resources, which users can use to reuse similar resources many times without destroying and recreating them. More...
#include <OgreResourceManager.h>
Public Member Functions | |
ResourcePool (const String &name) | |
~ResourcePool () | |
virtual void | addItem (const ResourcePtr &i) |
Add a new item to the pool. | |
void | clear () |
Clear the pool. | |
const String & | getName () const |
Get the name of the pool. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
virtual std::pair< bool, ResourcePtr > | removeItem () |
Get the next item from the pool. | |
Definition of a pool of resources, which users can use to reuse similar resources many times without destroying and recreating them.
Ogre::ResourceManager::ResourcePool::~ResourcePool | ( | ) |
|
inlinevirtualinherited |
Add a new item to the pool.
|
virtual |
Clear the pool.
Reimplemented from Ogre::Pool< ResourcePtr >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
|
inlinevirtualinherited |
Get the next item from the pool.