#include <ace/Synch.h>
class ACE_Event {
public:
ACE_Event ( int manual_reset = 0, int initial_state = 0, int type = USYNC_THREAD, LPCTSTR name = 0, void *arg = 0 );
~ACE_Event (void);
int remove (void);
ACE_event_t handle (void) const;
void handle (ACE_event_t new_handle);
int wait (void);
int wait (const ACE_Time_Value *abstime);
int signal (void);
int pulse (void);
int reset (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
protected:
ACE_event_t handle_;
private:
ACE_Event (const ACE_Event& event);
const ACE_Event &operator= (const ACE_Event &rhs);
};
ACE_Event (const ACE_Event& event);
const ACE_Event &operator= (const ACE_Event &rhs);