Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Static_Allocator Class Template Reference

Defines a class that provided a highly optimized memory management scheme for allocating memory statically. More...

#include <Malloc_T.h>

Inheritance diagram for ACE_Static_Allocator:

Inheritance graph
[legend]
Collaboration diagram for ACE_Static_Allocator:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_Static_Allocator (void)

Private Attributes

char pool_ [POOL_SIZE]
 Pool contents. More...


Detailed Description

template<size_t POOL_SIZE>
class ACE_Static_Allocator< POOL_SIZE >

Defines a class that provided a highly optimized memory management scheme for allocating memory statically.

This class allocates a fixed-size POOL_SIZE of memory and uses the ACE_Static_Allocator_Base class implementations of malloc() and calloc() to optimize memory allocation from this pool.

Definition at line 370 of file Malloc_T.h.


Constructor & Destructor Documentation

template<size_t POOL_SIZE>
ACE_Static_Allocator< POOL_SIZE >::ACE_Static_Allocator void    [inline]
 

Definition at line 373 of file Malloc_T.h.

References pool_.

00374     : ACE_Static_Allocator_Base (pool_, POOL_SIZE)
00375   {
00376     // This function <{must}> be inlined!!!
00377   }


Member Data Documentation

template<size_t POOL_SIZE>
char ACE_Static_Allocator::pool_[POOL_SIZE] [private]
 

Pool contents.

Definition at line 381 of file Malloc_T.h.

Referenced by ACE_Static_Allocator.


The documentation for this class was generated from the following file:
Generated on Mon Jun 16 12:56:33 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002