Road Class Reference

#include <road.h>

Inheritance diagram for Road:
Inheritance graph
[legend]

List of all members.

Classes

struct  transtion_t

Public Member Functions

result_t control (pilot_command_t &pcmd)
void reset (void)
 Road (Navigator *navptr, int _verbose)
NavRoadState State (void)
 ~Road ()

Private Types

typedef result_t(Road::* action_t )(pilot_command_t &pcmd)

Private Member Functions

result_t ActionError (pilot_command_t &pcmd)
result_t ActionEvadeToFollow (pilot_command_t &pcmd)
result_t ActionFail (pilot_command_t &pcmd)
result_t ActionInBlock (pilot_command_t &pcmd)
result_t ActionInEvade (pilot_command_t &pcmd)
result_t ActionInFollow (pilot_command_t &pcmd)
result_t ActionInInit (pilot_command_t &pcmd)
result_t ActionInPass (pilot_command_t &pcmd)
result_t ActionInUturn (pilot_command_t &pcmd)
result_t ActionInWaitCross (pilot_command_t &pcmd)
result_t ActionInWaitLane (pilot_command_t &pcmd)
result_t ActionInWaitPass (pilot_command_t &pcmd)
result_t ActionInWaitStop (pilot_command_t &pcmd)
result_t ActionInZone (pilot_command_t &pcmd)
result_t ActionPassToBlock (pilot_command_t &pcmd)
result_t ActionPassToEvade (pilot_command_t &pcmd)
result_t ActionPassToFollow (pilot_command_t &pcmd)
result_t ActionToBlock (pilot_command_t &pcmd)
result_t ActionToEvade (pilot_command_t &pcmd)
result_t ActionToFollow (pilot_command_t &pcmd)
result_t ActionToPass (pilot_command_t &pcmd)
result_t ActionToUturn (pilot_command_t &pcmd)
result_t ActionToWaitCross (pilot_command_t &pcmd)
result_t ActionToWaitLane (pilot_command_t &pcmd)
result_t ActionToWaitPass (pilot_command_t &pcmd)
result_t ActionToWaitStop (pilot_command_t &pcmd)
result_t ActionToZone (pilot_command_t &pcmd)
result_t ActionWaitPassToFollow (pilot_command_t &pcmd)
result_t ActionZoneToWaitCross (pilot_command_t &pcmd)
void Add (NavRoadEvent::event_t event, action_t action, NavRoadState::state_t from_state, NavRoadState::state_t to_state)
void cancel_all_timers (void)
void reset_me (void)
void set_waypt_event (void)

Private Attributes

Observation::_oid_type crossing_observer
NavRoadEvent event
FollowLanefollow_lane
FollowSafelyfollow_safely
Halthalt
Course::direction_t lane_direction
bool passing_first
NavTimerpassing_timer
NavRoadEvent pending_event
NavTimerprecedence_timer
NavRoadState prev
int32_t prev_nobjects
NavTimerroadblock_timer
NavRoadState state
NavTimerstop_line_timer
transtion_t ttable [NavRoadEvent::N_events][NavRoadState::N_states]
Uturnuturn

Detailed Description

Definition at line 26 of file road.h.


Member Typedef Documentation

typedef result_t(Road::* Road::action_t)(pilot_command_t &pcmd) [private]

Definition at line 45 of file road.h.


Constructor & Destructor Documentation

Road::Road ( Navigator navptr,
int  _verbose 
)

Definition at line 26 of file road.cc.

Road::~Road (  ) 

Definition at line 169 of file road.cc.


Member Function Documentation

Controller::result_t Road::ActionError ( pilot_command_t pcmd  )  [private]

Definition at line 285 of file road.cc.

Controller::result_t Road::ActionEvadeToFollow ( pilot_command_t pcmd  )  [private]

Definition at line 581 of file road.cc.

Controller::result_t Road::ActionFail ( pilot_command_t pcmd  )  [private]

Definition at line 293 of file road.cc.

Controller::result_t Road::ActionInBlock ( pilot_command_t pcmd  )  [private]

Definition at line 302 of file road.cc.

Controller::result_t Road::ActionInEvade ( pilot_command_t pcmd  )  [private]

Todo:
Either implement the Evade controller or delete it.

Definition at line 350 of file road.cc.

Controller::result_t Road::ActionInFollow ( pilot_command_t pcmd  )  [private]

Definition at line 363 of file road.cc.

Controller::result_t Road::ActionInInit ( pilot_command_t pcmd  )  [private]

Definition at line 389 of file road.cc.

Controller::result_t Road::ActionInPass ( pilot_command_t pcmd  )  [private]

Definition at line 399 of file road.cc.

