IdleState.h
Go to the documentation of this file.
1 #ifndef IDLESTATE_H
2 #define IDLESTATE_H
3 
4 #include <rsm_core/BaseState.h>
9 
10 namespace rsm {
11 
16 class IdleState: public BaseState {
17 
18 public:
19 
23  IdleState();
24 
28  ~IdleState();
29 
33  void onSetup();
34 
38  void onEntry();
39 
43  void onActive();
44 
48  void onExit();
49 
53  void onExplorationStart(bool &success, std::string &message);
54 
58  void onExplorationStop(bool &success, std::string &message);
59 
63  void onWaypointFollowingStart(bool &success, std::string &message);
64 
68  void onWaypointFollowingStop(bool &success, std::string &message);
69 
74  void onInterrupt(int interrupt);
75 };
76 
77 }
78 
79 #endif
void onSetup()
Definition: IdleState.cpp:11
void onInterrupt(int interrupt)
Called when an operation mode interrupt was received.
Definition: IdleState.cpp:50
void onActive()
Definition: IdleState.cpp:18
void onExplorationStart(bool &success, std::string &message)
Definition: IdleState.cpp:24
State being active when waiting for new inout.
Definition: IdleState.h:16
void onExplorationStop(bool &success, std::string &message)
Definition: IdleState.cpp:33
void onEntry()
Definition: IdleState.cpp:15
Definition: BaseState.h:8
void onWaypointFollowingStop(bool &success, std::string &message)
Definition: IdleState.cpp:45
void onWaypointFollowingStart(bool &success, std::string &message)
Definition: IdleState.cpp:38


rsm_core
Author(s): Marco Steinbrink
autogenerated on Tue Mar 16 2021 02:44:31