GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4ExampleClientStatus.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 TGO4EXAMPLECLIENTSTATUS_H
15#define TGO4EXAMPLECLIENTSTATUS_H
16
17#include "TGo4ClientStatus.h"
18#include "TString.h"
19
20class TH1;
21
23
24 friend class TGo4ExampleClient;
25 friend class TGo4ExampleDisplay;
26
27 public:
28
29 TGo4ExampleClientStatus() {} // default ctor for streamer
30
32
33 void Print(Option_t *opt = "") const override;
34
35 private:
36
38 TString fxMainName;
39
41 TString fxWatchName;
42
45
47 void SetNames(const char *main, const char *watch);
48
50 void SetHistoStatus(TH1 *histogram);
51
52 TGo4ExampleClientStatus(const char *name);
53
54 ClassDefOverride(TGo4ExampleClientStatus,1)
55};
56
57#endif //TGO4EXAMPLECLIENTSTATUS_H
int main(int argc, char **argv)
void SetHistoStatus(TH1 *histogram)
Set histogram status.
void SetNames(const char *main, const char *watch)
Set names of the work runnables of example.
void Print(Option_t *opt="") const override
TString fxMainName
Remember name of main thread.
TString fxHistogramName
Remember name of histogram.
TString fxWatchName
Remember name of watch thread.