thread_c Class Reference

#include <thread.h>

Inheritance diagram for thread_c:

Inheritance graph

List of all members.

Public Member Functions

 thread_c (void)
virtual ~thread_c (void)
bool start ()
virtual void stop ()
void kill ()
bool isRunning (void)
 return true, if the thread is running

Protected Member Functions

virtual void run (void)=0

Private Member Functions

 thread_c (const thread_c &)
void operator= (const thread_c &)

Private Attributes

pthread_t id
bool running


void * start_thread (void *dat)

Constructor & Destructor Documentation

thread_c::thread_c ( void   )  [inline]

thread_c::~thread_c ( void   )  [virtual]

References kill().

thread_c::thread_c ( const thread_c  )  [private]

Member Function Documentation

bool thread_c::isRunning ( void   )  [inline]

return true, if the thread is running

References running.

void thread_c::kill (  ) 

References running.

Referenced by solveThread_c::~solveThread_c(), and ~thread_c().

void thread_c::operator= ( const thread_c  )  [private]

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

Implemented in solveThread_c.

Referenced by start_thread().

bool thread_c::start (  ) 

References start_thread.

Referenced by solveThread_c::start().

virtual void thread_c::stop ( void   )  [inline, virtual]

Reimplemented in solveThread_c.

Friends And Related Function Documentation

void* start_thread ( void *  dat  )  [friend]

Referenced by start().

Member Data Documentation

pthread_t thread_c::id [private]

bool thread_c::running [private]

Referenced by isRunning(), kill(), and start_thread().

The documentation for this class was generated from the following files:

Generated on Sun Oct 10 10:03:13 2010 for BurrTools by  doxygen 1.5.8