16 #include "Riostream.h"
55 if(buflen<=0 && buffer!=0)
58 Text_t localbuf[4096];
59 Text_t* current=localbuf;
60 Int_t restlen=locallen;
62 current=
PrintBuffer(current,restlen,
"G-OOOO-> TaskHandler Status Class %s Printout: <-OOOO-G\n",GetName());
63 current=
PrintBuffer(current,restlen,
"G-OOOO-> --------------------------------------------------------------------- <-OOOO-G\n");
74 current=
PrintBuffer(current,restlen,
"G-OOOO-> Aborting State: TRUE\n");
78 current=
PrintBuffer(current,restlen,
"G-OOOO-> Aborting State: FALSE\n");
80 current=
PrintBuffer(current,restlen,
"G-OOOO-> END TaskHandler Status Class Printout END <-OOOO-G\n");
83 std::cout << localbuf << std::endl;
87 size=locallen-restlen;
90 strncpy(buffer,localbuf,size);
void SetPorts(UInt_t neg, Int_t com, Int_t stat, Int_t dat)
const char * GetDatName() const
const char * GetComName() const
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
const char * GetHostName() const
void SetFlags(Bool_t isaborting)
const char * GetStatName() const
static Text_t * PrintBuffer(char *buffer, Int_t &buflen, const char *text,...)
virtual ~TGo4TaskHandlerStatus()
void SetNames(const char *com, const char *stat, const char *dat, const char *host)