Sierra Toolkit  Version of the Day
eastl::fixed_pool_with_overflow< Allocator > Class Template Reference

#include <fixed_pool_eastl.h>

Inheritance diagram for eastl::fixed_pool_with_overflow< Allocator >:
Collaboration diagram for eastl::fixed_pool_with_overflow< Allocator >:

Public Member Functions

 fixed_pool_with_overflow (void *pMemory=NULL)
 
 fixed_pool_with_overflow (void *pMemory, size_t memorySize, size_t nodeSize, size_t alignment, size_t alignmentOffset=0)
 
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 deallocate (void *p)
 
const char * get_name () const
 
void set_name (const char *pName)
 
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 &)
 
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

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

Detailed Description

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

fixed_pool_with_overflow

Definition at line 385 of file fixed_pool_eastl.h.

Member Function Documentation

◆ operator=()

template<typename Allocator = EASTLAllocatorType>
fixed_pool_with_overflow& eastl::fixed_pool_with_overflow< Allocator >::operator= ( const fixed_pool_with_overflow< Allocator > &  x)
inline

operator=

Definition at line 408 of file fixed_pool_eastl.h.

◆ can_allocate()

template<typename Allocator = EASTLAllocatorType>
bool eastl::fixed_pool_base::can_allocate
inline

can_allocate

Returns true if there are any free links.

Definition at line 220 of file fixed_pool_eastl.h.


The documentation for this class was generated from the following file: