Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
FileInputControl Class ReferenceUpon activation, allows user to browse files and select one; stores path in a string. More...
Inheritance diagram for FileInputControl:
Detailed DescriptionUpon activation, allows user to browse files and select one; stores path in a string. Definition at line 9 of file FileInputControl.h.
Constructor & Destructor Documentation
Constructor. Definition at line 12 of file FileInputControl.h.
Constructor. Definition at line 17 of file FileInputControl.h.
don't call Member Function Documentation
clears the last input (i.e. so you can easily tell later if new input is entered) Definition at line 25 of file FileInputControl.h. Referenced by WaypointWalkControl::refresh(), and PostureEditor::refresh().
returns acceptNonExistant Definition at line 33 of file FileInputControl.h.
returns the path to file last selected; use takeInput() to assign to this Definition at line 22 of file FileInputControl.h. Referenced by WaypointWalkControl::refresh(), WalkCalibration::refresh(), TorqueCalibrate::refresh(), and PostureEditor::refresh().
called by takeInput if the input doesn't match any slots or matches multiple slots -- the ControlBase implementation displays an error and returns itself
Reimplemented from ControlBase. Definition at line 42 of file FileInputControl.h.
don't call
the big money function - by default calls the parent if it exists, otherwise nothing returning NULL means deactivate, this (default) to stay put, or a different Control if you want a submenu Reimplemented from FileBrowserControl. Reimplemented in ConfigurationEditor::LoadSettings, and ConfigurationEditor::SaveSettings. Definition at line 36 of file FileInputControl.h. Referenced by clearLastInput(), and invalidInput().
sets acceptNonExistant Definition at line 31 of file FileInputControl.h. Referenced by TorqueCalibrate::init(), and ConfigurationEditor::SaveSettings::SaveSettings().
pass pointer to an external string you wish to have set when a file is selected; NULL otherwise Definition at line 28 of file FileInputControl.h. Member Data Documentation
if true, will set file and myfile to "invalid" inputs as well -- i.e. inputs that don't correspond to any current file (so user can request a new one) Definition at line 50 of file FileInputControl.h. Referenced by getAcceptNonExistant(), invalidInput(), and setAcceptNonExistant().
if we're supposed to store in an external string, this will point to it, otherwise NULL Definition at line 48 of file FileInputControl.h. Referenced by selectedFile(), and setStore().
stores last file selected Definition at line 49 of file FileInputControl.h. Referenced by getLastInput(), and selectedFile(). The documentation for this class was generated from the following file: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:08 2016 by Doxygen 1.6.3 |