JetByteTools::Win32::IWaitable Class Reference
[Win32 Synchronization primitivesInterfacesProtected non-virtual destructors on abstract base classes]

Inherited by JetByteTools::IO::CAsyncFileReader, JetByteTools::IO::CAsyncFileWriter, JetByteTools::Win32::CAutoResetEvent, JetByteTools::Win32::CEvent, JetByteTools::Win32::CManualResetEvent, JetByteTools::Win32::COverlappedWithEvent, JetByteTools::Win32::CSmartHandle, and JetByteTools::Win32::CThread.

Inheritance diagram for JetByteTools::Win32::IWaitable:

Inheritance graph
[legend]
List of all members.

Detailed Description

An interface to code that can be waited for, either via the methods on the interface or by passing a handle to one of the Wait Functions.


Public Member Functions

virtual HANDLE GetWaitHandle () const=0
 Access a HANDLE to wait on by passing it to one of the Wait Functions.
virtual void Wait () const=0
 Wait indefinitely for the object to become signalled.
virtual bool Wait (const DWORD timeoutMillis) const =0
 Wait, with a time limit, for the object to become signalled.

Protected Member Functions

 ~IWaitable ()
 We never delete instances of this interface; you must manage the lifetime of the class that implements it.


Constructor & Destructor Documentation

JetByteTools::Win32::IWaitable::~IWaitable (  )  [inline, protected]

We never delete instances of this interface; you must manage the lifetime of the class that implements it.


Member Function Documentation

virtual HANDLE JetByteTools::Win32::IWaitable::GetWaitHandle (  )  const [pure virtual]

Access a HANDLE to wait on by passing it to one of the Wait Functions.

Implemented in JetByteTools::IO::CAsyncFileReader, JetByteTools::IO::CAsyncFileWriter, JetByteTools::Win32::CAutoResetEvent, JetByteTools::Win32::CEvent, JetByteTools::Win32::CManualResetEvent, JetByteTools::Win32::COverlappedWithEvent, JetByteTools::Win32::CSmartHandle, and JetByteTools::Win32::CThread.

virtual void JetByteTools::Win32::IWaitable::Wait (  )  const [pure virtual]

Wait indefinitely for the object to become signalled.

Implemented in JetByteTools::IO::CAsyncFileReader, JetByteTools::IO::CAsyncFileWriter, JetByteTools::Win32::CAutoResetEvent, JetByteTools::Win32::CEvent, JetByteTools::Win32::CManualResetEvent, JetByteTools::Win32::COverlappedWithEvent, JetByteTools::Win32::CSmartHandle, and JetByteTools::Win32::CThread.

virtual bool JetByteTools::Win32::IWaitable::Wait ( const DWORD  timeoutMillis  )  const [pure virtual]

Wait, with a time limit, for the object to become signalled.

Implemented in JetByteTools::IO::CAsyncFileReader, JetByteTools::IO::CAsyncFileWriter, JetByteTools::Win32::CAutoResetEvent, JetByteTools::Win32::CEvent, JetByteTools::Win32::CManualResetEvent, JetByteTools::Win32::COverlappedWithEvent, JetByteTools::Win32::CSmartHandle, and JetByteTools::Win32::CThread.


Generated on Tue May 8 17:48:13 2007 for JetByte Socket Tools by  doxygen 1.5.2