Lines Matching defs:StateActions
79 struct StateActions : public StateInfo {
80 ~StateActions() override {};
81 StateActions() = default;
82 bool operator==(StateActions& right) const
87 StateActions& Add(int msgid, HandleMsg handler)
93 StateActions& Del(int msgid)
99 StateActions& WaitUntil(int type, HandleMsg handler, int64_t delayUs, int cookie = 0)
123 void AddAction(StateActions *action)
149 std::vector<StateActions*> mActions;
157 StateActions& ForState(const State &s);
158 StateActions& ForState(int simpleState);
167 void ToState(std::map<State, StateActions*>::iterator &nextIt);
171 std::map<State, StateActions*>::iterator currState_;
176 std::map<State, StateActions*> states_;