Lines Matching refs:State
38 class State {
48 State(StateMachine& sm, int state_id) : sm_(sm), state_id_(state_id) {} in State() function
50 virtual ~State() = default;
94 void TransitionTo(StateMachine::State* dest_state) { in TransitionTo()
169 State* dest_state = it->second; in TransitionTo()
178 void TransitionTo(StateMachine::State* dest_state) { in TransitionTo()
194 void AddState(State* state) { in AddState()
203 void SetInitialState(State* initial_state) { initial_state_ = initial_state; } in SetInitialState()
206 State* initial_state_;
207 State* previous_state_;
208 State* current_state_;
209 std::map<int, State*> states_;