16 #include "Riostream.h"
37 GO4TRACE((15,
"TGo4ExampleClient::TGo4ExampleClient(const char*, const char*, Uint_t, Bool_t) constructor",__LINE__, __FILE__));
53 GO4TRACE((15,
"TGo4ExampleClient::~TGo4ExampleClient() destructor",__LINE__, __FILE__));
60 GO4TRACE((12,
"TGo4ExampleClient::CreateStatus()",__LINE__, __FILE__));
68 GO4TRACE((12,
"TGo4ExampleClient::UpdateStatus(TGo4ClientStatus*)",__LINE__, __FILE__));
78 GO4TRACE((12,
"TGo4ExampleClient::Stop()",__LINE__, __FILE__));
79 std::cout <<
"Stop of example client!"<<std::endl;
81 TGo4Log::Debug(
" ExampleClient ''%s'' executing Stop(): stop main thread",GetName());
86 GO4TRACE((12,
"TGo4ExampleClient::Start()",__LINE__, __FILE__));
87 std::cout <<
"Start of example client!"<<std::endl;
89 TGo4Log::Debug(
" ExampleClient ''%s'' executing Start(): start main thread",GetName());
94 GO4TRACE((12,
"TGo4ExampleClient::GetApplication()",__LINE__, __FILE__));
static const char * fgcWATCHTHREAD
TGo4ThreadHandler * fxWorkHandler
TGo4ExampleApplication * fxApplication
TGo4BufferQueue * GetDataQueue(const char *task=0)
Bool_t NewThread(const char *name, TGo4Runnable *runnable)
TH1D * GetHistogram(const char *HistogramName)
void SetHistoStatus(TH1 *histogram)
void SetNames(const char *main, const char *watch)
Bool_t Stop(const char *thname)
Bool_t Start(const char *thname)
void SetMaster(Bool_t on=kTRUE)
TGo4TaskHandler * GetTaskHandler()
virtual ~TGo4ExampleClient()
virtual TGo4TaskStatus * CreateStatus()
TGo4ExampleApplication * GetApplication()
virtual void UpdateStatus(TGo4ClientStatus *state)
static const char * fgcMAINTHREAD
static void Debug(const char *text,...)
virtual void UpdateStatus(TGo4TaskStatus *state)