24.08
|
#include <SampleMemoryManager.hpp>
Classes | |
class | Pool |
Public Member Functions | |
SampleMemoryManager () | |
virtual | ~SampleMemoryManager () |
Pool * | Manage (unsigned int numBytes) |
void | Allocate (Pool *pool) |
void * | GetPointer (Pool *pool) |
void | Acquire () override |
void | Release () override |
Public Member Functions inherited from IMemoryManager | |
virtual | ~IMemoryManager () |
Additional Inherited Members | |
Protected Member Functions inherited from IMemoryManager | |
IMemoryManager () | |
Definition at line 16 of file SampleMemoryManager.hpp.
Definition at line 13 of file SampleMemoryManager.cpp.
|
virtual |
Definition at line 16 of file SampleMemoryManager.cpp.
|
overridevirtual |
Implements IMemoryManager.
Definition at line 45 of file SampleMemoryManager.cpp.
void Allocate | ( | SampleMemoryManager::Pool * | pool | ) |
Definition at line 35 of file SampleMemoryManager.cpp.
void * GetPointer | ( | SampleMemoryManager::Pool * | pool | ) |
Definition at line 40 of file SampleMemoryManager.cpp.
References SampleMemoryManager::Pool::GetPointer().
SampleMemoryManager::Pool * Manage | ( | unsigned int | numBytes | ) |
Definition at line 19 of file SampleMemoryManager.cpp.
References SampleMemoryManager::Pool::Reserve().
|
overridevirtual |
Implements IMemoryManager.
Definition at line 53 of file SampleMemoryManager.cpp.
Referenced by SampleMemoryManager::Pool::~Pool().