Thread Class Reference

#include <Thread.h>

List of all members.

Public Member Functions

 Thread ()
virtual ~Thread ()
virtual const int start ()
virtual const int join ()
const bool isRunning () const
const bool isStarted () const
const bool isDone () const
const int getReturnValue () const

Protected Member Functions

virtual void run ()=0

Protected Attributes

pthread_t thread
int retval
bool shouldStop
bool running
bool started

Static Private Member Functions

static void * Start (void *obj)


Constructor & Destructor Documentation

Thread::Thread (  )  [inline]

virtual Thread::~Thread (  )  [inline, virtual]


Member Function Documentation

const int Thread::getReturnValue (  )  const [inline]

const bool Thread::isDone (  )  const [inline]

const bool Thread::isRunning (  )  const [inline]

const bool Thread::isStarted (  )  const [inline]

virtual const int Thread::join (  )  [virtual]

virtual void Thread::run (  )  [protected, pure virtual]

static void* Thread::Start ( void *  obj  )  [static, private]

virtual const int Thread::start (  )  [virtual]


Member Data Documentation

int Thread::retval [protected]

bool Thread::running [protected]

bool Thread::shouldStop [protected]

bool Thread::started [protected]

pthread_t Thread::thread [protected]


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 15:33:26 2007 for MetalWarriors by  doxygen 1.4.7