Defines a class that provided a highly optimized memory management scheme for allocating memory statically. More...
#include <Malloc_T.h>
Public Member Functions | |
ACE_Static_Allocator (void) | |
Private Attributes | |
char | pool_ [POOL_SIZE] |
Pool contents. |
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 387 of file Malloc_T.h.
ACE_Static_Allocator< POOL_SIZE >::ACE_Static_Allocator | ( | void | ) | [inline] |
Definition at line 390 of file Malloc_T.h.
: ACE_Static_Allocator_Base (pool_, POOL_SIZE) { // This function <{must}> be inlined!!! }
char ACE_Static_Allocator< POOL_SIZE >::pool_[POOL_SIZE] [private] |
Pool contents.
Definition at line 398 of file Malloc_T.h.