ACE
6.1.4
|
Auto Events. More...
#include <Auto_Event.h>
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. | |
![]() | |
ACE_Event (int manual_reset=0, int initial_state=0, int type=USYNC_THREAD, const ACE_TCHAR *name=0, void *arg=0, LPSECURITY_ATTRIBUTES sa=0) | |
Constructor that creates event. | |
~ACE_Event (void) | |
Implicitly destroy the event variable. | |
int | remove (void) |
ACE_event_t | handle (void) const |
Underlying handle to event. | |
void | handle (ACE_event_t new_handle) |
int | wait (void) |
int | wait (const ACE_Time_Value *abstime, int use_absolute_time=1) |
int | signal (void) |
int | pulse (void) |
int | reset (void) |
Set to nonsignaled state. | |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
![]() | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Additional Inherited Members | |
![]() | |
ACE_event_t | handle_ |
The underlying handle. | |
bool | removed_ |
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.
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.
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)
|
inline |
Default dtor.
void ACE_Auto_Event::dump | ( | void | ) | const |
Dump the state of an object.
ACE_Auto_Event::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.