GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4TestThreadManager.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 TGo4TestThreadManager_h
15 #define TGo4TestThreadManager_h
16 
17 #include "TGo4ThreadManager.h"
18 
19 class TPad;
20 class TCanvas;
21 class TGo4TestRunnable;
22 
35 {
36 
37  public:
38  TGo4TestThreadManager (const char *name);
39 
40  virtual ~TGo4TestThreadManager();
41 
46  virtual Int_t TestAction();
47 
48  TCanvas *GetCanvas() const { return fxCanvas; }
49 
50  TPad *GetPad1() const { return fxPad1; }
51 
52  TPad *GetPad2() const { return fxPad1; }
53 
54 
55  protected:
56  // Data Members for Associations
57 
59 
60  private:
61 
62  TCanvas *fxCanvas{nullptr};
63  TPad *fxPad1{nullptr};
64  TPad *fxPad2{nullptr};
65 
66  ClassDefOverride(TGo4TestThreadManager,1)
67 };
68 
69 #endif
TCanvas * GetCanvas() const
TGo4TestRunnable * fxControlRunnable
TGo4TestThreadManager(const char *name)