artdaq_mfextensions  v1_05_00
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 
12 public:
13 
14  ma_func_is_syncd() : sync_time(), min(0), max(0) { }
15  virtual ~ma_func_is_syncd() { }
16 
17  virtual boost::any
18  evaluate ( ma_condition const & cond
19  , ma_cond_domain );
20 
21  virtual bool
22  grouped_alarm( );
23 
24 private:
25 
26  std::map<std::string, uint64_t> sync_time;
27  uint64_t min;
28  uint64_t max;
29 
30 };
31 
32 
33 } // end of namespace errorhandler
34 } // end of namespace novadaq
35 
36 #endif
37 
38 
39 
40 
41 
42 
43 
44 
45 
46 
47