cajun::route_t Class Reference

#include <route.H>

List of all members.

Classes

struct  waypoint_t

Public Member Functions

bool read (char const *path)
void write (char const *path=NULL) const
bool read_RDDF (char const *path, proj_t proj)
bool read_relative (char const *path, double x, double y, double heading)
void relocate (double bot_x, double bot_y, double bot_heading)
void normalize (void)
unsigned num_waypoints (void) const
waypoint_t waypoint (unsigned i) const
std::vector< waypoint_tget_waypoints (void) const
void add_waypoint (waypoint_t w_)
void update_derived_fields (void)

Protected Attributes

std::vector< waypoint_tm_waypoint

Member Function Documentation

void cajun::route_t::add_waypoint ( waypoint_t  w_  ) 

References m_waypoint.

std::vector<waypoint_t> cajun::route_t::get_waypoints ( void   )  const [inline]

References m_waypoint.

void cajun::route_t::normalize ( void   ) 
unsigned cajun::route_t::num_waypoints ( void   )  const [inline]

References m_waypoint.

Referenced by waypoint(), and write().

bool cajun::route_t::read ( char const *  path  ) 
bool cajun::route_t::read_RDDF ( char const *  path,
proj_t  proj 
)
bool cajun::route_t::read_relative ( char const *  path,
double  x,
double  y,
double  heading 
)
void cajun::route_t::relocate ( double  bot_x,
double  bot_y,
double  bot_heading 
)

References m_waypoint.

void cajun::route_t::update_derived_fields ( void   ) 

References m_waypoint.

Referenced by read(), read_RDDF(), and read_relative().

waypoint_t cajun::route_t::waypoint ( unsigned  i  )  const [inline]

References m_waypoint, and num_waypoints().

Referenced by write().

void cajun::route_t::write ( char const *  path = NULL  )  const

Member Data Documentation

std::vector<waypoint_t> cajun::route_t::m_waypoint [protected]

The documentation for this class was generated from the following files:

Generated on Fri Apr 9 10:45:11 2010 for cbutils by  doxygen 1.6.1