__gnu_cxx::__pool_alloc_base Class Reference

#include <pool_allocator.h>

Inheritance diagram for __gnu_cxx::__pool_alloc_base:

__gnu_cxx::__pool_alloc< _Tp > List of all members.

Protected Types

enum  { _S_align = 8 }
enum  { _S_max_bytes = 128 }
enum  { _S_free_list_size = _S_max_bytes / _S_align }

Protected Member Functions

size_t _M_round_up (size_t __bytes)
_Obj *volatile * _M_get_free_list (size_t __bytes)
mutex_type_M_get_mutex ()
void * _M_refill (size_t __n)
char * _M_allocate_chunk (size_t __n, int &__nobjs)

Static Protected Attributes

_Obj *volatile _S_free_list [_S_free_list_size]
char * _S_start_free
char * _S_end_free
size_t _S_heap_size

Detailed Description

(See allocators info for more.)

Definition at line 76 of file pool_allocator.h.


Member Enumeration Documentation

anonymous enum [protected]
 

Enumeration values:
_S_align 

Definition at line 80 of file pool_allocator.h.

anonymous enum [protected]
 

Enumeration values:
_S_max_bytes 

Definition at line 81 of file pool_allocator.h.

anonymous enum [protected]
 

Enumeration values:
_S_free_list_size 

Definition at line 82 of file pool_allocator.h.


Member Function Documentation

char* __gnu_cxx::__pool_alloc_base::_M_allocate_chunk size_t  __n,
int &  __nobjs
[protected]
 

_Obj* volatile* __gnu_cxx::__pool_alloc_base::_M_get_free_list size_t  __bytes  )  [protected]
 

Referenced by __gnu_cxx::__pool_alloc< _Tp >::allocate(), and __gnu_cxx::__pool_alloc< _Tp >::deallocate().

mutex_type& __gnu_cxx::__pool_alloc_base::_M_get_mutex  )  [protected]
 

Referenced by __gnu_cxx::__pool_alloc< _Tp >::allocate(), and __gnu_cxx::__pool_alloc< _Tp >::deallocate().

void* __gnu_cxx::__pool_alloc_base::_M_refill size_t  __n  )  [protected]
 

Referenced by __gnu_cxx::__pool_alloc< _Tp >::allocate().

size_t __gnu_cxx::__pool_alloc_base::_M_round_up size_t  __bytes  )  [inline, protected]
 

Definition at line 98 of file pool_allocator.h.

References _S_align.

Referenced by __gnu_cxx::__pool_alloc< _Tp >::allocate().


Member Data Documentation

char* __gnu_cxx::__pool_alloc_base::_S_end_free [static, protected]
 

Definition at line 94 of file pool_allocator.h.

_Obj* volatile __gnu_cxx::__pool_alloc_base::_S_free_list[_S_free_list_size] [static, protected]
 

Definition at line 90 of file pool_allocator.h.

size_t __gnu_cxx::__pool_alloc_base::_S_heap_size [static, protected]
 

Definition at line 95 of file pool_allocator.h.

char* __gnu_cxx::__pool_alloc_base::_S_start_free [static, protected]
 

Definition at line 93 of file pool_allocator.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 30 17:32:02 2007 for GNU C++ STL by doxygen 1.3.6