Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SaveWalkControl Class Reference

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

#include <SaveWalkControl.h>

Inheritance diagram for SaveWalkControl:

Detailed Description

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

Definition at line 10 of file SaveWalkControl.h.

List of all members.

Public Member Functions

 SaveWalkControl (const std::string &n, 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

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,
MC_ID  w 
)

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 
)

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

Definition at line 15 of file SaveWalkControl.h.

virtual SaveWalkControl::~SaveWalkControl (  )  [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  )  [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

walk to save from

Definition at line 41 of file SaveWalkControl.h.

Referenced by takeInput().

MC_ID of walk to save from.

Definition at line 40 of file SaveWalkControl.h.

Referenced by takeInput().


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

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