81 typedef void(Caller::*
Action)(
bool newstate);
83 TriggerOR(Caller* r,
Action a)
noexcept;
84 ~TriggerOR() noexcept;
86 inline
bool state() const noexcept
91 bool getState(InputType in)
const noexcept;
92 bool commit(InputType in,
bool state);
94 void add(InputType in,
bool state);
95 void remove(InputType in);
97 typedef std::unordered_map<InputType, bool> InputMap;
99 inline typename InputMap::const_iterator begin() noexcept
101 return inputs.begin();
104 inline typename InputMap::const_iterator end() noexcept
116 bool out = {
false };