CAMEvent Class
The CAMEvent class is an event object that can be set and waited on to provide interthread synchronization. This is currently implemented by using the Microsoft Win32 Event application programming interfaces (APIs).
Events can be created as manual-reset or automatic-reset, and will always be created as not set (nonsignaled state). They can also be cast to handles so as to be passed to the Win32 WaitForMultipleObjects function.
Protected Data Members
m_hEvent | Microsoft Win32 event handle. |
Member Functions
CAMEvent | Constructs a CAMEvent object. |
Check | Returns TRUE if the event is currently set, but does not block. |
Reset | Forces the event into a nonsignaled state. |
Set | Puts the event into a signaled state. |
Wait | Blocks until the event is signaled, or until an optional time-out occurs. |
operator HANDLE | Gets the HANDLE object. |
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.