16#ifndef CPP_API_EXTENSIONS_SRC_SME_PATTERN_RULES_MASKED_H
17#define CPP_API_EXTENSIONS_SRC_SME_PATTERN_RULES_MASKED_H
20#include "sme/aqpp/print/sme_print.hpp"
61 virtual void process_rule( uint64_t _old_value, uint64_t & _new_value) {
63 SIM_DEBUG_END(
"true");
66 SIM_DEBUG_END(
"false");
Definition: I_pattern_rule.h:86
std::function< void()> m_lambda
Definition: I_pattern_rule.h:88
virtual _always_inline bool is_bound()
has the lambda callback been bound.
Definition: I_pattern_rule.h:99
_always_inline bool is_active()
reports if rule is active for processing.
Definition: I_pattern_rule.h:73
rule executes if anything "masked" changes between the old and new value.
Definition: masked.h:31
virtual ~masked()
Destroy the masked object.
Definition: masked.h:53
uint64_t m_mask
mask to apply for rule evaluation.
Definition: masked.h:37
virtual void process_rule(uint64_t _old_value, uint64_t &_new_value)
process rule evaluation between old and new values.
Definition: masked.h:61
masked(uint64_t _mask)
Construct a new masked object.
Definition: masked.h:44
Definition: expression_vector.h:25