00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 00017 00018 #ifndef TGo4ThreadException_h 00019 #define TGo4ThreadException_h 1 00020 00021 00022 #include "Go4Exceptions/TGo4ControlException.h" 00023 #include "TString.h" 00024 00025 class TGo4Runnable; 00026 class TGo4ThreadHandler; 00027 00036 class TGo4ThreadException : public TGo4ControlException 00037 { 00038 public: 00039 TGo4ThreadException(const TGo4ThreadException &right); 00040 00041 TGo4ThreadException (TGo4Runnable* runnable, const Text_t* threadname = 0); 00042 00043 virtual ~TGo4ThreadException(); 00044 00045 TGo4ThreadException & operator=(const TGo4ThreadException &right); 00046 00050 virtual Int_t Handle () = 0; 00051 00052 const Text_t* GetThreadName (); 00053 00054 00055 00056 protected: 00061 TString fxThreadName; 00062 00067 TGo4Runnable *fxRunnable; 00068 00072 TGo4ThreadHandler *fxThreadHandler; 00073 00074 private: 00075 TGo4ThreadException(); 00076 00077 }; 00078 00079 00080 00081 #endif 00082 00083 00084 00085 00086 //----------------------------END OF GO4 SOURCE FILE ---------------------