artdaq_mfextensions  v1_06_02
ma_boolean_andexpr.h
1 #ifndef ERROR_HANDLER_MA_BOOLEAN_ANDEXPR_H
2 #define ERROR_HANDLER_MA_BOOLEAN_ANDEXPR_H
3 
4 #include "ErrorHandler/MessageAnalyzer/ma_boolean_cond.h"
5 
6 #include <list>
7 
8 namespace novadaq {
9 namespace errorhandler {
10 
16 {
17 public:
20 
22  void reset();
23 
24  // evaluateion
25  bool evaluate(ma_domain& value, ma_domain& alarm, ma_domain const& domain) const;
26 
27  // insert a boolean cond
28  void insert(ma_boolean_cond const& cond)
29  {
30  conds.push_back(cond);
31  }
32 
33 private:
34  boolean_conds_t conds;
35 };
36 
37 typedef std::list<ma_boolean_andexpr> boolean_andexprs_t;
38 
39 } // end of namespace errorhandler
40 } // end of namespace novadaq
41 
42 #endif
boolean and-expression consists of a list of boolean elemental conditions connected with &#39;AND&#39; operat...