artdaq_mfextensions  v1_06_02
ma_function_is_syncd.h
1 #ifndef ERROR_HANDLER_MA_FUNCTION_IS_SYNCD_H
2 #define ERROR_HANDLER_MA_FUNCTION_IS_SYNCD_H
3 
4 #include "ErrorHandler/MessageAnalyzer/ma_function.h"
5 
6 namespace novadaq {
7 namespace errorhandler {
8 
10 {
11 public:
13  : sync_time(), min(0), max(0) {}
14  virtual ~ma_func_is_syncd() {}
15 
16  virtual boost::any
17  evaluate(ma_condition const& cond, ma_cond_domain);
18 
19  virtual bool
20  grouped_alarm();
21 
22 private:
23  std::map<std::string, uint64_t> sync_time;
24  uint64_t min;
25  uint64_t max;
26 };
27 
28 } // end of namespace errorhandler
29 } // end of namespace novadaq
30 
31 #endif