00001 // $Id: TGo4ExampleClientStatus.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4EXAMPLECLIENTSTATUS_H 00015 #define TGO4EXAMPLECLIENTSTATUS_H 00016 00017 #include "TGo4ClientStatus.h" 00018 #include "TString.h" 00019 00020 class TH1; 00021 00022 class TGo4ExampleClientStatus : public TGo4ClientStatus { 00023 00024 friend class TGo4ExampleClient; 00025 friend class TGo4ExampleDisplay; 00026 00027 public: 00028 00029 TGo4ExampleClientStatus() {}; // default ctor for streamer 00030 00031 virtual ~TGo4ExampleClientStatus(); 00032 00038 virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0); 00039 00040 private: 00041 00043 TString fxMainName; 00044 00046 TString fxWatchName; 00047 00049 TString fxHistogramName; 00050 00052 void SetNames(const char* main, const char* watch); 00053 00055 void SetHistoStatus(TH1* histogram); 00056 00057 TGo4ExampleClientStatus(const char* name); 00058 00059 ClassDef(TGo4ExampleClientStatus,1) 00060 }; 00061 00062 #endif //TGO4EXAMPLECLIENTSTATUS_H