16 #include "Riostream.h"
22 fxTaskHandlerStatus(0)
28 fxTaskHandlerStatus(0)
58 if(buflen<=0 && buffer!=0)
return 0;
61 Text_t localbuf[4096];
62 Text_t* current=localbuf;
64 Int_t restlen=locallen;
65 current=
PrintBuffer(current,restlen,
"G-OOOO-> Client Status Class %s Printout: <-OOOO-G\n",GetName());
66 current=
PrintBuffer(current,restlen,
"G-OOOO-> ---------------------------------------------- <-OOOO-G\n");
72 current=
PrintBuffer(current,restlen,
"G-OOOO-> ---------------------------------------------- <-OOOO-G\n");
76 current=
PrintBuffer(current,restlen,
"G-OOOO-> END Client Status Class Printout END <-OOOO-G\n");
79 std::cout << localbuf << std::endl;
83 size=locallen-restlen;
86 strncpy(buffer,localbuf,size);
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
void SetTaskHandlerStatus(TGo4TaskHandlerStatus *thstate)
TGo4TaskHandlerStatus * fxTaskHandlerStatus
virtual ~TGo4TaskStatus()
void SetFlags(Bool_t blocking, Bool_t autocreate, Bool_t autostart, Bool_t terminating, Bool_t initdone)
static Text_t * PrintBuffer(char *buffer, Int_t &buflen, const char *text,...)