Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
StringInputControl Class Reference#include <StringInputControl.h>
Inheritance diagram for StringInputControl:
![]() Detailed DescriptionUpon activation, prompts the user for a string and stores it.Definition at line 10 of file StringInputControl.h.
Constructor & Destructor Documentation
Member Function Documentation
called when the child has deactivated and this control should refresh its display, or some other event (such as the user pressing the refresh button) has happened to cause a refresh to be needed
Reimplemented from ControlBase. Reimplemented in ConfigurationEditor::NamedEnumerationEditor, and ValueEditControl< T >. Definition at line 14 of file StringInputControl.cc. Referenced by ValueEditControl< T >::refresh().
prompt the user for text input on the current input device (cin, tekkotsu console (sout), or GUI)
The value which is returned is then activate()ed and pushed on the Controller's stack, so you probably want to return Reimplemented from ControlBase. Definition at line 19 of file StringInputControl.cc. Referenced by refresh().
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 ControlBase. Reimplemented in SavePostureControl, SaveWalkControl, and ValueEditControl< T >. Definition at line 23 of file StringInputControl.h. Referenced by clearLastInput(), WalkCalibration::refresh(), PostureEditor::refresh(), ConfigurationEditor::NewCollectionEntry::refresh(), ValueEditControl< T >::takeInput(), SaveWalkControl::takeInput(), and SavePostureControl::takeInput().
returns last call to takeInput()
Definition at line 29 of file StringInputControl.h. Referenced by SensorObserverControl::checkLogFile(), EventLogger::checkLogFile(), WaypointWalkControl::refresh(), WalkCalibration::refresh(), SensorObserverControl::refresh(), and PostureEditor::refresh().
clears the last input (i.e. so you can easily tell later if new input is entered)
Definition at line 32 of file StringInputControl.h. Referenced by ConfigurationEditor::NamedEnumerationEditor::doSelect(), WaypointWalkControl::refresh(), and SensorObserverControl::refresh().
Member Data Documentation
stores the last input to takeInput()
Definition at line 38 of file StringInputControl.h. Referenced by getLastInput(), and takeInput().
stores the prompt to send out
Definition at line 39 of file StringInputControl.h. Referenced by doReadStdIn(), refresh(), ConfigurationEditor::NamedEnumerationEditor::refresh(), and setPrompt().
The documentation for this class was generated from the following files: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:43 2007 by Doxygen 1.5.4 |