ACE_Malloc_Lock_Adapter_T< ACE_Process_Semaphore > Class Template Reference

#include <Process_Semaphore.h>

List of all members.

Public Member Functions

ACE_Process_Semaphoreoperator() (const ACE_TCHAR *name)


Detailed Description

template<>
class ACE_Malloc_Lock_Adapter_T< ACE_Process_Semaphore >

Definition at line 147 of file Process_Semaphore.h.


Member Function Documentation

ACE_Process_Semaphore * ACE_Malloc_Lock_Adapter_T< ACE_Process_Semaphore >::operator() ( const ACE_TCHAR name  ) 

Definition at line 99 of file Process_Semaphore.cpp.

References ACE_DIRECTORY_SEPARATOR_CHAR, ACE_NEW_RETURN, and ACE::basename().

00100 {
00101   ACE_Process_Semaphore *p = 0;
00102   if (name == 0)
00103     ACE_NEW_RETURN (p, ACE_Process_Semaphore (1, name), 0);
00104   else
00105     ACE_NEW_RETURN (p, ACE_Process_Semaphore (1, ACE::basename (name,
00106                                                                 ACE_DIRECTORY_SEPARATOR_CHAR)),
00107                     0);
00108   return p;
00109 }


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