AutoDriver Class Reference

#include <Driver.h>

Inheritance diagram for AutoDriver:

Inheritance graph
[legend]
Collaboration diagram for AutoDriver:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AutoDriver ()
void addWaypoint (waypoint_t waypoint)
int wayPoints (void)
void lockCurrentWaypoint (void)
void unlockCurrentWaypoint (void)
void clearWaypoints (void)
std::queue< waypoint_tpeekWaypoints (void)
void calculateAction (void)

Protected Member Functions

waypoint_t getNextWaypoint ()

Protected Attributes

waypoint_t current_waypoint
std::queue< waypoint_twaypoints
bool wp_lock

Constructor & Destructor Documentation

AutoDriver::AutoDriver (  )  [inline]


Member Function Documentation

void AutoDriver::addWaypoint ( waypoint_t  waypoint  ) 

void AutoDriver::calculateAction ( void   ) 

void AutoDriver::clearWaypoints ( void   ) 

waypoint_t AutoDriver::getNextWaypoint (  )  [protected]

void AutoDriver::lockCurrentWaypoint ( void   )  [inline]

std::queue<waypoint_t> AutoDriver::peekWaypoints ( void   ) 

void AutoDriver::unlockCurrentWaypoint ( void   )  [inline]

int AutoDriver::wayPoints ( void   ) 


Member Data Documentation

waypoint_t AutoDriver::current_waypoint [protected]

std::queue<waypoint_t> AutoDriver::waypoints [protected]

bool AutoDriver::wp_lock [protected]


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 15:33:26 2007 for MetalWarriors by  doxygen 1.4.7