Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

WaypointWalkControl Class Reference

#include <WaypointWalkControl.h>

Inheritance diagram for WaypointWalkControl:

Inheritance graph
[legend]
List of all members.

Detailed Description

Allows interactive control and execution of a set of waypoints.

Definition at line 14 of file WaypointWalkControl.h.

Public Member Functions

 WaypointWalkControl ()
 constructor
virtual ControlBaseactivate (MotionManager::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
MotionManager::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

Classes

class  WaypointEditControl
 handles editing of individual waypoints More...


Constructor & Destructor Documentation

WaypointWalkControl::WaypointWalkControl  ) 
 

constructor

Definition at line 13 of file WaypointWalkControl.cc.

WaypointWalkControl::WaypointWalkControl const WaypointWalkControl  )  [private]
 

don't call


Member Function Documentation

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

add walk_id to motman

Reimplemented from ControlBase.

void WaypointWalkControl::deactivate  )  [virtual]
 

remove the walk_id from motman

Reimplemented from ControlBase.

Definition at line 101 of file WaypointWalkControl.cc.

ControlBase * WaypointWalkControl::doSelect  )  [virtual]
 

handles selection of menu items

Reimplemented from ControlBase.

Definition at line 108 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 42 of file WaypointWalkControl.cc.


Member Data Documentation

NullControl* WaypointWalkControl::addAbsWPCtl [protected]
 

start and stop waypoint running

Definition at line 59 of file WaypointWalkControl.h.

Referenced by doSelect(), and WaypointWalkControl().

NullControl* WaypointWalkControl::addEgoWPCtl [protected]
 

start and stop waypoint running

Definition at line 57 of file WaypointWalkControl.h.

Referenced by doSelect(), and WaypointWalkControl().

NullControl* WaypointWalkControl::addOffWPCtl [protected]
 

start and stop waypoint running

Definition at line 58 of file WaypointWalkControl.h.

Referenced by doSelect(), and WaypointWalkControl().

bool WaypointWalkControl::isRunning [protected]
 

true if walk_id is currently running

Definition at line 54 of file WaypointWalkControl.h.

Referenced by doSelect().

unsigned int WaypointWalkControl::listOffset [protected]
 

the index of the first waypoint in the menu

Definition at line 64 of file WaypointWalkControl.h.

Referenced by refresh(), and WaypointWalkControl().

FileInputControl* WaypointWalkControl::loadCtl [protected]
 

allows loading of a path

Definition at line 60 of file WaypointWalkControl.h.

Referenced by refresh(), and WaypointWalkControl().

StringInputControl* WaypointWalkControl::localizationCtl [protected]
 

enter localization updates manually

Definition at line 62 of file WaypointWalkControl.h.

Referenced by refresh(), and WaypointWalkControl().

ToggleControl* WaypointWalkControl::loopCtl [protected]
 

repeat waypoints

Definition at line 56 of file WaypointWalkControl.h.

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

StringInputControl* WaypointWalkControl::saveCtl [protected]
 

save a path to a file

Definition at line 61 of file WaypointWalkControl.h.

Referenced by refresh(), and WaypointWalkControl().

NullControl* WaypointWalkControl::startstopCtl [protected]
 

start and stop waypoint running

Definition at line 55 of file WaypointWalkControl.h.

Referenced by doSelect(), and WaypointWalkControl().

MotionManager::MC_ID WaypointWalkControl::walk_id [protected]
 

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

Definition at line 66 of file WaypointWalkControl.h.

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


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

Tekkotsu v2.4.1
Generated Tue Aug 16 16:35:12 2005 by Doxygen 1.4.4