Abstraction of a event. An event object is a synchronization object whose state can be explicitly set to signaled by use of the Set function. The threads waiting for the event will be resumed. More...
Abstraction of a event. An event object is a synchronization object whose state can be explicitly set to signaled by use of the Set function. The threads waiting for the event will be resumed.
Public Member Methods | |
Event (bool manualReset=true, bool initialState=false) | |
Constructor. More... | |
Event (PCChar8 name, bool manualReset=true, bool initialState=false) | |
Constructor. More... | |
virtual | ~Event () |
Destructor. More... | |
virtual bool | Wait (TimeSpan timeOut=TimeInfinite) |
Waits. More... | |
virtual void | Set () |
Sets the event. More... | |
virtual void | Reset () |
Resets the event. More... | |
virtual void | Pulse () |
Pulses the event. More... | |
Event | ( | bool | manualReset = true , |
bool | initialState = false |
||
) |
Constructor.
manualReset | (optional) Manual reset enable. Default = true |
initialState | (optional) Initial event state. Default = false |
Constructor.
name | The name. |
manualReset | (optional) Manual reset enable. Default = true. |
initialState | (optional) Initial event state. Default = false. |
|
virtual |
Destructor.
|
virtual |
Pulses the event.
|
virtual |
Resets the event.
|
virtual |
Sets the event.
|
virtual |
Waits.
timeOut | (optional) the time out. |