Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SaveWalkControl Class Reference

#include <SaveWalkControl.h>

Inheritance diagram for SaveWalkControl:

List of all members.


Detailed Description

When activated, saves walk parameters to a file specified from cin.

Definition at line 10 of file SaveWalkControl.h.


Public Member Functions

 SaveWalkControl (const std::string &n, MotionManager::MC_ID w)
 constructor, pass the MC_ID of the walk you want to save
 SaveWalkControl (const std::string &n, WalkMC *awalk)
 constructor, pass a pointer to the walk you want to save
virtual ~SaveWalkControl ()
 destructor
virtual ControlBasetakeInput (const std::string &msg)
 called when the user has supplied a text string (may or may not have been prompted by doReadStdIn()! May not even be active yet - the user can direct the same input to a set of hilighted menus)

Protected Attributes

MotionManager::MC_ID walk_id
 MC_ID of walk to save from.
WalkMCthewalk
 walk to save from

Private Member Functions

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

Constructor & Destructor Documentation

SaveWalkControl::SaveWalkControl ( const std::string &  n,
MotionManager::MC_ID  w 
) [inline]

constructor, pass the MC_ID of the walk you want to save

Definition at line 13 of file SaveWalkControl.h.

SaveWalkControl::SaveWalkControl ( const std::string &  n,
WalkMC awalk 
) [inline]

constructor, pass a pointer to the walk you want to save

Definition at line 15 of file SaveWalkControl.h.

virtual SaveWalkControl::~SaveWalkControl (  )  [inline, virtual]

destructor

Definition at line 17 of file SaveWalkControl.h.

SaveWalkControl::SaveWalkControl ( const SaveWalkControl  )  [private]

don't call


Member Function Documentation

virtual ControlBase* SaveWalkControl::takeInput ( const std::string &  msg  )  [inline, virtual]

called when the user has supplied a text string (may or may not have been prompted by doReadStdIn()! May not even be active yet - the user can direct the same input to a set of hilighted menus)

The value which is returned is then activate()ed and pushed on the Controller's stack

Reimplemented from StringInputControl.

Definition at line 19 of file SaveWalkControl.h.

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

don't call


Member Data Documentation

MC_ID of walk to save from.

Definition at line 40 of file SaveWalkControl.h.

Referenced by takeInput().

walk to save from

Definition at line 41 of file SaveWalkControl.h.

Referenced by takeInput().


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:40 2007 by Doxygen 1.5.4