Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATSignal Class Reference

CATSignal Class Reference
[Common Accessibility Technology [CAT] library]

#include <CATSignal.h>

List of all members.


Detailed Description

Defines an interface for signals (win32 events) for thread syncs.

CATSignal provides a signal or event interface for synchronization between threads. The signal acts like a gate - when fired, it lets someone through. If set to auto-reset, then it only lets the next caller requesting it through. Otherwise, it will allow callers through until it is reset.

Definition at line 28 of file CATSignal.h.


Public Member Functions

 CATSignal (bool autoReset=true)
virtual ~CATSignal ()
CATResult Wait (CATUInt32 milliseconds=0xFFFFFFFF)
CATResult Fire ()
 Fire() fires the signal, which then allows caller(s) through.
CATResult Reset ()
 Reset() resets the signal, making the signal block callers.
HANDLE GetWin32Handle ()

Private Member Functions

CATSignaloperator= (const CATSignal &srcSignal)

Private Attributes

HANDLE fEvent

The documentation for this class was generated from the following files:
Generated on Mon Feb 11 04:10:51 2008 for Game Accessibility Suite by doxygen 1.5.4