GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ThreadException.h
Go to the documentation of this file.
1 // $Id: TGo4ThreadException.h 1196 2014-04-10 14:06:24Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGo4ThreadException_h
15 #define TGo4ThreadException_h
16 
17 #include "TGo4ControlException.h"
18 #include "TString.h"
19 
20 class TGo4Runnable;
21 class TGo4ThreadHandler;
22 
31  public:
33 
34  TGo4ThreadException (TGo4Runnable* runnable, const char* threadname = 0);
35 
36  virtual ~TGo4ThreadException();
37 
39 
41  virtual Int_t Handle () = 0;
42 
43  const char* GetThreadName ();
44 
45  protected:
47  TString fxThreadName;
48 
52 
55 
56  private:
58 };
59 
60 #endif
TGo4ThreadException & operator=(const TGo4ThreadException &right)
const char * GetThreadName()
TGo4Runnable * fxRunnable
virtual Int_t Handle()=0
TGo4ThreadHandler * fxThreadHandler