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

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

#include <CATMsgThread.h>

Inheritance diagram for CATMsgThread:

CATThread CATControllerMapper CATSpeechCmds GASProtoMapper

List of all members.


Detailed Description

Message Thread Base Class.

CATMsgThread is the class to inherit from when you want a thread that responds to messages and has a periodic loop.

Definition at line 27 of file CATMsgThread.h.


Public Member Functions

 CATMsgThread ()
 Thread construction.
virtual ~CATMsgThread ()
 Thread destruction.
virtual bool Start (CATUInt32 pollFreq)
 Start a thread.
virtual void Stop (CATUInt32 timeout=(CATUInt32)-1)
 Stop a thread, cleanly if possible.
virtual void OnThreadIdle ()
 Called once per timeout.
virtual CATUInt32 OnThreadMessage (CATUInt32 msg, CATUInt32 wParam, CATUInt32 lParam)
 Called when messages are received.
bool Post (CATUInt32 msg, CATUInt32 wParam, CATUInt32 lParam)
 Posts a message to the thread.

Protected Member Functions

virtual void ThreadFunction ()

Protected Attributes

CATUInt32 fPollFreq
CATSignal fExitSignal

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