Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Thread Class Reference

#include <thread.h>

Inheritance diagram for Thread:

BC_Clipboard BC_DialogThread BC_NewFolderThread BC_ProgressBox BC_Repeater BC_WindowEvents RotateEngine BC_DeleteThread List of all members.

Public Member Functions

 Thread (int synchronous=0, int realtime=0, int autodelete=0)
virtual ~Thread ()
void start ()
int end (pthread_t tid)
int end ()
int cancel ()
int join ()
int suspend_thread ()
int continue_thread ()
int exit_thread ()
int enable_cancel ()
int disable_cancel ()
int get_cancel_enabled ()
int running ()
int set_synchronous (int value)
int set_realtime (int value=1)
int set_autodelete (int value)
int get_autodelete ()
int get_realtime ()
int get_synchronous ()
int get_tid ()

Static Public Member Functions

static int calculate_realtime ()

Protected Member Functions

virtual void run ()=0

Static Private Member Functions

static void * entrypoint (void *parameters)

Private Attributes

int synchronous
int realtime
int autodelete
int thread_running
pthread_t tid
int tid_valid
int cancel_enabled

Detailed Description

Definition at line 12 of file thread.h.


Constructor & Destructor Documentation

Thread::Thread int  synchronous = 0,
int  realtime = 0,
int  autodelete = 0
 

Definition at line 10 of file thread.C.

Thread::~Thread  )  [virtual]
 

Definition at line 21 of file thread.C.


Member Function Documentation

int Thread::calculate_realtime  )  [static]
 

Definition at line 205 of file thread.C.

int Thread::cancel  ) 
 

Definition at line 102 of file thread.C.

int Thread::continue_thread  ) 
 

Definition at line 166 of file thread.C.

int Thread::disable_cancel  ) 
 

Definition at line 136 of file thread.C.

int Thread::enable_cancel  ) 
 

Definition at line 129 of file thread.C.

int Thread::end  ) 
 

Definition at line 96 of file thread.C.

int Thread::end pthread_t  tid  ) 
 

Definition at line 87 of file thread.C.

void * Thread::entrypoint void *  parameters  )  [static, private]
 

Definition at line 25 of file thread.C.

int Thread::exit_thread  ) 
 

Definition at line 148 of file thread.C.

int Thread::get_autodelete  ) 
 

Definition at line 195 of file thread.C.

int Thread::get_cancel_enabled  ) 
 

Definition at line 143 of file thread.C.

int Thread::get_realtime  ) 
 

Definition at line 212 of file thread.C.

int Thread::get_synchronous  ) 
 

Definition at line 200 of file thread.C.

int Thread::get_tid  ) 
 

Definition at line 217 of file thread.C.

int Thread::join  ) 
 

Definition at line 113 of file thread.C.

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

Implemented in BC_Clipboard, BC_DialogThread, BC_NewFolderThread, BC_ProgressBox, BC_Repeater, BC_WindowEvents, and RotateEngine.

int Thread::running  ) 
 

Definition at line 172 of file thread.C.

int Thread::set_autodelete int  value  ) 
 

Definition at line 189 of file thread.C.

int Thread::set_realtime int  value = 1  ) 
 

Definition at line 183 of file thread.C.

int Thread::set_synchronous int  value  ) 
 

Definition at line 177 of file thread.C.

void Thread::start  ) 
 

Reimplemented in BC_DialogThread, and BC_WindowEvents.

Definition at line 54 of file thread.C.

int Thread::suspend_thread  ) 
 

Definition at line 160 of file thread.C.


Member Data Documentation

int Thread::autodelete [private]
 

Definition at line 47 of file thread.h.

int Thread::cancel_enabled [private]
 

Definition at line 51 of file thread.h.

int Thread::realtime [private]
 

Definition at line 46 of file thread.h.

int Thread::synchronous [private]
 

Definition at line 45 of file thread.h.

int Thread::thread_running [private]
 

Definition at line 48 of file thread.h.

pthread_t Thread::tid [private]
 

Definition at line 49 of file thread.h.

int Thread::tid_valid [private]
 

Definition at line 50 of file thread.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:38 2006 for Guicast-svn by  doxygen 1.4.4