GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ExampleClientStatus.h
Go to the documentation of this file.
1 // $Id: TGo4ExampleClientStatus.h 478 2009-10-29 12:26:09Z linev $
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 für 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 
20 class TH1;
21 
23 
24  friend class TGo4ExampleClient;
25  friend class TGo4ExampleDisplay;
26 
27  public:
28 
29  TGo4ExampleClientStatus() {}; // default ctor for streamer
30 
31  virtual ~TGo4ExampleClientStatus();
32 
38  virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
39 
40  private:
41 
43  TString fxMainName;
44 
46  TString fxWatchName;
47 
49  TString fxHistogramName;
50 
52  void SetNames(const char* main, const char* watch);
53 
55  void SetHistoStatus(TH1* histogram);
56 
57  TGo4ExampleClientStatus(const char* name);
58 
59  ClassDef(TGo4ExampleClientStatus,1)
60 };
61 
62 #endif //TGO4EXAMPLECLIENTSTATUS_H
int main(int argc, char **argv)
void SetHistoStatus(TH1 *histogram)
void SetNames(const char *main, const char *watch)
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)