artdaq_mfextensions  v1_05_00
novadaq::errorhandler::ma_rule Class Reference

Public Member Functions

 ma_rule (std::string const &name, std::string const &desc, bool repeat, int holdoff_time=0)
 
void parse (std::string const &cond_expr, std::string const &alarm_message, fhicl::ParameterSet const &actions, cond_map_t *cond_map_ptr)
 
void evaluate_domain ()
 
bool evaluate ()
 
int act ()
 
ma_domain const & get_alarm () const
 
std::string get_alarm_message ()
 
int get_alarm_count () const
 
const std::string & name () const
 
const std::string & description () const
 
const std::string & cond_expr () const
 
const std::string & alarm_message () const
 
const std::vector< std::string > & cond_names () const
 
void enable (bool flag)
 
void reset ()
 
void set_boolean_expr (ma_boolean_expr const &expr)
 
void set_domain_expr (ma_domain_expr const &expr)
 
cond_idx_t insert_condition_ptr (std::string const &name, bool primitive)
 
cond_idx_t get_cond_idx (std::string const &name) const
 
ma_conditionget_cond (std::string const &name) const
 
size_t get_idx (std::string const &name) const
 
size_t get_cond_size () const
 
void update_notify_list (std::string const &name, arg_t arg)
 

Public Attributes

cond_vec_t conditions
 
idx_t conditions_idx
 
std::vector< bool > primitive_cond
 

Detailed Description

Definition at line 24 of file ma_rule.h.


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