EnableController.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015-2022 CNRS-UM LIRMM, CNRS-AIST JRL
3  */
4 
5 #pragma once
6 
7 #include <mc_control/fsm/State.h>
8 
9 namespace mc_control
10 {
11 
12 namespace fsm
13 {
14 
24 {
25  void start(Controller &) override;
26 
27  bool run(Controller &) override { return true; }
28 
29  void teardown(Controller &) override {}
30 };
31 
32 } // namespace fsm
33 
34 } // namespace mc_control
mc_control::fsm::EnableControllerState::teardown
void teardown(Controller &) override
Definition: EnableController.h:29
mc_control::fsm::State
Definition: State.h:58
mc_control::fsm::EnableControllerState::run
bool run(Controller &) override
Definition: EnableController.h:27
mc_control
Definition: CompletionCriteria.h:10
mc_control::fsm::EnableControllerState
Definition: EnableController.h:23
State.h
MC_CONTROL_FSM_STATE_DLLAPI
#define MC_CONTROL_FSM_STATE_DLLAPI
Definition: api.h:50
mc_control::fsm::Controller
Definition: Controller.h:49