Logo Search packages:      
Sourcecode: poco version File versions  Download package

Poco::Event Class Reference

#include <Event.h>

Inheritance diagram for Poco::Event:

List of all members.

Detailed Description

An Event is a synchronization object that allows one thread to signal one or more other threads that a certain event has happened. Usually, one thread signals an event, while one or more other threads wait for an event to become signalled.

Definition at line 57 of file Event.h.

Public Member Functions

 Event (bool autoReset=true)
void reset ()
void set ()
 Destroys the event.
bool tryWait (long milliseconds)
void wait (long milliseconds)
 Waits for the event to become signalled.
void wait ()
 ~Event ()

Private Member Functions

 Event (const Event &)
 Resets the event to unsignalled state.
Eventoperator= (const Event &)
void resetImpl ()
void resetImpl ()
void setImpl ()
void setImpl ()
bool waitImpl (long milliseconds)
void waitImpl ()
bool waitImpl (long milliseconds)
void waitImpl ()

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

Generated by  Doxygen 1.6.0   Back to index