CAMEvent Class (Compact 2013)
3/26/2014
CAMEvent Class
This 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 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
Member |
Description |
---|---|
m_hEvent |
Win32 event handle. |
Member Functions
Member function |
Description |
---|---|
Constructs a CAMEvent object. |
|
Returns TRUE if the event is currently set, but does not block. |
|
Forces the event into a nonsignaled state. |
|
Puts the event into a signaled state. |
|
Blocks the event is signaled, or until an optional time-out occurs. |
|
Gets the HANDLE object. |
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |