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

# ACE_Malloc Class Template Reference

`#include <Malloc_T.h>`

Inheritance diagram for ACE_Malloc:

[legend]
Collaboration diagram for ACE_Malloc:

[legend]
List of all members.

## Public Methods
| ACE_Malloc (const ACE_TCHAR *pool_name=0)
| ACE_Malloc (const ACE_TCHAR *pool_name, const ACE_TCHAR *lock_name, const ACE_MEM_POOL_OPTIONS *options=0)
| ACE_Malloc (const ACE_TCHAR *pool_name, const ACE_TCHAR *lock_name, const void *options=0)
| This is necessary to work around template bugs with certain C++ compilers. More...

### template<ACE_MEM_POOL_1, class ACE_LOCK>
class ACE_Malloc<, ACE_LOCK >

## Constructor & Destructor Documentation

template<ACE_MEM_POOL_1 , class ACE_LOCK>
ACE_INLINE ACE_Malloc<, ACE_LOCK >::ACE_Malloc | ( | const ACE_TCHAR * | pool_name = 0 | ) |

| Initialize ACE_Malloc. This constructor passes <pool_name> to initialize the memory pool, and uses <ACE::basename> to automatically extract out the name used for the underlying lock name (if necessary).

template<ACE_MEM_POOL_1 , class ACE_LOCK>
ACE_INLINE ACE_Malloc<, ACE_LOCK >::ACE_Malloc | ( | const ACE_TCHAR * | pool_name,
|  | const ACE_TCHAR * | lock_name,
|  | const ACE_MEM_POOL_OPTIONS * | options = 0
| ) |

| Initialize ACE_Malloc. This constructor passes <pool_name> to initialize the memory pool, and uses <lock_name> to automatically extract out the name used for the underlying lock name (if necessary). In addition, <options> is passed through to initialize the underlying memory pool.

template<ACE_MEM_POOL_1 , class ACE_LOCK>
ACE_INLINE ACE_Malloc<, ACE_LOCK >::ACE_Malloc | ( | const ACE_TCHAR * | pool_name,
|  | const ACE_TCHAR * | lock_name,
|  | const void * | options = 0
| ) |

| This is necessary to work around template bugs with certain C++ compilers.

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

- Malloc_T.h
- Malloc_T.i