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>
|
| ResourcePool (const String &name) |
|
| ~ResourcePool () override |
|
virtual void | addItem (const ResourcePtr &i) |
| Add a new item to the pool. More...
|
|
void | clear () override |
| Clear the pool. More...
|
|
const String & | getName () const |
| Get the name of the pool. More...
|
|
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 More...
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new More...
|
|
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 More...
|
|
virtual std::pair< bool, ResourcePtr > | removeItem () |
| Get the next item from the pool. More...
|
|
Definition of a pool of resources, which users can use to reuse similar resources many times without destroying and recreating them.
◆ ResourcePool()
Ogre::ResourceManager::ResourcePool::ResourcePool |
( |
const String & |
name | ) |
|
◆ ~ResourcePool()
Ogre::ResourceManager::ResourcePool::~ResourcePool |
( |
| ) |
|
|
override |
◆ addItem()
Add a new item to the pool.
◆ clear()
void Ogre::ResourceManager::ResourcePool::clear |
( |
| ) |
|
|
overridevirtual |
◆ getName()
const String& Ogre::ResourceManager::ResourcePool::getName |
( |
| ) |
const |
Get the name of the pool.
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
operator new, with debug line info
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
array operator new, with debug line info
◆ removeItem()
Get the next item from the pool.
- Returns
- pair indicating whether there was a free item, and the item if so
The documentation for this class was generated from the following file: