Lines Matching refs:current_state_
106 current_state_(nullptr) {} in StateMachine()
119 void Quit() { previous_state_ = current_state_ = nullptr; } in Quit()
127 if (current_state_ != nullptr) { in StateId()
128 return current_state_->StateId(); in StateId()
155 if (current_state_ == nullptr) return false; in ProcessEvent()
156 return current_state_->ProcessEvent(event, p_data); in ProcessEvent()
179 if (current_state_ != nullptr) { in TransitionTo()
180 current_state_->OnExit(); in TransitionTo()
182 previous_state_ = current_state_; in TransitionTo()
183 current_state_ = dest_state; in TransitionTo()
184 current_state_->OnEnter(); in TransitionTo()
208 State* current_state_; variable