GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
Go4ThreadManagerExample
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
34
class
TGo4TestThreadManager
:
public
TGo4ThreadManager
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
58
TGo4TestRunnable
*
fxControlRunnable
{
nullptr
};
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
TGo4TestRunnable
Definition:
TGo4TestRunnable.h:64
TGo4TestThreadManager::fxCanvas
TCanvas * fxCanvas
Definition:
TGo4TestThreadManager.h:62
TGo4TestThreadManager::GetCanvas
TCanvas * GetCanvas() const
Definition:
TGo4TestThreadManager.h:48
TGo4ThreadManager
Definition:
TGo4ThreadManager.h:30
TGo4TestThreadManager::TestAction
virtual Int_t TestAction()
Definition:
TGo4TestThreadManager.cxx:63
TGo4TestThreadManager::fxPad1
TPad * fxPad1
Definition:
TGo4TestThreadManager.h:63
TGo4TestThreadManager::GetPad2
TPad * GetPad2() const
Definition:
TGo4TestThreadManager.h:52
TGo4TestThreadManager::fxControlRunnable
TGo4TestRunnable * fxControlRunnable
Definition:
TGo4TestThreadManager.h:58
TGo4TestThreadManager
Definition:
TGo4TestThreadManager.h:34
TGo4TestThreadManager::fxPad2
TPad * fxPad2
Definition:
TGo4TestThreadManager.h:64
TGo4TestThreadManager::~TGo4TestThreadManager
virtual ~TGo4TestThreadManager()
Definition:
TGo4TestThreadManager.cxx:55
TGo4ThreadManager.h
TGo4TestThreadManager::GetPad1
TPad * GetPad1() const
Definition:
TGo4TestThreadManager.h:50
TGo4TestThreadManager::TGo4TestThreadManager
TGo4TestThreadManager(const char *name)
Definition:
TGo4TestThreadManager.cxx:22
Generated on Wed Jan 10 2024 15:04:18 for GSI Object Oriented Online Offline (Go4) by
1.8.13