Thin wrapper around an enum in order providing a simplified version of the communication state, but with less states than CommState. More...
#include <simple_goal_state.h>
Public Types | |
enum | StateEnum { PENDING, ACTIVE, DONE } |
Defines the various states the SimpleGoalState can be in. More... | |
Public Member Functions | |
bool | operator!= (const SimpleGoalState::StateEnum &rhs) const |
bool | operator!= (const SimpleGoalState &rhs) const |
bool | operator== (const SimpleGoalState &rhs) const |
bool | operator== (const SimpleGoalState::StateEnum &rhs) const |
SimpleGoalState (const StateEnum &state) | |
std::string | toString () const |
Public Attributes | |
StateEnum | state_ |
Private Member Functions | |
SimpleGoalState () |
Thin wrapper around an enum in order providing a simplified version of the communication state, but with less states than CommState.
Definition at line 48 of file simple_goal_state.h.
Defines the various states the SimpleGoalState can be in.
Definition at line 53 of file simple_goal_state.h.
actionlib::SimpleGoalState::SimpleGoalState | ( | const StateEnum & | state | ) | [inline] |
Definition at line 60 of file simple_goal_state.h.
actionlib::SimpleGoalState::SimpleGoalState | ( | ) | [private] |
bool actionlib::SimpleGoalState::operator!= | ( | const SimpleGoalState::StateEnum & | rhs | ) | const [inline] |
Definition at line 72 of file simple_goal_state.h.
bool actionlib::SimpleGoalState::operator!= | ( | const SimpleGoalState & | rhs | ) | const [inline] |
Definition at line 77 of file simple_goal_state.h.
bool actionlib::SimpleGoalState::operator== | ( | const SimpleGoalState & | rhs | ) | const [inline] |
Definition at line 62 of file simple_goal_state.h.
bool actionlib::SimpleGoalState::operator== | ( | const SimpleGoalState::StateEnum & | rhs | ) | const [inline] |
Definition at line 67 of file simple_goal_state.h.
std::string actionlib::SimpleGoalState::toString | ( | ) | const [inline] |
Definition at line 82 of file simple_goal_state.h.
Definition at line 99 of file simple_goal_state.h.