Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CorePoolBase< T, CHUNK_ITEM > Class Template Reference

Public Member Functions

 CorePoolBase (const unsigned int &chunk_size=128)
 
unsigned int get_allocated_object_count () const
 
unsigned int get_used_object_count () const
 
virtual size_t get_memory_size () const
 

Protected Member Functions

void set_unused_object (T *object)
 

Protected Attributes

CHUNK_ITEM ** m_chunk_array
 
CHUNK_ITEM * m_first_free
 
unsigned int m_chunk_size
 
unsigned int m_chunk_array_size
 
unsigned int m_chunk_count
 
unsigned int m_object_count