Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4StatusAnalysis/TGo4AnalysisClientStatus.h

Go to the documentation of this file.
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 TGO4ANALYSISCLIENTSTATUS_H
00017 #define TGO4ANALYSISCLIENTSTATUS_H
00018 
00019 #include "Go4TaskHandler/TGo4ClientStatus.h"
00020 #include "TString.h"
00021 
00022 class TGo4AnalysisClientStatus : public TGo4ClientStatus {
00023   friend class TGo4AnalysisClient;
00024 
00025   public:
00026 
00027     TGo4AnalysisClientStatus();
00028     
00029     virtual ~TGo4AnalysisClientStatus() ;
00030 
00031     Double_t GetRate() const { return fdRate; }
00032 
00033     Double_t GetAvRate() const { return fdAveRate; }
00034 
00035     Double_t GetTime() const { return fdTime; }
00036 
00037     UInt_t GetCurrentCount() const { return fuCurrentCount; }
00038 
00039     const char* GetDateTime() const { return fxDateString.Data(); }
00040 
00043     virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
00044 
00045   private:
00046     void SetRates(Double_t rate, Double_t average, UInt_t counts, Double_t time);
00047 
00048     TGo4AnalysisClientStatus(const char* name);
00049 
00051     UInt_t fuCurrentCount;
00052 
00054     Double_t fdRate;
00055 
00057     Double_t fdAveRate;
00058 
00060     Double_t fdTime;
00061 
00063     TString fxDateString;
00064 
00065   ClassDef(TGo4AnalysisClientStatus,1)
00066   
00067 };
00068 
00069 #endif //TGO4ANALYSISCLIENTSTATUS_H
00070 
00071 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:55:50 2005 for Go4-v2.10-5 by doxygen1.2.15