ACE 7.0.9
|
A wrapper around the Win32 event locking mechanism. More...
#include <Event.h>
Public Member Functions | |
ACE_Event_T (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. More... | |
virtual | ~ACE_Event_T ()=default |
Implicitly destroy the event variable. More... | |
ACE_Time_Value_T< TIME_POLICY > | gettimeofday () const |
void | set_time_policy (TIME_POLICY const &time_policy) |
![]() | |
virtual | ~ACE_Event_Base () |
Implicitly destroy the event variable. More... | |
int | remove () |
ACE_event_t | handle () const |
Underlying handle to event. More... | |
void | handle (ACE_event_t new_handle) |
int | wait () |
int | wait (const ACE_Time_Value *abstime, int use_absolute_time=1) |
int | signal () |
int | pulse () |
int | reset () |
Set to nonsignaled state. More... | |
void | dump () const |
Dump the state of an object. More... | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
![]() | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
Protected Attributes | |
TIME_POLICY | time_policy_ |
The policy to return the current time of day. More... | |
![]() | |
ACE_event_t | handle_ |
The underlying handle. More... | |
bool | removed_ |
Private Member Functions | |
ACE_Event_T (const ACE_Event_T< TIME_POLICY > &event)=delete | |
const ACE_Event_T & | operator= (const ACE_Event_T< TIME_POLICY > &rhs)=delete |
Additional Inherited Members | |
![]() | |
ACE_Event_Base () | |
Only derived classes allowed to construct event. More... | |
A wrapper around the Win32 event locking mechanism.
Portable implementation of an Event mechanism, which is native to Win32, but must be emulated on UNIX. All platforms support process-scope locking support. However, only Win32 platforms support global naming and system-scope locking support.
ACE_Event_T< TIME_POLICY >::ACE_Event_T | ( | 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.
|
virtualdefault |
Implicitly destroy the event variable.
|
privatedelete |
ACE_Time_Value_T< TIME_POLICY > ACE_Event_T< TIME_POLICY >::gettimeofday |
Get the current time of day according to the queue's TIME_POLICY. Allows users to initialize timeout values using correct time policy.
|
privatedelete |
void ACE_Event_T< TIME_POLICY >::set_time_policy | ( | TIME_POLICY const & | time_policy | ) |
Allows applications to control how the event gets the time of day.
ACE_Event_T< TIME_POLICY >::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
protected |
The policy to return the current time of day.