16#ifndef CPP_API_EXTENSIONS_SRC_SME_PATTERN_RULES_FALLING_BIT_H
17#define CPP_API_EXTENSIONS_SRC_SME_PATTERN_RULES_FALLING_BIT_H
62 virtual void process_rule( uint64_t _old_value, uint64_t & _new_value) {
Interface and base class for all notification rule types.
Definition: I_pattern_rule.h:32
_always_inline bool is_active()
reports if rule is active for processing.
Definition: I_pattern_rule.h:78
std::function< void()> m_lambda
placeholder for lambda
Definition: I_pattern_rule.h:38
_always_inline bool is_bound()
has the lambda callback been bound.
Definition: I_pattern_rule.h:85
rule specifically to monitor a single bit for falling edge.
Definition: falling_bit.h:31
uint8_t m_bit
The bit which is to change state.
Definition: falling_bit.h:37
virtual void process_rule(uint64_t _old_value, uint64_t &_new_value)
process rule evaluation between old and new values.
Definition: falling_bit.h:62
falling_bit(uint8_t _bit)
Construct a new falling bit object.
Definition: falling_bit.h:44
virtual ~falling_bit()
Destroy the falling bit object.
Definition: falling_bit.h:54
Definition: expression_vector.h:25