ACE  6.3.3
Public Member Functions | List of all members
ACE_Manual_Event Class Reference

Manual Events. More...

#include <Manual_Event.h>

Inheritance diagram for ACE_Manual_Event:
Inheritance graph
[legend]
Collaboration diagram for ACE_Manual_Event:
Collaboration graph
[legend]

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Manual Events.

Specialization of Event mechanism which wakes up all 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_Manual_Event::ACE_Manual_Event ( int  initial_state = 0,
int  type = USYNC_THREAD,
const char *  name = 0,
void *  arg = 0 
)
inline

Constructor which will create auto event.

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

Constructor which will create auto event (wchar_t version)

virtual ACE_Manual_Event::~ACE_Manual_Event ( void  )
inlinevirtual

Default dtor.


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