Homepage Demos Overview Downloads Tutorials Reference
Credits
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Search

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

virtual ~SaveWalkControl ()
 destructor

virtual ControlBaseactivate (MotionManager::MC_ID disp_id, Socket *)
 when called, prompts on cin for file to save into -- will overwrite this file

virtual void deactivate ()
 does nothing


Protected Attributes

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


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.

References walk_id.

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

destructor

Definition at line 15 of file SaveWalkControl.h.


Member Function Documentation

virtual ControlBase* SaveWalkControl::activate MotionManager::MC_ID  disp_id,
Socket
[inline, virtual]
 

when called, prompts on cin for file to save into -- will overwrite this file

Reimplemented from ControlBase.

Definition at line 18 of file SaveWalkControl.h.

References MotionManager::checkinMotion(), MotionManager::checkoutMotion(), ERS210Info::FaceLEDMask, MotionManager::invalid_MC_ID, MMAccessor< MC_t >::mc(), motman, WalkMC::save(), and walk_id.

virtual void SaveWalkControl::deactivate  )  [inline, virtual]
 

does nothing

Reimplemented from ControlBase.

Definition at line 36 of file SaveWalkControl.h.


Member Data Documentation

MotionManager::MC_ID SaveWalkControl::walk_id [protected]
 

MC_ID of walk to save from.

Definition at line 39 of file SaveWalkControl.h.


The documentation for this class was generated from the following file:
Tekkotsu v1.4
Generated Sat Jul 19 00:09:09 2003 by Doxygen 1.3.2