#include <NavRoadState.h>
Public Types | |
enum | state_t { Init, Block, Evade, Follow, Pass, Uturn, WaitCross, WaitLane, WaitPass, WaitStop, Zone, N_states } |
Public Member Functions | |
const char * | Name (void) const |
NavRoadState (const art_msgs::RoadState &msg) | |
NavRoadState (state_t &istate) | |
NavRoadState () | |
bool | operator!= (const state_t &compare) const |
bool | operator!= (const NavRoadState &compare) const |
void | operator= (const NavRoadState::state_t &newstate) |
bool | operator== (const state_t &compare) const |
bool | operator== (const NavRoadState &compare) const |
state_t | Value (void) const |
~NavRoadState () | |
Private Attributes | |
state_t | state |
Definition at line 20 of file NavRoadState.h.
Reimplemented from FSMstate.
Definition at line 23 of file NavRoadState.h.
NavRoadState::NavRoadState | ( | ) | [inline] |
Definition at line 59 of file NavRoadState.h.
NavRoadState::NavRoadState | ( | state_t & | istate | ) | [inline] |
Definition at line 64 of file NavRoadState.h.
NavRoadState::NavRoadState | ( | const art_msgs::RoadState & | msg | ) | [inline] |
Definition at line 69 of file NavRoadState.h.
NavRoadState::~NavRoadState | ( | ) |
Definition at line 12 of file NavRoadState.cc.
const char* NavRoadState::Name | ( | void | ) | const [inline] |
Definition at line 40 of file NavRoadState.h.
bool NavRoadState::operator!= | ( | const state_t & | compare | ) | const [inline] |
Definition at line 101 of file NavRoadState.h.
bool NavRoadState::operator!= | ( | const NavRoadState & | compare | ) | const [inline] |
Definition at line 96 of file NavRoadState.h.
void NavRoadState::operator= | ( | const NavRoadState::state_t & | newstate | ) | [inline] |
Definition at line 81 of file NavRoadState.h.
bool NavRoadState::operator== | ( | const state_t & | compare | ) | const [inline] |
Definition at line 91 of file NavRoadState.h.
bool NavRoadState::operator== | ( | const NavRoadState & | compare | ) | const [inline] |
Definition at line 86 of file NavRoadState.h.
state_t NavRoadState::Value | ( | void | ) | const [inline] |
Definition at line 76 of file NavRoadState.h.
state_t NavRoadState::state [private] |
Reimplemented from FSMstate.
Definition at line 107 of file NavRoadState.h.