ACE 8.0.5
Loading...
Searching...
No Matches
ACE_Manual_Event_T< TIME_POLICY > Class Template Reference

#include <Manual_Event.h>

Inheritance diagram for ACE_Manual_Event_T< TIME_POLICY >:
Collaboration diagram for ACE_Manual_Event_T< TIME_POLICY >:

Public Member Functions

 ACE_Manual_Event_T (int initial_state=0, int type=USYNC_THREAD, const char *name=nullptr, void *arg=nullptr)
 Constructor which will create manual event.
 ACE_Manual_Event_T (int initial_state, int type, const wchar_t *name, void *arg=nullptr)
 Constructor which will create manual event (wchar_t version).
 ~ACE_Manual_Event_T () override=default
 Default dtor.
void dump () const
 Dump the state of an object.
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=nullptr, void *arg=nullptr, LPSECURITY_ATTRIBUTES sa=0)
 Constructor that creates event.
 ~ACE_Event_T () override=default
 Implicitly destroy the event variable.
ACE_Time_Value_T< ACE_System_Time_Policygettimeofday () const
void set_time_policy (ACE_System_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.

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
Public Attributes inherited from ACE_Event_T< ACE_System_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.

Additional Inherited Members

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< ACE_System_Time_Policy >
ACE_System_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_

Constructor & Destructor Documentation

◆ ACE_Manual_Event_T() [1/2]

template<class TIME_POLICY = ACE_System_Time_Policy>
ACE_Manual_Event_T< TIME_POLICY >::ACE_Manual_Event_T ( int initial_state = 0,
int type = USYNC_THREAD,
const char * name = nullptr,
void * arg = nullptr )

Constructor which will create manual event.

◆ ACE_Manual_Event_T() [2/2]

template<class TIME_POLICY>
ACE_Manual_Event_T< TIME_POLICY >::ACE_Manual_Event_T ( int initial_state,
int type,
const wchar_t * name,
void * arg = nullptr )

Constructor which will create manual event (wchar_t version).

◆ ~ACE_Manual_Event_T()

template<class TIME_POLICY = ACE_System_Time_Policy>
ACE_Manual_Event_T< TIME_POLICY >::~ACE_Manual_Event_T ( )
overridedefault

Default dtor.

Member Function Documentation

◆ dump()

template<class TIME_POLICY>
void ACE_Manual_Event_T< TIME_POLICY >::dump ( ) const

Dump the state of an object.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

template<class TIME_POLICY = ACE_System_Time_Policy>
ACE_Manual_Event_T< TIME_POLICY >::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.


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