

Public Types | |
| enum | ResetType { ManualReset, AutoReset } |
| Specify the type of event object. More... | |
| enum | InitialState { Signaled, NonSignaled } |
| Specify the initial state of an event object. More... | |
Public Member Functions | |
| CEvent (SECURITY_ATTRIBUTES *pSecurityAttributes, ResetType resetType, InitialState initialState) | |
| Create an anonymous CEvent object for in-process use. | |
| CEvent (SECURITY_ATTRIBUTES *pSecurityAttributes, ResetType resetType, InitialState initialState, const IKernelObjectName &name) | |
| Create a named CEvent object for cross-process use. | |
| void | Reset () |
| Reset the event to the unsignalled state. | |
| void | Set () |
| Set the event to the signalled state. | |
| void | Pulse () |
| Pulse the event. | |
| HANDLE | GetWaitHandle () const |
| Access a HANDLE to wait on by passing it to one of the Wait Functions. | |
| void | Wait () const |
| Wait indefinitely for the object to become signalled. | |
| bool | Wait (const Milliseconds timeout) const |
| Wait, with a time limit, for the object to become signalled. | |
Static Public Member Functions | |
| static void | Wait (HANDLE handle) |
| Wait indefinitely for the supplied handle to become signalled. | |
| static bool | Wait (HANDLE handle, const Milliseconds timeout) |
| Wait, with a time limit, for the supplied handle to become signalled. | |
| enum ResetType |
| enum InitialState |
| CEvent | ( | SECURITY_ATTRIBUTES * | pSecurityAttributes, | |
| ResetType | resetType, | |||
| InitialState | initialState | |||
| ) |
Create an anonymous CEvent object for in-process use.
| CEvent | ( | SECURITY_ATTRIBUTES * | pSecurityAttributes, | |
| ResetType | resetType, | |||
| InitialState | initialState, | |||
| const IKernelObjectName & | name | |||
| ) |
Create a named CEvent object for cross-process use.
| void Reset | ( | ) |
Reset the event to the unsignalled state.
| void Set | ( | ) |
Set the event to the signalled state.
| void Pulse | ( | ) |
Pulse the event.
| HANDLE GetWaitHandle | ( | ) | const [virtual] |
| void Wait | ( | ) | const [virtual] |
| bool Wait | ( | const Milliseconds | timeout | ) | const [virtual] |
| void Wait | ( | HANDLE | handle | ) | [static, inherited] |
Wait indefinitely for the supplied handle to become signalled.
| bool Wait | ( | HANDLE | handle, | |
| const Milliseconds | timeout | |||
| ) | [static, inherited] |
Wait, with a time limit, for the supplied handle to become signalled.
1.5.3