Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ToggleControl Class Referencea simple control for turning things on and off More...
Inheritance diagram for ToggleControl:
Detailed Descriptiona simple control for turning things on and off Can also be used for radio buttons - select one of a group By using the externalStore (setStore()/getStore()), you can use this instead of a ValueEditControl<bool> Definition at line 13 of file ToggleControl.h.
Constructor & Destructor Documentation
Definition at line 49 of file ToggleControl.h.
Definition at line 50 of file ToggleControl.h.
Definition at line 51 of file ToggleControl.h.
destructor Definition at line 53 of file ToggleControl.h.
don't call Member Function Documentation
returns the current RadioGroup Definition at line 124 of file ToggleControl.h. Referenced by WalkCalibration::setupReady().
returns true if there's a non-space as the status Definition at line 103 of file ToggleControl.h. Referenced by WaypointWalkControl::doSelect(), SensorObserverControl::doSelect(), MoCapLogger::dump(), MoCapLogger::gotMoCapGUI(), SensorObserverControl::processEvent(), WalkCalibration::refresh(), MoCapLogger::refresh(), setRadioGroup(), setStatus(), setStore(), and toggleStatus().
returns the current status char Definition at line 108 of file ToggleControl.h. Referenced by getStatus(), and toggleStatus().
returns externalStore Definition at line 127 of file ToggleControl.h.
don't call
sets the name of the control Reimplemented from ControlBase. Definition at line 58 of file ToggleControl.h.
removes itself from current RadioGroup, and adds itself to rad if non-NULL Definition at line 113 of file ToggleControl.h. Referenced by ToggleControl(), and ~ToggleControl().
pass the character to put as the status Definition at line 87 of file ToggleControl.h.
a true will put a 'X' for the status; false shows ' ' Definition at line 82 of file ToggleControl.h. Referenced by ToggleControl::RadioGroup::activate(), WaypointWalkControl::refresh(), WalkCalibration::setupReady(), toggleStatus(), and WaypointWalkControl::WaypointEditControl::WaypointEditControl().
sets externalStore (and updates its current setting) Definition at line 126 of file ToggleControl.h. Referenced by WaypointWalkControl::WaypointEditControl::WaypointEditControl().
status will toggle between the two arguments; if current status is neither, the first is used Definition at line 74 of file ToggleControl.h.
if status is a ' ', it'll be replaced with c, otherwise a space. Definition at line 66 of file ToggleControl.h.
calls setStatus() with the not of getStatus() Definition at line 61 of file ToggleControl.h. Referenced by activate(), and doSelect(). Member Data Documentation
an external bit which should be kept in sync with current setting Definition at line 132 of file ToggleControl.h. Referenced by getStore(), setStatus(), and setStore().
pointer to an optional radio group to allow one-of-many selections Definition at line 130 of file ToggleControl.h. Referenced by getRadioGroup(), setRadioGroup(), and setStatus(). The documentation for this class was generated from the following file: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:17 2016 by Doxygen 1.6.3 |