btGenericPoolAllocator Class Reference
Generic Allocator with pools.
More...
#include <btGenericPoolAllocator.h>
List of all members.
Detailed Description
Generic Allocator with pools.
General purpose Allocator which can create Memory Pools dynamiacally as needed.
Definition at line 113 of file btGenericPoolAllocator.h.
Constructor & Destructor Documentation
btGenericPoolAllocator::btGenericPoolAllocator |
( |
size_t |
pool_element_size, |
|
|
size_t |
pool_element_count | |
|
) |
| | [inline] |
virtual btGenericPoolAllocator::~btGenericPoolAllocator |
( |
|
) |
[virtual] |
Member Function Documentation
void* btGenericPoolAllocator::allocate |
( |
size_t |
size_bytes |
) |
|
Allocates memory in pool.
- Parameters:
-
| size_bytes | size in bytes of the buffer |
void* btGenericPoolAllocator::failback_alloc |
( |
size_t |
size_bytes |
) |
[protected] |
bool btGenericPoolAllocator::failback_free |
( |
void * |
pointer |
) |
[protected] |
bool btGenericPoolAllocator::freeMemory |
( |
void * |
pointer |
) |
|
size_t btGenericPoolAllocator::get_pool_capacity |
( |
|
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: