Nugget
Public Types | Public Member Functions | Public Attributes | List of all members
eastl::fixed_pool_with_overflow< OverflowAllocator > Class Template Reference

#include <fixed_pool.h>

Inheritance diagram for eastl::fixed_pool_with_overflow< OverflowAllocator >:
Inheritance graph
[legend]
Collaboration diagram for eastl::fixed_pool_with_overflow< OverflowAllocator >:
Collaboration graph
[legend]

Public Types

typedef OverflowAllocator overflow_allocator_type
 

Public Member Functions

 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_overflowoperator= (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
 
- Public Member Functions inherited from eastl::fixed_pool_base
 fixed_pool_base (void *pMemory=NULL)
 
fixed_pool_baseoperator= (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
 

Public Attributes

OverflowAllocator mOverflowAllocator
 
void * mpPoolBegin
 
- Public Attributes inherited from eastl::fixed_pool_base
LinkmpHead
 
LinkmpNext
 
LinkmpCapacity
 
size_t mnNodeSize
 

Detailed Description

template<typename OverflowAllocator = EASTLAllocatorType>
class eastl::fixed_pool_with_overflow< OverflowAllocator >

fixed_pool_with_overflow

Member Function Documentation

◆ 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: