The btPoolAllocator class allows to efficiently allocate a large pool of objects, instead of dynamically allocating them separately.
More...
#include <btPoolAllocator.h>
The btPoolAllocator class allows to efficiently allocate a large pool of objects, instead of dynamically allocating them separately.
Definition at line 23 of file btPoolAllocator.h.
btPoolAllocator::btPoolAllocator |
( |
int |
elemSize, |
|
|
int |
maxElements |
|
) |
| |
|
inline |
btPoolAllocator::~btPoolAllocator |
( |
| ) |
|
|
inline |
void* btPoolAllocator::allocate |
( |
int |
size | ) |
|
|
inline |
void btPoolAllocator::freeMemory |
( |
void * |
ptr | ) |
|
|
inline |
int btPoolAllocator::getElementSize |
( |
| ) |
const |
|
inline |
int btPoolAllocator::getFreeCount |
( |
| ) |
const |
|
inline |
int btPoolAllocator::getMaxCount |
( |
| ) |
const |
|
inline |
unsigned char* btPoolAllocator::getPoolAddress |
( |
| ) |
|
|
inline |
const unsigned char* btPoolAllocator::getPoolAddress |
( |
| ) |
const |
|
inline |
int btPoolAllocator::getUsedCount |
( |
| ) |
const |
|
inline |
bool btPoolAllocator::validPtr |
( |
void * |
ptr | ) |
|
|
inline |
int btPoolAllocator::m_elemSize |
|
private |
void* btPoolAllocator::m_firstFree |
|
private |
int btPoolAllocator::m_freeCount |
|
private |
int btPoolAllocator::m_maxElements |
|
private |
unsigned char* btPoolAllocator::m_pool |
|
private |
The documentation for this class was generated from the following file: