![]() |
Ark Server API (ASE) - Wiki
|
#include <Event.h>
Inheritance diagram for Poco::Event:
Collaboration diagram for Poco::Event:Public Types | |
| enum | EventType { EVENT_MANUALRESET , EVENT_AUTORESET } |
Public Member Functions | |
| Event (EventType type=EVENT_AUTORESET) | |
| Event (bool autoReset) | |
| ~Event () | |
| Please use Event::Event(EventType) instead. | |
| void | set () |
| Destroys the event. | |
| void | wait () |
| void | wait (long milliseconds) |
| Waits for the event to become signalled. | |
| bool | tryWait (long milliseconds) |
| void | reset () |
Private Member Functions | |
| Event (const Event &) | |
| Resets the event to unsignalled state. | |
| Event & | operator= (const Event &) |
Private Member Functions inherited from Poco::EventImpl | |
| EventImpl (bool autoReset) | |
| ~EventImpl () | |
| void | setImpl () |
| void | waitImpl () |
| bool | waitImpl (long milliseconds) |
| void | resetImpl () |
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.
|
explicit |
Here is the caller graph for this function:
|
explicit |
Creates the event. If type is EVENT_AUTORESET, the event is automatically reset after a wait() successfully returns.
| Poco::Event::~Event | ( | ) |
Please use Event::Event(EventType) instead.
|
private |
Resets the event to unsignalled state.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |