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::StateEnum &rhs) const |
bool | operator!= (const CommState &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 47 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 51 of file comm_state.h.
|
inline |
Definition at line 63 of file comm_state.h.
|
private |
|
inline |
Definition at line 76 of file comm_state.h.
|
inline |
Definition at line 81 of file comm_state.h.
|
inline |
Definition at line 66 of file comm_state.h.
|
inline |
Definition at line 71 of file comm_state.h.
|
inline |
Definition at line 86 of file comm_state.h.
StateEnum actionlib::CommState::state_ |
Definition at line 112 of file comm_state.h.