CmdrFSM Class Reference

#include <FSM.h>

List of all members.

Classes

struct  transtion_t

Public Types

typedef art_msgs::Order(CmdrFSM::* action_t )(CmdrEvent event)

Public Member Functions

 CmdrFSM (Commander *cmdr_ptr, int verbosity)
art_msgs::Order control (const art_msgs::NavigatorState *_navstate)
CmdrState State (void)
 ~CmdrFSM ()

Private Member Functions

art_msgs::Order ActionError (CmdrEvent event)
art_msgs::Order ActionFail (CmdrEvent event)
art_msgs::Order ActionInDone (CmdrEvent event)
art_msgs::Order ActionInInit (CmdrEvent event)
art_msgs::Order ActionInRoad (CmdrEvent event)
art_msgs::Order ActionToDone (CmdrEvent event)
art_msgs::Order ActionToRoad (CmdrEvent event)
art_msgs::Order ActionWait (CmdrEvent event)
void Add (CmdrEvent::event_t event, action_t action, CmdrState::state_t from_state, CmdrState::state_t to_state)
art_msgs::Order BlockedInRoad (CmdrEvent event)
CmdrEvent current_event ()
art_msgs::Order InitToRoad (CmdrEvent event)
art_msgs::Order ReplanInRoad (CmdrEvent event)

Private Attributes

Commandercmdr
ElementID current_way
art_msgs::NavigatorState navstate
ElementID old_replan
CmdrState prev
CmdrState state
transtion_t ttable [CmdrEvent::N_events][CmdrState::N_states]
int verbose
bool was_in_route_network

Detailed Description

Definition at line 50 of file FSM.h.


Member Typedef Documentation

typedef art_msgs::Order(CmdrFSM::* CmdrFSM::action_t)(CmdrEvent event)

Definition at line 55 of file FSM.h.


Constructor & Destructor Documentation

CmdrFSM::CmdrFSM ( Commander cmdr_ptr,
int  verbosity 
)

Definition at line 50 of file FSM.cc.

CmdrFSM::~CmdrFSM (  )  [inline]

Definition at line 65 of file FSM.h.


Member Function Documentation

art_msgs::Order CmdrFSM::ActionError ( CmdrEvent  event  )  [private]

Definition at line 289 of file FSM.cc.

art_msgs::Order CmdrFSM::ActionFail ( CmdrEvent  event  )  [private]

Definition at line 296 of file FSM.cc.

art_msgs::Order CmdrFSM::ActionInDone ( CmdrEvent  event  )  [private]

Definition at line 314 of file FSM.cc.

art_msgs::Order CmdrFSM::ActionInInit ( CmdrEvent  event  )  [private]

Definition at line 321 of file FSM.cc.

art_msgs::Order CmdrFSM::ActionInRoad ( CmdrEvent  event  )  [private]

Definition at line 328 of file FSM.cc.

art_msgs::Order CmdrFSM::ActionToDone ( CmdrEvent  event  )  [private]

Definition at line 337 of file FSM.cc.

art_msgs::Order CmdrFSM::ActionToRoad ( CmdrEvent  event  )  [private]

Definition at line 343 of file FSM.cc.

art_msgs::Order CmdrFSM::ActionWait ( CmdrEvent  event  )  [private]

Definition at line 305 of file FSM.cc.

void CmdrFSM::Add ( CmdrEvent::event_t  event,
action_t  action,
CmdrState::state_t  from_state,
CmdrState::state_t  to_state 
) [private]

Definition at line 118 of file FSM.cc.

art_msgs::Order CmdrFSM::BlockedInRoad ( CmdrEvent  event  )  [private]

Definition at line 351 of file FSM.cc.

art_msgs::Order CmdrFSM::control ( const art_msgs::NavigatorState *  _navstate  ) 

Definition at line 126 of file FSM.cc.

CmdrEvent CmdrFSM::current_event ( void   )  [private]

Definition at line 159 of file FSM.cc.

art_msgs::Order CmdrFSM::InitToRoad ( CmdrEvent  event  )  [private]

Definition at line 375 of file FSM.cc.

art_msgs::Order CmdrFSM::ReplanInRoad ( CmdrEvent  event  )  [private]

Definition at line 363 of file FSM.cc.

CmdrState CmdrFSM::State ( void   )  [inline]

Definition at line 69 of file FSM.h.


Member Data Documentation

Definition at line 78 of file FSM.h.

ElementID CmdrFSM::current_way [private]

Definition at line 75 of file FSM.h.

art_msgs::NavigatorState CmdrFSM::navstate [private]

Definition at line 79 of file FSM.h.

ElementID CmdrFSM::old_replan [private]

Definition at line 85 of file FSM.h.

Definition at line 80 of file FSM.h.

Definition at line 81 of file FSM.h.

transtion_t CmdrFSM::ttable[CmdrEvent::N_events][CmdrState::N_states] [private]

Definition at line 82 of file FSM.h.

int CmdrFSM::verbose [private]

Definition at line 77 of file FSM.h.

Definition at line 86 of file FSM.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


art_nav
Author(s): Austin Robot Technology, Jack O'Quin
autogenerated on Fri Jan 11 10:05:40 2013