26#include <unordered_map>
73 template<
class Caller,
typename InputType =
int>
82 typedef void(Caller::*
Action)(bool newstate);
87 inline
bool state() const noexcept
93 bool getState(InputType in)
const noexcept;
94 bool commit(InputType in,
bool state);
96 void add(InputType in,
bool state);
97 void remove(InputType in);
99 typedef std::unordered_map<InputType, bool> InputMap;
101 inline typename InputMap::const_iterator begin() noexcept
103 return inputs.begin();
106 inline typename InputMap::const_iterator end() noexcept
117 bool out = {
false };
122#include "TriggerAND.tcc"
Definition TriggerAND.h:75
void(Caller::* Action)(bool newstate)
Definition TriggerAND.h:82
Definition Calibration.h:27