artdaq_mfextensions  v1_05_00
novadaq::errorhandler::ma_condition Class Reference

Public Member Functions

 ma_condition (std::string const &desc, std::string const &sev, std::vector< std::string > const &sources, std::vector< std::string > const &categories, std::string const &regex, std::string const &test, bool persistent_cond, int trigger_count, bool at_least, int timespan, bool per_source, bool per_target, int target_group, ma_timing_events &events)
 
void reset ()
 
void init ()
 
bool match (qt_mf_msg const &msg, conds_t &status, conds_t &source, conds_t &target)
 
bool event (size_t src, size_t tgt, time_t t, conds_t &status)
 
const std::string & description () const
 
const std::string & regex () const
 
const std::string & sources_str () const
 
void update_fields ()
 
int get_msg_count () const
 
sev_code_t get_msg_severity () const
 
const std::string & get_msg_category () const
 
const std::string & get_msg_source () const
 
const std::string & get_qt_mf_msgarget () const
 
const std::string & get_msg_body () const
 
std::string get_msg_group (size_t i) const
 
int find_source (std::string const &src)
 
int find_target (std::string const &tgt)
 
int find_arg (std::string const &arg, arg_t type)
 
const idx_t & get_sources () const
 
const idx_t & get_targets () const
 
const idx_t & get_args (arg_t type) const
 
const std::string & get_source (ma_cond_domain v) const
 
const std::string & get_target (ma_cond_domain v) const
 
std::string get_arg (ma_cond_domain v, arg_t type) const
 
void get_cond_range (ma_cond_domain d, ma_cond_range &src, ma_cond_range &tgt) const
 
bool get_status (ma_cond_domain v) const
 
int get_alarm_count (ma_cond_domain v, arg_t arg) const
 
void push_notify_source (ma_rule *rule)
 
void push_notify_target (ma_rule *rule)
 
void push_notify_status (ma_rule *rule)
 
void push_notify (notify_list_t &list, ma_rule *rule)
 
void sort_notify_lists ()
 
const notify_list_t & get_notify_list (notify_t type)
 
int trigger_count () const
 
int timespan () const
 
bool at_least () const
 
bool at_most () const
 
bool per_source () const
 
bool per_target () const
 
bool persistent () const
 
ma_timing_eventstiming_events ()
 
const hitmap_view_t get_domain_view (ma_cond_domain const &domain)
 

Detailed Description

Definition at line 27 of file ma_condition.h.


The documentation for this class was generated from the following files: