WiFi Framework C++ Edition
CwclWaitableSyncObject Class Reference

The base class for waitable synchronization objects. More...

#include <wclSync.h>

Inheritance diagram for CwclWaitableSyncObject:
CwclSyncObject CwclNamedSyncObject CwclEvent CwclMutex CwclAutoResetEvent CwclManualResetEvent

Public Member Functions

virtual ~CwclWaitableSyncObject ()
 Frees the waitable synchronization object.
 
HANDLE GetHandle () const
 Gets the system dependent synchronization object handle.
 
 __declspec (property(get=GetHandle)) HANDLE Handle
 Gets the system dependent synchronization object handle.
 
- Public Member Functions inherited from CwclSyncObject
virtual ~CwclSyncObject ()
 Frees the synchronization object.
 

Static Public Member Functions

static unsigned long WaitAll (const unsigned long Count, CwclWaitableSyncObject **const Objects)
 Waits until all of the specified objects are in the signaled state.
 
static unsigned long WaitAll (const unsigned long Count, CwclWaitableSyncObject **const Objects, const unsigned long Timeout)
 Waits until all of the specified objects are in the signaled state or the time-out interval elapses.
 
static unsigned long WaitAny (const unsigned long Count, CwclWaitableSyncObject **const Objects)
 Waits until one or all of the specified objects are in the signaled state.
 
static unsigned long WaitAny (const unsigned long Count, CwclWaitableSyncObject **const Objects, const unsigned long Timeout)
 Waits until one of the specified objects are in the signaled state or the time-out interval elapses.
 

Protected Member Functions

 CwclWaitableSyncObject (const HANDLE Handle)
 Creates new synchronization object.
 
virtual unsigned long WaitOne ()
 Waits until the object is in the signaled state.
 
virtual unsigned long WaitOne (const unsigned long Timeout)
 Waits until the object is in the signaled state or the time-out interval elapses.
 
- Protected Member Functions inherited from CwclSyncObject
 CwclSyncObject ()
 Creates new synchronization object.
 

Detailed Description

The base class for waitable synchronization objects.

See also
CwclSyncObject