25 #include <unordered_map> 72 template<
class Caller,
typename InputType =
int>
81 typedef void(Caller::*
Action)(
bool newstate);
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 };
121 #include "TriggerOR.tcc" Definition: TriggerOR.h:73
Definition: CommonEventLoop.h:14
void(Caller::* Action)(bool newstate)
Definition: TriggerOR.h:81