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

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

#include <CATThread.h>

Inheritance diagram for CATThread:

CATMsgThread CATControllerMapper CATSpeechCmds GASProtoMapper

List of all members.


Detailed Description

Base Thread Class.

CATThread is your basic thread class. You can derive classes from it or use as-is with a user-defined CATTHREADPROC

Definition at line 25 of file CATThread.h.


Public Types

typedef void(* CATTHREADPROC )(void *param, CATThread *theThread)

Public Member Functions

 CATThread ()
 Thread construction.
virtual ~CATThread ()
 Thread destruction.
virtual bool Start (void *param)
virtual bool StartProc (CATTHREADPROC proc, void *param)
virtual bool WaitStop (CATUInt32 timeout=(CATUInt32)-1, CATUInt32 *exitCode=0)
virtual void ForceStop ()
virtual bool Pause ()
 Pause the thread. Thread must have been started before use.
virtual bool Resume ()
 Resume the thread. Thread must have been started before use.

Protected Member Functions

virtual void ThreadFunction ()

Static Protected Member Functions

static unsigned int _stdcall W32ThreadProc (void *param)

Protected Attributes

CATUInt32 fThreadId
 thread id
HANDLE fThreadHandle
 Thread handle.
CATTHREADPROC fCallback
 Callback.
void * fUserParam
 User parameter for thread.

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