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

ACE_Auto_Event Class Reference

Auto Events. More...

#include <Synch.h>

Inheritance diagram for ACE_Auto_Event:

Inheritance graph
[legend]
Collaboration diagram for ACE_Auto_Event:

Collaboration graph
[legend]
List of all members.

Public Methods

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

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

 ~ACE_Auto_Event (void)
 Default dtor. More...

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


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...


Detailed Description

Auto Events.

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

Definition at line 971 of file Synch.h.


Constructor & Destructor Documentation

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 387 of file Synch.cpp.

References ACE_TEXT_CHAR_TO_TCHAR.

00391   : ACE_Event (0,
00392                initial_state,
00393                type,
00394                ACE_TEXT_CHAR_TO_TCHAR (name),
00395                arg)
00396 {
00397 }

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 400 of file Synch.cpp.

References ACE_TEXT_WCHAR_TO_TCHAR.

00404   : ACE_Event (0,
00405                initial_state,
00406                type,
00407                ACE_TEXT_WCHAR_TO_TCHAR (name),
00408                arg)
00409 {
00410 }

ACE_INLINE ACE_Auto_Event::~ACE_Auto_Event void   
 

Default dtor.

Definition at line 965 of file Synch.i.

00966 {
00967 }


Member Function Documentation

void ACE_Auto_Event::dump void    const
 

Dump the state of an object.

Reimplemented from ACE_Event.

Definition at line 414 of file Synch.cpp.

References ACE_Event::dump.

00415 {
00416   ACE_Event::dump ();
00417 }


Member Data Documentation

ACE_Auto_Event::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented from ACE_Event.

Definition at line 995 of file Synch.h.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:46:01 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002