GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4ThreadException.h
Go to the documentation of this file.
1 // $Id$
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 fuer 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:
32  TGo4ThreadException() = delete;
33 
35 
36  TGo4ThreadException (TGo4Runnable *runnable, const char *threadname = nullptr);
37 
38  virtual ~TGo4ThreadException();
39 
41 
43  Int_t Handle() override = 0;
44 
45  const char *GetThreadName() const;
46 
47  protected:
49  TString fxThreadName;
50 
54 
57 
58 };
59 
60 #endif
TGo4ThreadException & operator=(const TGo4ThreadException &right)
TGo4Runnable * fxRunnable
TGo4ThreadException()=delete
const char * GetThreadName() const
Int_t Handle() override=0
TGo4ThreadHandler * fxThreadHandler