Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ToggleControl Class Reference#include <ToggleControl.h>
Inheritance diagram for ToggleControl:
![]() Detailed Descriptiona simple control for turning things on and offCan 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.
don't call
Member Function Documentation
sets the name of the control
Reimplemented from ControlBase. Definition at line 58 of file ToggleControl.h.
calls setStatus() with the not of getStatus()
Definition at line 61 of file ToggleControl.h. Referenced by activate(), and doSelect().
if status is a ' ', it'll be replaced with c, otherwise a space.
Definition at line 66 of file ToggleControl.h.
status will toggle between the two arguments; if current status is neither, the first is used
Definition at line 74 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().
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(), SensorObserverControl::processEvent(), WalkCalibration::refresh(), setRadioGroup(), setStatus(), setStore(), and toggleStatus().
returns the current status char
Definition at line 108 of file ToggleControl.h. Referenced by getStatus(), and toggleStatus().
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().
returns the current RadioGroup
Definition at line 124 of file ToggleControl.h. Referenced by WalkCalibration::setupReady().
sets externalStore (and updates its current setting)
Definition at line 126 of file ToggleControl.h. Referenced by WaypointWalkControl::WaypointEditControl::WaypointEditControl().
don't call
Member Data Documentation
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().
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().
The documentation for this class was generated from the following file: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:45 2007 by Doxygen 1.5.4 |