vector of execution resulting from expression evaluation. More...
#include <expression_vector.h>
Public Member Functions | |
| _always_inline bool | has_targets () |
| has sensitivity targets (depends on size of map) | |
| _always_inline bool | is_bound () |
| is the lambda defined/bound | |
| _always_inline void | execute (std::function< void()> _func) |
| define/bind the lambda (this will be executed) | |
| _keep_hot void | process () |
| processes (executes) sensitivities | |
Public Attributes | |
| std::map< std::string, std::function< void()> > | m_actions |
| holds sensitivity to other expressions | |
| std::function< void()> | m_lambda |
| placeholder for lambda | |
Friends | |
| class | sme::expression |
vector of execution resulting from expression evaluation.
There are many conditions which an expression can render execution based on the evaluation of itself. Rising, Falling, True->True, False->False, or Change (Rising or Falling). Expressions may have callbacks for each of these execution vectors.
|
inline |
define/bind the lambda (this will be executed)
| _func |
|
inline |
has sensitivity targets (depends on size of map)
|
inline |
is the lambda defined/bound
|
inline |
processes (executes) sensitivities
|
friend |
| std::map< std::string, std::function<void()> > sme::expression_vector::m_actions |
holds sensitivity to other expressions
| std::function<void()> sme::expression_vector::m_lambda |
placeholder for lambda