Thin wrapper around an enum in order to help interpret the state of the communication state machine. More...
#include <comm_state.h>
Public Types | |
| enum | StateEnum { WAITING_FOR_GOAL_ACK = 0, PENDING = 1, ACTIVE = 2, WAITING_FOR_RESULT = 3, WAITING_FOR_CANCEL_ACK = 4, RECALLING = 5, PREEMPTING = 6, DONE = 7 } |
| Defines the various states the Communication State Machine can be in. More... | |
Public Member Functions | |
| CommState (const StateEnum &state) | |
| bool | operator!= (const CommState &rhs) const |
| bool | operator!= (const CommState::StateEnum &rhs) const |
| bool | operator== (const CommState &rhs) const |
| bool | operator== (const CommState::StateEnum &rhs) const |
| std::string | toString () const |
Public Attributes | |
| StateEnum | state_ |
Private Member Functions | |
| CommState () | |
Thin wrapper around an enum in order to help interpret the state of the communication state machine.
Definition at line 79 of file comm_state.h.
Defines the various states the Communication State Machine can be in.
| Enumerator | |
|---|---|
| WAITING_FOR_GOAL_ACK | |
| PENDING | |
| ACTIVE | |
| WAITING_FOR_RESULT | |
| WAITING_FOR_CANCEL_ACK | |
| RECALLING | |
| PREEMPTING | |
| DONE | |
Definition at line 115 of file comm_state.h.
|
inline |
Definition at line 127 of file comm_state.h.
|
private |
|
inline |
Definition at line 145 of file comm_state.h.
|
inline |
Definition at line 140 of file comm_state.h.
|
inline |
Definition at line 130 of file comm_state.h.
|
inline |
Definition at line 135 of file comm_state.h.
|
inline |
Definition at line 150 of file comm_state.h.
| StateEnum actionlib::CommState::state_ |
Definition at line 176 of file comm_state.h.