00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4EXAMPLECLIENTSTATUS_H 00017 #define TGO4EXAMPLECLIENTSTATUS_H 00018 00019 #include "Go4TaskHandler/TGo4ClientStatus.h" 00020 #include "TString.h" 00021 #include "TH1.h" 00022 00023 class TGo4ExampleClientStatus : public TGo4ClientStatus { 00024 00025 friend class TGo4ExampleClient; 00026 friend class TGo4ExampleDisplay; 00027 friend class TGo4Display; 00028 00029 public: 00030 00031 TGo4ExampleClientStatus() {}; // default ctor for streamer 00032 00033 virtual ~TGo4ExampleClientStatus(); 00034 00040 virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0); 00041 00042 private: 00043 00045 TString fxMainName; 00046 00048 TString fxWatchName; 00049 00051 TString fxHistogramName; 00052 00054 void SetNames(const char* main, const char* watch); 00055 00057 void SetHistoStatus(TH1* histogram); 00058 00059 TGo4ExampleClientStatus(const char* name); 00060 00061 ClassDef(TGo4ExampleClientStatus,1) 00062 }; 00063 00064 #endif //TGO4EXAMPLECLIENTSTATUS_H 00065 00066 //----------------------------END OF GO4 SOURCE FILE ---------------------