#include <WaypointList.h>
Public Member Functions | |
WaypointList () | |
size_t | getNumWaypoints () const |
void | addWaypointToFront (UserState *waypoint) |
void | addWaypointToBack (const UserState &waypoint) |
UserState * | getWaypoint (size_t index) const |
Private Attributes | |
deque< UserState * > | mWaypoints |
Definition at line 13 of file WaypointList.h.
WaypointList< UserState >::WaypointList | ( | ) | [inline] |
Definition at line 24 of file WaypointList.h.
References WaypointList< UserState >::mWaypoints.
00025 { 00026 mWaypoints.clear (); 00027 }
void WaypointList< UserState >::addWaypointToBack | ( | const UserState & | waypoint | ) | [inline] |
Definition at line 49 of file WaypointList.h.
00050 { 00051 mWaypoints.push_back ( waypoint ); 00052 }
void WaypointList< UserState >::addWaypointToFront | ( | UserState * | waypoint | ) | [inline] |
Definition at line 42 of file WaypointList.h.
References WaypointList< UserState >::mWaypoints.
00043 { 00044 mWaypoints.push_front ( waypoint ); 00045 }
size_t WaypointList< UserState >::getNumWaypoints | ( | ) | const [inline] |
Definition at line 35 of file WaypointList.h.
References WaypointList< UserState >::mWaypoints.
00036 { 00037 return mWaypoints.size (); 00038 }
UserState* WaypointList< UserState >::getWaypoint | ( | size_t | index | ) | const [inline] |
Definition at line 58 of file WaypointList.h.
00059 { 00060 assert ( index < mWaypoints.size() ); 00061 return mWaypoints[index]; 00062 }
deque< UserState* > WaypointList< UserState >::mWaypoints [private] |
Definition at line 18 of file WaypointList.h.
Referenced by WaypointList< UserState >::addWaypointToFront(), WaypointList< UserState >::getNumWaypoints(), and WaypointList< UserState >::WaypointList().