|
OGRE
1.9.0
|
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) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz) |
| 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, 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 *ptr) |
| placement operator new | |
| void * | operator new[] (size_t sz) |
| 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 | |
| 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. | |
Protected Types | |
| typedef list< ResourcePtr >::type | ItemList |
Protected Attributes | |
| ItemList | mItems |
| String | mName |
| OGRE_AUTO_MUTEX | |
Definition of a pool of resources, which users can use to reuse similar resources many times without destroying and recreating them.
Definition at line 478 of file OgreResourceManager.h.
|
protectedinherited |
Definition at line 50 of file OgreResourceManager.h.
| Ogre::ResourceManager::ResourcePool::ResourcePool | ( | const String & | name | ) |
| Ogre::ResourceManager::ResourcePool::~ResourcePool | ( | ) |
|
virtualinherited |
Add a new item to the pool.
Definition at line 79 of file OgreResourceManager.h.
|
virtual |
Clear the pool.
Reimplemented from Ogre::Pool< ResourcePtr >.
| const String & Ogre::ResourceManager::ResourcePool::getName | ( | ) | const |
Get the name of the pool.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
virtualinherited |
Get the next item from the pool.
Definition at line 60 of file OgreResourceManager.h.
|
protectedinherited |
Definition at line 51 of file OgreResourceManager.h.
|
protected |
Definition at line 481 of file OgreResourceManager.h.
|
protectedinherited |
Definition at line 52 of file OgreResourceManager.h.
1.13.2