GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4TaskHandlerException.cxx
Go to the documentation of this file.
1 // $Id: TGo4TaskHandlerException.cxx 2757 2020-04-16 11:45:21Z 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 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 
15 
16 #include "TGo4TaskHandler.h"
18 
20 {
21  fxDescription= "!!!-- Go4 TaskHandler Exception --!!!";
22  fxCaller=0;
23  fxTaskHandler=taskhandler;
24  if(fxTaskHandler)
25  {
26  // o.k. we have a given taskhandler
28  }
29  else
30  {
31  // wrong call with zero pointer: dummy init of manager, will be checked in Handle()
33  }
34 }
35 
37 {
38  fxDescription= "!!!-- Go4 TaskHandler Exception --!!!";
39  fxCaller=run;
40  if(fxCaller)
41  {
43  }
44  else
45  {
46  fxTaskHandler=0;
47  }
48 
49  if(fxTaskHandler)
50  {
51  // o.k. we have a given taskhandler
53  }
54  else
55  {
56  // wrong call with zero pointer: dummy init of manager, will be checked in Handle()
58  }
59 }
60 
62 {
63 }
TGo4ThreadManager * fxThreadManager
TGo4ThreadManager * GetThreadManager() const
TGo4TaskHandler * GetTaskHandler()
TGo4TaskHandlerRunnable * fxCaller
TString fxDescription
Definition: TGo4Exception.h:38