Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CToxiThread Class Reference

#include <CToxiThread.h>

List of all members.

Public Methods

 CToxiThread ()
 CToxiThread (int priority)
 ~CToxiThread ()
void begin ()
void end ()
bool isRunning ()
bool setThreadFunc (void(*Action)(void))
void setPriority (int priority)
int getPriority ()
DWORD ThreadProc ()

Protected Attributes

HANDLE d_threadHandle
DWORD d_threadID
bool d_bIsRunning

Private Attributes

void(* pAction )(void)


Constructor & Destructor Documentation

CToxiThread::CToxiThread  
 

Definition at line 61 of file CToxiThread.cpp.

References d_bIsRunning, d_threadHandle, d_threadID, and setPriority().

CToxiThread::CToxiThread int    priority
 

Definition at line 69 of file CToxiThread.cpp.

References d_bIsRunning, d_threadHandle, d_threadID, and setPriority().

CToxiThread::~CToxiThread  
 

Definition at line 77 of file CToxiThread.cpp.

References end().


Member Function Documentation

void CToxiThread::begin  
 

Definition at line 83 of file CToxiThread.cpp.

References cThreadProc(), d_bIsRunning, d_threadHandle, d_threadID, end(), and ERROR_TITLE.

void CToxiThread::end  
 

Definition at line 111 of file CToxiThread.cpp.

References d_bIsRunning, and d_threadHandle.

Referenced by begin(), and ~CToxiThread().

int CToxiThread::getPriority  
 

Definition at line 106 of file CToxiThread.cpp.

References d_threadHandle.

bool CToxiThread::isRunning  
 

void CToxiThread::setPriority int    priority
 

Definition at line 101 of file CToxiThread.cpp.

References d_threadHandle.

Referenced by CToxiThread().

bool CToxiThread::setThreadFunc void(*    Action)(void)
 

Definition at line 48 of file CToxiThread.cpp.

References pAction.

DWORD CToxiThread::ThreadProc  
 

Definition at line 121 of file CToxiThread.cpp.

References pAction.

Referenced by cThreadProc().


Member Data Documentation

bool CToxiThread::d_bIsRunning [protected]
 

Definition at line 53 of file CToxiThread.h.

Referenced by begin(), CToxiThread(), and end().

HANDLE CToxiThread::d_threadHandle [protected]
 

Definition at line 51 of file CToxiThread.h.

Referenced by begin(), CToxiThread(), end(), getPriority(), and setPriority().

DWORD CToxiThread::d_threadID [protected]
 

Definition at line 52 of file CToxiThread.h.

Referenced by begin(), and CToxiThread().

void(* CToxiThread::pAction)(void) [private]
 

Referenced by setThreadFunc(), and ThreadProc().


The documentation for this class was generated from the following files:
Generated on Mon Sep 23 23:07:01 2002 for ToxiTea by doxygen1.2.18