ACE_Malloc<, ACE_LOCK > Class Template Reference

#include <Malloc_T.h>

Inheritance diagram for ACE_Malloc<, ACE_LOCK >:

Inheritance graph
[legend]
Collaboration diagram for ACE_Malloc<, ACE_LOCK >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 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)

Detailed Description

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

Definition at line 850 of file Malloc_T.h.


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). Note that pool_name should be located in a directory with the appropriate visibility and protection so that all processes that need to access it can do so.

Definition at line 134 of file Malloc_T.inl.

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. Note that pool_name should be located in a directory with the appropriate visibility and protection so that all processes that need to access it can do so.

Definition at line 140 of file Malloc_T.inl.

00143   : ACE_Malloc_T<ACE_MEM_POOL_2, ACE_LOCK, ACE_Control_Block> (pool_name, lock_name, options)
00144 {
00145 }

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.

Definition at line 149 of file Malloc_T.inl.

00152   : ACE_Malloc_T<ACE_MEM_POOL_2, ACE_LOCK, ACE_Control_Block> (pool_name, lock_name, options)
00153 {
00154 }


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:35:17 2010 for ACE by  doxygen 1.4.7