Microsoft DirectX 9.0

CAMEvent Class

CAMEvent Class Hierarchy

The CAMEvent class is a wrapper for manual-reset and auto-reset events.

This class provides a convenient way to manage events, rather than calling Microsoft® Win32® functions such as CreateEvent, WaitForSingleObject, and ResetEvent.

Requirements

Header: Declared in Wxutil.h; include Streams.h.

Library: Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

Protected Member Variables  
m_hEvent Event handle.

Public Methods  
CAMEvent Constructor method.
~CAMEvent Destructor method.
Check Checks whether the event is set, without blocking.
Reset Sets the state of the event to nonsignaled.
Set Signals the event.
Wait Blocks until the event is signaled, or until a time-out occurs.

Operators  
operator HANDLE Retrieves the event handle.