1 #ifndef ERROR_HANDLER_MA_HITMAP_H
2 #define ERROR_HANDLER_MA_HITMAP_H
4 #include "ErrorHandler/MessageAnalyzer/ma_types.h"
5 #include "ErrorHandler/MessageAnalyzer/ma_utils.h"
6 #include "ErrorHandler/MessageAnalyzer/ma_domain_ops.h"
7 #include "ErrorHandler/MessageAnalyzer/ma_cell.h"
14 namespace errorhandler {
23 void set_parent(
ma_condition * parent ) { cond = parent; }
25 unsigned int capture(
qt_mf_msg const & msg
26 , std::string
const & src
27 , std::string
const & tgt
28 , boost::smatch
const & what );
30 bool event(
size_t src,
size_t tgt, time_t t);
32 const static std::string global_s;
33 const static std::string global_t;
39 int find_source(std::string
const & src);
40 int find_target(std::string
const & tgt);
43 const idx_t & get_sources()
const {
return src_idx; }
44 const idx_t & get_targets()
const {
return tgt_idx; }
47 size_t source_size()
const {
return src_idx.size(); }
48 size_t target_size()
const {
return tgt_idx.size(); }
51 const std::string & get_source( ma_cond_domain v )
const;
52 const std::string & get_target( ma_cond_domain v )
const;
54 std::string get_message( ma_cond_domain v )
const;
55 std::string get_message_group( ma_cond_domain v,
size_t g )
const;
59 bool get_status( ma_cond_domain v )
const;
61 int get_alarm_count( ma_cond_domain v, arg_t arg )
const;
64 void get_cond_range( ma_cond_domain d
66 , ma_cond_range & tgt )
const;
70 get_domain_view( ma_cond_domain
const & d );
75 const static size_t cap_increment;
Qt wrapper around MessageFacility message