GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
Go4ThreadManagerExample
TGo4TestRunnable.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 TGo4TestRunnable_h
15
#define TGo4TestRunnable_h
16
17
#include "
TGo4Runnable.h
"
18
19
class
TH1D;
20
64
class
TGo4TestRunnable
:
public
TGo4Runnable
{
65
66
public
:
67
//## Constructors (generated)
68
TGo4TestRunnable
();
69
70
TGo4TestRunnable
(
const
TGo4TestRunnable
&right);
71
72
TGo4TestRunnable
(
const
char
*name,
TGo4ThreadManager
*man, Int_t mode = 0);
73
74
virtual
~TGo4TestRunnable
();
75
76
protected
:
77
82
Int_t
Run
(
void
*ptr)
override
;
83
87
void
ThreadCatch
(
TGo4Exception
&ex)
override
;
88
93
void
UnexpectedCatch
()
override
;
94
95
96
private
:
97
103
Int_t
fiMode
{0};
104
105
// Additional Private Declarations
106
TH1D*
fxHisto
{
nullptr
};
107
108
ClassDefOverride(
TGo4TestRunnable
,1)
109
};
110
111
#endif
TGo4TestRunnable
Definition:
TGo4TestRunnable.h:64
TGo4Runnable.h
TGo4ThreadManager
Definition:
TGo4ThreadManager.h:30
TGo4TestRunnable::fxHisto
TH1D * fxHisto
Definition:
TGo4TestRunnable.h:106
TGo4TestRunnable::UnexpectedCatch
void UnexpectedCatch() override
Definition:
TGo4TestRunnable.cxx:326
TGo4TestRunnable::~TGo4TestRunnable
virtual ~TGo4TestRunnable()
Definition:
TGo4TestRunnable.cxx:47
TGo4TestRunnable::ThreadCatch
void ThreadCatch(TGo4Exception &ex) override
Definition:
TGo4TestRunnable.cxx:312
TGo4TestRunnable::Run
Int_t Run(void *ptr) override
Definition:
TGo4TestRunnable.cxx:52
TGo4TestRunnable::TGo4TestRunnable
TGo4TestRunnable()
Definition:
TGo4TestRunnable.cxx:31
TGo4Runnable
Definition:
TGo4Runnable.h:32
TGo4TestRunnable::fiMode
Int_t fiMode
Definition:
TGo4TestRunnable.h:103
TGo4Exception
Definition:
TGo4Exception.h:20
Generated on Wed Jan 10 2024 15:04:18 for GSI Object Oriented Online Offline (Go4) by
1.8.13