Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

WaypointWalkControl Class Reference

Allows interactive control and execution of a set of waypoints. More...

#include <WaypointWalkControl.h>

Inheritance diagram for WaypointWalkControl:

Detailed Description

Allows interactive control and execution of a set of waypoints.

Definition at line 15 of file WaypointWalkControl.h.

List of all members.

Classes

class  WaypointEditControl
 handles editing of individual waypoints More...

Public Member Functions

 WaypointWalkControl ()
 constructor
virtual ControlBaseactivate (MC_ID disp_id, Socket *gui)
 add walk_id to motman
virtual void refresh ()
 will be called after each waypoint is reached so we can update the menu
virtual void deactivate ()
 remove the walk_id from motman
virtual ControlBasedoSelect ()
 handles selection of menu items

Protected Attributes

bool isRunning
 true if walk_id is currently running
NullControlstartstopCtl
 start and stop waypoint running
ToggleControlloopCtl
 repeat waypoints
NullControladdEgoWPCtl
 start and stop waypoint running
NullControladdOffWPCtl
 start and stop waypoint running
NullControladdAbsWPCtl
 start and stop waypoint running
FileInputControlloadCtl
 allows loading of a path
StringInputControlsaveCtl
 save a path to a file
StringInputControllocalizationCtl
 enter localization updates manually
unsigned int listOffset
 the index of the first waypoint in the menu
MC_ID walk_id
 id number of the walk we're using, so we can check it out before modifying it

Private Member Functions

 WaypointWalkControl (const WaypointWalkControl &)
 don't call
WaypointWalkControl operator= (const WaypointWalkControl &)
 don't call

Constructor & Destructor Documentation

WaypointWalkControl::WaypointWalkControl (  ) 

constructor

Definition at line 17 of file WaypointWalkControl.cc.

WaypointWalkControl::WaypointWalkControl ( const WaypointWalkControl  )  [private]

don't call


Member Function Documentation

ControlBase * WaypointWalkControl::activate ( MC_ID  disp_id,
Socket gui 
) [virtual]

add walk_id to motman

Reimplemented from ControlBase.

Definition at line 37 of file WaypointWalkControl.cc.

void WaypointWalkControl::deactivate (  )  [virtual]

remove the walk_id from motman

Reimplemented from ControlBase.

Definition at line 105 of file WaypointWalkControl.cc.

ControlBase * WaypointWalkControl::doSelect (  )  [virtual]

handles selection of menu items

Reimplemented from ControlBase.

Definition at line 112 of file WaypointWalkControl.cc.

WaypointWalkControl WaypointWalkControl::operator= ( const WaypointWalkControl  )  [private]

don't call

void WaypointWalkControl::refresh (  )  [virtual]

will be called after each waypoint is reached so we can update the menu

Reimplemented from ControlBase.

Definition at line 46 of file WaypointWalkControl.cc.


Member Data Documentation

start and stop waypoint running

Definition at line 60 of file WaypointWalkControl.h.

Referenced by doSelect(), and WaypointWalkControl().

start and stop waypoint running

Definition at line 58 of file WaypointWalkControl.h.

Referenced by doSelect(), and WaypointWalkControl().

start and stop waypoint running

Definition at line 59 of file WaypointWalkControl.h.

Referenced by doSelect(), and WaypointWalkControl().

true if walk_id is currently running

Definition at line 55 of file WaypointWalkControl.h.

Referenced by doSelect().

unsigned int WaypointWalkControl::listOffset [protected]

the index of the first waypoint in the menu

Definition at line 65 of file WaypointWalkControl.h.

Referenced by refresh(), and WaypointWalkControl().

allows loading of a path

Definition at line 61 of file WaypointWalkControl.h.

Referenced by refresh(), and WaypointWalkControl().

enter localization updates manually

Definition at line 63 of file WaypointWalkControl.h.

Referenced by refresh(), and WaypointWalkControl().

repeat waypoints

Definition at line 57 of file WaypointWalkControl.h.

Referenced by doSelect(), refresh(), and WaypointWalkControl().

save a path to a file

Definition at line 62 of file WaypointWalkControl.h.

Referenced by refresh(), and WaypointWalkControl().

start and stop waypoint running

Definition at line 56 of file WaypointWalkControl.h.

Referenced by doSelect(), and WaypointWalkControl().

id number of the walk we're using, so we can check it out before modifying it

Definition at line 67 of file WaypointWalkControl.h.

Referenced by activate(), deactivate(), doSelect(), and refresh().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:18 2016 by Doxygen 1.6.3