Thread.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002  *  Thread.h
00003  *
00004  *  (C) 2006 AG Aktives Sehen <agas@uni-koblenz.de>
00005  *           Universitaet Koblenz-Landau
00006  *
00007  *  Information on Code Review state:
00008  *  §Author: R5; DevelTest: Date; Reviewer: R5; Review: Date; State: OK§
00009  *
00010  *  Additional information:
00011  *  $Id: Thread.h 44313 2011-04-06 22:46:28Z agas $
00012  ******************************************************************************/
00013 
00014 #ifndef THREAD_H
00015 #define THREAD_H
00016 
00017 #include "Types.h"  //Definitions for POSIX-Threads
00018 #include "Mutex.h"
00019 
00041 class Thread
00042 {
00043 
00044         public:
00045 
00046                 virtual ~Thread() {};
00047 
00053                 void start(const char* name=0);
00054 
00058                 void cancel();
00059 
00063                 void join();
00064 
00068                 void testCancel();
00069 
00073                 void setCancelSettings();
00074 
00080     virtual void run() = 0;
00081 
00082         protected:
00083 
00087                 TThread m_Thread;
00088     
00089 
00090 };
00091 
00092 #endif


robbie_architecture
Author(s): Viktor Seib
autogenerated on Mon Oct 6 2014 02:53:09