ACE_Auto_Event Class Reference

Auto Events. More...

#include <Auto_Event.h>

Inheritance diagram for ACE_Auto_Event:

Inheritance graph
[legend]
Collaboration diagram for ACE_Auto_Event:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_Auto_Event (int initial_state=0, int type=USYNC_THREAD, const char *name=0, void *arg=0)
 Constructor which will create auto event.

 ACE_Auto_Event (int initial_state, int type, const wchar_t *name, void *arg=0)
 Constructor which will create auto event (wchar_t version).

 ~ACE_Auto_Event (void)
 Default dtor.

void dump (void) const
 Dump the state of an object.


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.


Detailed Description

Auto Events.

Specialization of Event mechanism which wakes up one waiting thread on . All platforms support process-scope locking support. However, only Win32 platforms support global naming and system-scope locking support.

Definition at line 39 of file Auto_Event.h.


Constructor & Destructor Documentation

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Auto_Event::ACE_Auto_Event int  initial_state = 0,
int  type = USYNC_THREAD,
const char *  name = 0,
void *  arg = 0
 

Constructor which will create auto event.

Definition at line 15 of file Auto_Event.cpp.

References ACE_TEXT_CHAR_TO_TCHAR.

00019   : ACE_Event (0,
00020                initial_state,
00021                type,
00022                ACE_TEXT_CHAR_TO_TCHAR (name),
00023                arg)
00024 {
00025 }

ACE_Auto_Event::ACE_Auto_Event int  initial_state,
int  type,
const wchar_t *  name,
void *  arg = 0
 

Constructor which will create auto event (wchar_t version).

Definition at line 28 of file Auto_Event.cpp.

References ACE_TEXT_WCHAR_TO_TCHAR.

00032   : ACE_Event (0,
00033                initial_state,
00034                type,
00035                ACE_TEXT_WCHAR_TO_TCHAR (name),
00036                arg)
00037 {
00038 }

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Auto_Event::~ACE_Auto_Event void   ) 
 

Default dtor.

Definition at line 8 of file Auto_Event.inl.

00009 {
00010 }


Member Function Documentation

void ACE_Auto_Event::dump void   )  const
 

Dump the state of an object.

Reimplemented from ACE_Event.

Definition at line 42 of file Auto_Event.cpp.

References ACE_Event::dump().

00043 {
00044 #if defined (ACE_HAS_DUMP)
00045   ACE_Event::dump ();
00046 #endif /* ACE_HAS_DUMP */
00047 }


Member Data Documentation

ACE_Auto_Event::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented from ACE_Event.

Definition at line 63 of file Auto_Event.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:20:14 2006 for ACE by doxygen 1.3.6