#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 () | |
NavRoadState (state_t &istate) | |
NavRoadState (const art_msgs::RoadState &msg) | |
bool | operator!= (const NavRoadState &compare) const |
bool | operator!= (const state_t &compare) const |
void | operator= (const NavRoadState::state_t &newstate) |
bool | operator== (const NavRoadState &compare) const |
bool | operator== (const state_t &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 25 of file NavRoadState.h.
NavRoadState::NavRoadState | ( | ) | [inline] |
Definition at line 61 of file NavRoadState.h.
NavRoadState::NavRoadState | ( | state_t & | istate | ) | [inline] |
Definition at line 66 of file NavRoadState.h.
NavRoadState::NavRoadState | ( | const art_msgs::RoadState & | msg | ) | [inline] |
Definition at line 71 of file NavRoadState.h.
Definition at line 12 of file NavRoadState.cc.
const char* NavRoadState::Name | ( | void | ) | const [inline] |
Definition at line 42 of file NavRoadState.h.
bool NavRoadState::operator!= | ( | const NavRoadState & | compare | ) | const [inline] |
Definition at line 98 of file NavRoadState.h.
Definition at line 103 of file NavRoadState.h.
void NavRoadState::operator= | ( | const NavRoadState::state_t & | newstate | ) | [inline] |
Definition at line 83 of file NavRoadState.h.
bool NavRoadState::operator== | ( | const NavRoadState & | compare | ) | const [inline] |
Definition at line 88 of file NavRoadState.h.
Definition at line 93 of file NavRoadState.h.
state_t NavRoadState::Value | ( | void | ) | const [inline] |
Definition at line 78 of file NavRoadState.h.
state_t NavRoadState::state [private] |
Reimplemented from FSMstate.
Definition at line 109 of file NavRoadState.h.