16#ifndef CPP_API_EXTENSIONS_SRC_SME_EXPRESSIONS_EXPRESSION_VECTOR_H
17#define CPP_API_EXTENSIONS_SRC_SME_EXPRESSIONS_EXPRESSION_VECTOR_H
43 std::map< std::string, std::function<void()> >
m_actions;
81 std::map< std::string, std::function<void()> >::iterator mit;
#define _keep_hot
Definition: _inline.h:32
#define _always_inline
Definition: _inline.h:30
vector of execution resulting from expression evaluation.
Definition: expression_vector.h:36
_always_inline bool is_bound()
is the lambda defined/bound
Definition: expression_vector.h:65
friend class sme::expression
Definition: expression_vector.h:89
_keep_hot void process()
processes (executes) sensitivities
Definition: expression_vector.h:78
_always_inline void execute(std::function< void()> _func)
define/bind the lambda (this will be executed)
Definition: expression_vector.h:72
std::map< std::string, std::function< void()> > m_actions
holds sensitivity to other expressions
Definition: expression_vector.h:43
std::function< void()> m_lambda
placeholder for lambda
Definition: expression_vector.h:49
_always_inline bool has_targets()
has sensitivity targets (depends on size of map)
Definition: expression_vector.h:57
Definition: expression_vector.h:25