17 #include "Riostream.h"
27 fbAnalysisRunning(false)
37 fbAnalysisRunning(false)
39 GO4TRACE((12,
"TGo4AnalysisClientStatus::TGo4AnalysisClientStatus(const char*)",__LINE__, __FILE__));
48 GO4TRACE((12,
"TGo4AnalysisClientStatus::PrintStatus()",__LINE__, __FILE__));
51 Text_t localbuf[4096];
52 if(buflen<=0 && buffer!=0)
return 0;
53 Text_t* current=localbuf;
55 Int_t restlen=locallen;
56 current=
PrintBuffer(current,restlen,
"G-OOOO-> Analysis Client Status Class %s Printout: <-OOOO-G\n",GetName());
57 current=
PrintBuffer(current,restlen,
"G-OOOO-> ---------------------------------------------- <-OOOO-G\n");
65 current=
PrintBuffer(current,restlen,
"G-OOOO-> ---------------------------------------------- <-OOOO-G\n");
69 current=
PrintBuffer(current,restlen,
"G-OOOO-> END Analysis Client Status Class Printout END <-OOOO-G\n");
72 std::cout << localbuf << std::endl;
78 strncpy(buffer,localbuf,size);
85 GO4TRACE((12,
"TGo4AnalysisClientStatus::SetRates(...)",__LINE__, __FILE__));
void SetRates(Double_t rate, Double_t average, ULong64_t counts, Double_t time)
Bool_t IsAnalysisRunning()
ULong64_t GetCurrentCount() const
Double_t GetAvRate() const
virtual ~TGo4AnalysisClientStatus()
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
const char * GetDateTime() const
static Text_t * PrintBuffer(char *buffer, Int_t &buflen, const char *text,...)
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
TGo4AnalysisClientStatus()
const char * GetCurrentSource() const