LCOV - code coverage report
Current view: top level - /opt/artdaq/srcs/artdaq-mfextensions/ErrorHandler/MessageAnalyzer - ma_boolean_expr.h (source / functions) Coverage Total Hit
Test: artdaq.info.cleaned Lines: 0.0 % 4 0
Test Date: 2025-09-04 00:45:34 Functions: 0.0 % 2 0

            Line data    Source code
       1              : #ifndef ERROR_HANDLER_MA_BOOLEAN_EXPR_H
       2              : #define ERROR_HANDLER_MA_BOOLEAN_EXPR_H
       3              : 
       4              : #include "ErrorHandler/MessageAnalyzer/ma_boolean_andexpr.h"
       5              : 
       6              : namespace novadaq {
       7              : namespace errorhandler {
       8              : 
       9              : //-------------------------------------------------------------------
      10              : //
      11              : // boolean expression consists of a list of boolean and-expression
      12              : // connected with 'OR' operator
      13              : //
      14              : //-------------------------------------------------------------------
      15              : 
      16              : class ma_boolean_expr
      17              : {
      18              : public:
      19              :         // c'tor
      20            0 :         ma_boolean_expr() {}
      21              : 
      22              :         // reset
      23              :         void reset();
      24              : 
      25              :         // evaluation
      26              :         bool evaluate(ma_domain& value, ma_domain& alarm, ma_domain const& domain) const;
      27              : 
      28              :         // insert an boolean and-expression
      29            0 :         void insert(ma_boolean_andexpr const& andexpr)
      30              :         {
      31            0 :                 andexprs.push_back(andexpr);
      32            0 :         }
      33              : 
      34              : private:
      35              :         boolean_andexprs_t andexprs;
      36              : };
      37              : 
      38              : }  // end of namespace errorhandler
      39              : }  // end of namespace novadaq
      40              : 
      41              : #endif
        

Generated by: LCOV version 2.0-1