ACE 8.0.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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]

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)
 
virtual ~ACE_Auto_Event ()
 Default dtor.
 
- Public Member Functions inherited from ACE_Auto_Event_T< ACE_System_Time_Policy >
 ACE_Auto_Event_T (int initial_state=0, int type=USYNC_THREAD, const char *name=0, void *arg=0)
 Constructor which will create auto event.
 
 ACE_Auto_Event_T (int initial_state, int type, const wchar_t *name, void *arg=0)
 Constructor which will create auto event (wchar_t version)
 
virtual ~ACE_Auto_Event_T ()=default
 Default dtor.
 
void dump () const
 Dump the state of an object.
 
- Public Member Functions inherited from 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.
 
virtual ~ACE_Event_T ()=default
 Implicitly destroy the event variable.
 
ACE_Time_Value_T< TIME_POLICYgettimeofday () const
 
void set_time_policy (TIME_POLICY const &time_policy)
 
- Public Member Functions inherited from ACE_Event_Base
virtual ~ACE_Event_Base ()
 Implicitly destroy the event variable.
 
int remove ()
 
ACE_event_t handle () const
 Underlying handle to event.
 
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.
 
void dump () const
 Dump the state of an object.
 

Additional Inherited Members

- Public Attributes inherited from ACE_Auto_Event_T< ACE_System_Time_Policy >
 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 
- Public Attributes inherited from ACE_Event_T< TIME_POLICY >
 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 
- Public Attributes inherited from ACE_Event_Base
 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 
- Protected Member Functions inherited from ACE_Event_Base
 ACE_Event_Base ()
 Only derived classes allowed to construct event.
 
- Protected Attributes inherited from ACE_Event_T< TIME_POLICY >
TIME_POLICY time_policy_
 The policy to return the current time of day.
 
- Protected Attributes inherited from ACE_Event_Base
ACE_event_t handle_
 The underlying handle.
 
bool removed_
 

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.

Constructor & Destructor Documentation

◆ ACE_Auto_Event() [1/2]

ACE_Auto_Event::ACE_Auto_Event ( int initial_state = 0,
int type = USYNC_THREAD,
const char * name = 0,
void * arg = 0 )
inline

Constructor which will create auto event.

◆ ACE_Auto_Event() [2/2]

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

Constructor which will create auto event (wchar_t version)

◆ ~ACE_Auto_Event()

virtual ACE_Auto_Event::~ACE_Auto_Event ( )
inlinevirtual

Default dtor.


The documentation for this class was generated from the following file: