#include <fixed_pool.h>
|
typedef OverflowAllocator | overflow_allocator_type |
|
|
| fixed_pool_with_overflow (void *pMemory=NULL) |
|
| fixed_pool_with_overflow (void *pMemory, const overflow_allocator_type &allocator) |
|
| fixed_pool_with_overflow (void *pMemory, size_t memorySize, size_t nodeSize, size_t alignment, size_t alignmentOffset=0) |
|
| fixed_pool_with_overflow (void *pMemory, size_t memorySize, size_t nodeSize, size_t alignment, size_t alignmentOffset, const overflow_allocator_type &allocator) |
|
fixed_pool_with_overflow & | operator= (const fixed_pool_with_overflow &x) |
|
void | init (void *pMemory, size_t memorySize, size_t nodeSize, size_t alignment, size_t alignmentOffset=0) |
|
void * | allocate () |
|
void * | allocate (size_t alignment, size_t alignmentOffset) |
|
void | deallocate (void *p) |
|
const char * | get_name () const |
|
void | set_name (const char *pName) |
|
const overflow_allocator_type & | get_overflow_allocator () const |
|
overflow_allocator_type & | get_overflow_allocator () |
|
void | set_overflow_allocator (const overflow_allocator_type &overflowAllocator) |
|
bool | can_allocate () const |
|
| fixed_pool_base (void *pMemory=NULL) |
|
fixed_pool_base & | operator= (const fixed_pool_base &) |
|
EASTL_API void | init (void *pMemory, size_t memorySize, size_t nodeSize, size_t alignment, size_t alignmentOffset=0) |
|
size_t | peak_size () const |
|
bool | can_allocate () const |
|
|
OverflowAllocator | mOverflowAllocator |
|
void * | mpPoolBegin |
|
Link * | mpHead |
|
Link * | mpNext |
|
Link * | mpCapacity |
|
size_t | mnNodeSize |
|
template<typename OverflowAllocator = EASTLAllocatorType>
class eastl::fixed_pool_with_overflow< OverflowAllocator >
fixed_pool_with_overflow
◆ can_allocate()
template<typename OverflowAllocator = EASTLAllocatorType>
bool eastl::fixed_pool_base::can_allocate |
|
inline |
can_allocate
Returns true if there are any free links.
The documentation for this class was generated from the following file: