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

Thread Class Reference

#include <mythread.h>

List of all members.

Public Methods

 Thread (Semaphore *sem=NULL, int pri=10)
void SetSemaphore (Semaphore *sem)
virtual ~Thread ()
pthread_t ID ()
bool isExit ()
void Exit ()
int StartMain (void *var=NULL)
int Kill ()
bool isRunning ()
void SetPriority (int pri)
SemaphoreLock ()
int Wait ()
int Post ()

Public Attributes

void * vptr

Protected Methods

virtual void RunMain (void *var=NULL)=0

Protected Attributes

bool run_flag

Friends

void Thread_ThreadRun (Thread *th)


Constructor & Destructor Documentation

Thread::Thread Semaphore   sem = NULL,
int    pri = 10
[inline]
 

virtual Thread::~Thread   [inline, virtual]
 


Member Function Documentation

void Thread::Exit   [inline]
 

pthread_t Thread::ID   [inline]
 

bool Thread::isExit   [inline]
 

bool Thread::isRunning   [inline]
 

int Thread::Kill   [inline]
 

Semaphore * Thread::Lock   [inline]
 

int Thread::Post   [inline]
 

virtual void Thread::RunMain void *    var = NULL [protected, pure virtual]
 

void Thread::SetPriority int    pri [inline]
 

void Thread::SetSemaphore Semaphore   sem [inline]
 

int Thread::StartMain void *    var = NULL [inline]
 

int Thread::Wait   [inline]
 


Friends And Related Function Documentation

void Thread_ThreadRun Thread *    th [friend]
 


Member Data Documentation

bool Thread::run_flag [protected]
 

void* Thread::vptr
 


The documentation for this class was generated from the following file:
Generated on Sun Jun 16 17:36:53 2002 for Anirudh's Vortex-Wake Simulation Code by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001