#include <SyncObjects.h>
Inheritance diagram for OW32::CEvent:
Public Member Functions | |
CEvent (BOOL bManualReset=FALSE, BOOL bInitialState=FALSE, LPCTSTR lpszName=NULL, LPSECURITY_ATTRIBUTES lpSecAttr=NULL) | |
Construct a new event object. | |
CEvent (HANDLE hEvent) | |
Construct a new event object. | |
CEvent & | operator= (HANDLE hEvent) |
Set the encapsulated event handle. | |
virtual BOOL | Lock (DWORD dwTimeout=INFINITE) |
Wait for the event. | |
void | Unlock () |
Unused, event objects do not `unlock'. | |
BOOL | Set () |
Signal the event object. | |
BOOL | Reset () |
Clear the signalled state of the event object. | |
BOOL | Pulse () |
Briefly set the event object to the signalled state. | |
operator HANDLE () const | |
HANDLE extract for the event object. |
|
Construct a new event object.
|
|
Construct a new event object.
|
|
Wait for the event.
Implements OW32::CSyncObject. |
|
Set the encapsulated event handle.
|