artdaq  v3_07_02
swig_artdaq.h
1 #ifndef ARTDAQ_TOOLS_ARTDAQ_H
2 #define ARTDAQ_TOOLS_ARTDAQ_H
3 
4 #include "artdaq/DAQdata/Globals.hh"
5 
11 {
12 public:
13  explicit swig_artdaq(std::string config_string);
14  ~swig_artdaq();
15 
16  void send_metric(std::string name, int level, std::string value, std::string unit);
17  void send_metric(std::string name, int level, int value, std::string unit);
18  void send_metric(std::string name, int level, double value, std::string unit);
19 
20  void send_sum_metric(std::string name, int level, std::string value, std::string unit);
21  void send_sum_metric(std::string name, int level, int value, std::string unit);
22  void send_sum_metric(std::string name, int level, double value, std::string unit);
23 
24  void send_rate_metric(std::string name, int level, std::string value, std::string unit);
25  void send_rate_metric(std::string name, int level, int value, std::string unit);
26  void send_rate_metric(std::string name, int level, double value, std::string unit);
27 
28  void write_error(std::string name, std::string message);
29  void write_warning(std::string name, std::string message);
30  void write_info(std::string name, std::string message);
31  void write_debug(std::string name, std::string message);
32  void write_trace(int level, std::string name, std::string message);
33 };
34 
35 #endif //ARTDAQ_TOOLS_ARTDAQ_H