Homepage Demos Overview Downloads Tutorials Reference
Credits

SaveWalkControl Class Reference

#include <SaveWalkControl.h>

Inheritance diagram for SaveWalkControl:

Inheritance graph
[legend]
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

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

don't call

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.


Member Data Documentation

WalkMC* SaveWalkControl::thewalk [protected]
 

walk to save from

Definition at line 38 of file SaveWalkControl.h.

Referenced by SaveWalkControl(), and takeInput().

MotionManager::MC_ID SaveWalkControl::walk_id [protected]
 

MC_ID of walk to save from.

Definition at line 37 of file SaveWalkControl.h.

Referenced by SaveWalkControl(), and takeInput().


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

Tekkotsu v2.2
Generated Tue Oct 19 14:20:22 2004 by Doxygen 1.3.9.1