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

[legend]
Collaboration diagram for ACE_Static_Allocator:

[legend]
List of all members.

## Public Methods
| ACE_Static_Allocator (void)
## Private Attributes
char | pool_ [POOL_SIZE]
| Pool contents.

## Detailed Description

### template<size_t POOL_SIZE> template class ACE_Static_Allocator

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 class implementations of <malloc> and <calloc> to optimize memory allocation from this pool.

## Constructor & Destructor Documentation

template<size_tPOOL_SIZE>
ACE_Static_Allocator<POOL_SIZE>::ACE_Static_Allocator<POOL_SIZE> ( | void )`[inline]`

## Member Data Documentation

template<size_tPOOL_SIZE>
char ACE_Static_Allocator<POOL_SIZE>::pool_[POOL_SIZE]`[private]`

| Pool contents.

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

- Malloc_T.h