Controller::result_t Road::ActionInUturn ( pilot_command_t pcmd  )  [private]

Definition at line 439 of file road.cc.

Controller::result_t Road::ActionInWaitCross ( pilot_command_t pcmd  )  [private]

Definition at line 450 of file road.cc.

Controller::result_t Road::ActionInWaitLane ( pilot_command_t pcmd  )  [private]

Definition at line 461 of file road.cc.

Controller::result_t Road::ActionInWaitPass ( pilot_command_t pcmd  )  [private]

Definition at line 492 of file road.cc.

Controller::result_t Road::ActionInWaitStop ( pilot_command_t pcmd  )  [private]

Definition at line 519 of file road.cc.

Controller::result_t Road::ActionInZone ( pilot_command_t pcmd  )  [private]

Definition at line 555 of file road.cc.

Controller::result_t Road::ActionPassToBlock ( pilot_command_t pcmd  )  [private]

Definition at line 588 of file road.cc.

Controller::result_t Road::ActionPassToEvade ( pilot_command_t pcmd  )  [private]

Definition at line 596 of file road.cc.

Controller::result_t Road::ActionPassToFollow ( pilot_command_t pcmd  )  [private]

Definition at line 604 of file road.cc.

Controller::result_t Road::ActionToBlock ( pilot_command_t pcmd  )  [private]

Definition at line 612 of file road.cc.

Controller::result_t Road::ActionToEvade ( pilot_command_t pcmd  )  [private]

Definition at line 622 of file road.cc.

Controller::result_t Road::ActionToFollow ( pilot_command_t pcmd  )  [private]

Definition at line 642 of file road.cc.

Controller::result_t Road::ActionToPass ( pilot_command_t pcmd  )  [private]

Definition at line 653 of file road.cc.

Controller::result_t Road::ActionToUturn ( pilot_command_t pcmd  )  [private]

Definition at line 672 of file road.cc.

Controller::result_t Road::ActionToWaitCross ( pilot_command_t pcmd  )  [private]

Definition at line 680 of file road.cc.

Controller::result_t Road::ActionToWaitLane ( pilot_command_t pcmd  )  [private]

Definition at line 702 of file road.cc.

Controller::result_t Road::ActionToWaitPass ( pilot_command_t pcmd  )  [private]

Definition at line 709 of file road.cc.

Controller::result_t Road::ActionToWaitStop ( pilot_command_t pcmd  )  [private]

Definition at line 730 of file road.cc.

Controller::result_t Road::ActionToZone ( pilot_command_t pcmd  )  [private]

Definition at line 740 of file road.cc.

Controller::result_t Road::ActionWaitPassToFollow ( pilot_command_t pcmd  )  [private]

Definition at line 747 of file road.cc.

Controller::result_t Road::ActionZoneToWaitCross ( pilot_command_t pcmd  )  [private]

Definition at line 755 of file road.cc.

void Road::Add ( NavRoadEvent::event_t  event,
action_t  action,
NavRoadState::state_t  from_state,
NavRoadState::state_t  to_state 
) [private]

Definition at line 186 of file road.cc.

void Road::cancel_all_timers ( void   )  [private]

Definition at line 195 of file road.cc.

Controller::result_t Road::control ( pilot_command_t pcmd  )  [virtual]

Reimplemented from Controller.

Definition at line 203 of file road.cc.

void Road::reset ( void   )  [virtual]

Reimplemented from Controller.

Definition at line 235 of file road.cc.

void Road::reset_me ( void   )  [private, virtual]

Reimplemented from Controller.

Definition at line 249 of file road.cc.

void Road::set_waypt_event ( void   )  [private]

Definition at line 257 of file road.cc.

NavRoadState Road::State ( void   )  [inline]

Definition at line 35 of file road.h.


Member Data Documentation

Observation::_oid_type Road::crossing_observer [private]

Definition at line 58 of file road.h.

Definition at line 56 of file road.h.

Definition at line 67 of file road.h.

Definition at line 68 of file road.h.

Halt* Road::halt [private]

Definition at line 69 of file road.h.

Definition at line 59 of file road.h.

bool Road::passing_first [private]

Definition at line 42 of file road.h.

Definition at line 75 of file road.h.

Definition at line 57 of file road.h.

Definition at line 76 of file road.h.

Definition at line 54 of file road.h.

int32_t Road::prev_nobjects [private]

Definition at line 63 of file road.h.

Definition at line 77 of file road.h.

Definition at line 55 of file road.h.

Definition at line 78 of file road.h.

transtion_t Road::ttable[NavRoadEvent::N_events][NavRoadState::N_states] [private]

Definition at line 60 of file road.h.

Uturn* Road::uturn [private]

Definition at line 71 of file road.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:41 2013