#include <MemoryManager.h>
Abstraction of memory management. Default implementation uses G3D::System::malloc and is threadsafe.
- See also
- LargePoolMemoryManager, CRTMemoryManager, AlignedMemoryManager, AreaMemoryManager
G3D::MemoryManager::MemoryManager |
( |
| ) |
|
|
protected |
void * G3D::MemoryManager::alloc |
( |
size_t |
s | ) |
|
|
virtual |
Return the instance. There's only one instance of the default MemoryManager; it is cached after the first creation.
shared_ptr< class MemoryManager > Ref
Definition: MemoryManager.h:31
MemoryManager()
Definition: MemoryManager.cpp:17
void G3D::MemoryManager::free |
( |
void * |
ptr | ) |
|
|
virtual |
bool G3D::MemoryManager::isThreadsafe |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: