82 typedef void(Caller::*
Action)(
bool newstate);
84 TriggerAND(Caller* r,
Action a)
noexcept;
85 ~TriggerAND() noexcept;
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 };