Home
last modified time | relevance | path

Searched refs:StateActions (Results 1 - 2 of 2) sorted by relevance

/foundation/ai/intelligent_voice_framework/utils/
H A Dstate_manager.h79 struct StateActions : public StateInfo { struct
80 ~StateActions() override {};
81 StateActions() = default;
82 bool operator==(StateActions& right) const in operator ==()
87 StateActions& Add(int msgid, HandleMsg handler) in Add()
93 StateActions& Del(int msgid) in Del()
99 StateActions& WaitUntil(int type, HandleMsg handler, int64_t delayUs, int cookie = 0) in WaitUntil()
123 void AddAction(StateActions *action) in AddAction()
149 std::vector<StateActions*> mActions;
157 StateActions
[all...]
H A Dstate_manager.cpp23 StateActions g_nullAction;
26 int StateActions::Handle(const StateMsg &msg, State &nextState) in Handle()
53 StateActions& ModuleStates::ForState(const State &s) in ForState()
57 StateActions* action = new (std::nothrow) StateActions(); in ForState()
69 StateActions& ModuleStates::ForState(int simpleState) in ForState()
77 StateActions& action = ForState(i); in FromState()
84 void ModuleStates::ToState(std::map<State, StateActions*>::iterator &nextIt) in ToState()
87 StateActions* action = currState_->second; in ToState()
152 StateActions *actio in ResetTimerDelay()
[all...]

Completed in 2 milliseconds