GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4AnalysisMainRunnable.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 TGO4ANALYSISMAINRUNNABLE_H
15#define TGO4ANALYSISMAINRUNNABLE_H
16
17#include "TGo4Runnable.h"
18
20class TGo4Analysis;
21
30 public:
31
32 TGo4AnalysisMainRunnable(const char *name, TGo4AnalysisClient *cli);
33
35
36 Int_t Run(void *) override;
37
38 Int_t PreRun(void *) override;
39
40 Int_t PostRun(void *) override;
41
44 static const UInt_t fguPOLLINTERVAL;
45
46 private:
51
56
58};
59
60#endif //TGO4ANALYSISMAINRUNNABLE_H
Int_t Run(void *) override
The working function which runs in the thread.
Int_t PostRun(void *) override
Function which is called once after the Run()method on threadstop.
Int_t PreRun(void *) override
Function which is called once before the Run() method on threadstart.
static const UInt_t fguPOLLINTERVAL
frequency in ms for polling the run flag (server mode without command queue)
TGo4AnalysisClient * fxAnalysisClient
1
TGo4AnalysisMainRunnable(const char *name, TGo4AnalysisClient *cli)
The mother of all go4 analysis.
TGo4Runnable(const TGo4Runnable &right)