Belle II Software  release-05-01-25
HistoRelay.h
1 #ifndef HISTORELAY_H
2 #define HISTORELAY_H
3 //+
4 // File : HistoRelay.h
5 // Description : Read Histograms in a TMapFile periodically and
6 // relay them to HistoServer
7 //
8 // Author : Ryosuke Itoh, IPNS, KEK
9 // Date : 3 - Sep - 2013
10 //-
11 
12 #include <string>
13 
14 #include <daq/dataflow/EvtSocket.h>
15 #include <daq/dqm/DqmMemFile.h>
16 
17 namespace Belle2 {
22  class HistoRelay {
23  public:
24  HistoRelay(std::string& filename, std::string& dest, int port);
25  ~HistoRelay();
26 
27  int collect();
28  private:
29  std::string m_filename;
30  DqmMemFile* m_memfile;
31  EvtSocketSend* m_sock;
32  MsgHandler* m_msg;
33 
34  };
36 }
37 
38 #endif
39 
Belle2::EvtSocketSend
Definition: EvtSocket.h:26
Belle2::HistoRelay
Definition: HistoRelay.h:22
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::DqmMemFile
Definition: DqmMemFile.h:28
Belle2::MsgHandler
A class to encode/decode an EvtMessage.
Definition: MsgHandler.h:104