22 #ifndef _WatcherClient
34 FrameDispatcher(name, title,mother_dir_of_watcher,mother_dir_tag),
39 fError = MakeTH1<TH1F>(
"SocketError",
"[0,...,5] : [ok,bad socket,buf size 0,buf size too big,bad buffer]",5,0,5,
"Performances");
40 fError->GetXaxis()->SetBinLabel(1,
"ok");
41 fError->GetXaxis()->SetBinLabel(2,
"bad_socket");
42 fError->GetXaxis()->SetBinLabel(3,
"buf_size_zero");
43 fError->GetXaxis()->SetBinLabel(4,
"buf_size_big");
44 fError->GetXaxis()->SetBinLabel(5,
"buf_transfert");
57 fBlock.
Rewind(ConfAgent::kWrite);
69 if ( !gROOT->IsBatch() )
70 gSystem->ProcessEvents();
void Pass()
force fHasExecuted (recursively) to true
virtual void Rewind(ConfAgent::EMode mode=ConfAgent::kRead)
Rewind to be ready to be used again.
virtual UInt_t ProcessBlock(ADF::FrameBlock &)
look for a Frame using the Trigger and dispatch it to sustasks
WatcherClient(const char *name, const char *title, TDirectory *mother_dir_of_watcher=0x0, TDirectory *mother_dir_tag=0x0)
virtual void ShowStat(Option_t *option="")
LogMessage & dolog(LogMessage &)
virtual void Exec(Option_t *option="")
to get a new block of Frames and send it to the ProcessBlock
To get a buffer from an actor, trigg on a Frame and dispach the Frame to sub-watchers.
Bool_t SetConnection(const Char_t *machine="localhost", UInt_t port=9090)
change the place where are picked data
virtual void Print(std::ostream &out=std::cout) const
Print some informations (statistics)
virtual UInt_t ProcessBlock(ADF::FrameBlock &)
load the next block
LogMessage Log
to send messages to the log server
Bool_t SetConnection(const Char_t *machine="localhost", UInt_t port=9090)
change the place where are picked data