Line data Source code
1 : #ifndef ERROR_HANDLER_MA_FUNCTION_COUNT_H
2 : #define ERROR_HANDLER_MA_FUNCTION_COUNT_H
3 :
4 : #include "ErrorHandler/MessageAnalyzer/ma_function.h"
5 :
6 : namespace novadaq {
7 : namespace errorhandler {
8 :
9 : class ma_func_count : public ma_function
10 : {
11 : public:
12 : // c'tor and d'tor
13 0 : ma_func_count()
14 0 : : count_type(SOURCE) {}
15 0 : virtual ~ma_func_count() {}
16 :
17 : // evaluate function
18 : virtual boost::any
19 : evaluate(ma_condition const& cond, ma_cond_domain dom);
20 :
21 : // parse arguments
22 : virtual bool
23 : parse_arguments(anys_t const& args);
24 :
25 : private:
26 : arg_t count_type;
27 : };
28 :
29 : } // end of namespace errorhandler
30 : } // end of namespace novadaq
31 :
32 : #endif
|