| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <SensorObserverControl.h>
Inheritance diagram for SensorObserverControl:

Definition at line 12 of file SensorObserverControl.h.
Public Member Functions | |
| SensorObserverControl () | |
| constructor | |
| virtual ControlBase * | doSelect () |
| opens a custom (embedded) menu to toggle individual sensors | |
| virtual void | refresh () |
| called when the child has died 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 | |
| virtual void | processEvent (const EventBase &event) |
| sends all events received to stdout and/or logfile | |
Protected Member Functions | |
| void | checkLogFile () |
| checks to see if logfilePath differs from the StringInputControl's value and switches it if it is | |
Protected Attributes | |
| std::string | logfilePath |
| address of the logfile, if any (empty string is no logfile) | |
| std::ofstream | logfile |
| if a filename is given, events are logged to here | |
| ControlBase * | helpCtl |
| control containing help info | |
| ControlBase * | sensorCtl |
| control of sensor selectors | |
| ControlBase * | buttonCtl |
| control of buttons selectors | |
| ControlBase * | outputCtl |
| control of outputs selectors | |
| ControlBase * | dutyCtl |
| control of duty selectors | |
| ToggleControl * | consoleCtl |
| turn logging to the console on and off | |
| StringInputControl * | fileCtl |
| turn logging to a file on and off | |
| unsigned int | numListeners |
| count of active console or file control so we know if we're actually logging | |
Private Member Functions | |
| SensorObserverControl (const SensorObserverControl &) | |
| don't call | |
| SensorObserverControl & | operator= (const SensorObserverControl &) |
| don't call | |
|
|
constructor
Definition at line 11 of file SensorObserverControl.cc. |
|
|
don't call
|
|
|
checks to see if logfilePath differs from the StringInputControl's value and switches it if it is
Definition at line 111 of file SensorObserverControl.cc. Referenced by processEvent(), and refresh(). |
|
|
opens a custom (embedded) menu to toggle individual sensors
Reimplemented from ControlBase. Definition at line 44 of file SensorObserverControl.cc. |
|
|
don't call
|
|
|
sends all events received to stdout and/or logfile
Implements EventListener. Definition at line 86 of file SensorObserverControl.cc. |
|
|
called when the child has died 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. Definition at line 80 of file SensorObserverControl.cc. Referenced by doSelect(). |
|
|
control of buttons selectors
Definition at line 37 of file SensorObserverControl.h. Referenced by processEvent(), and SensorObserverControl(). |
|
|
turn logging to the console on and off
Definition at line 40 of file SensorObserverControl.h. Referenced by doSelect(), processEvent(), and SensorObserverControl(). |
|
|
control of duty selectors
Definition at line 39 of file SensorObserverControl.h. Referenced by processEvent(), and SensorObserverControl(). |
|
|
turn logging to a file on and off
Definition at line 41 of file SensorObserverControl.h. Referenced by checkLogFile(), doSelect(), and SensorObserverControl(). |
|
|
control containing help info
Definition at line 35 of file SensorObserverControl.h. Referenced by SensorObserverControl(). |
|
|
if a filename is given, events are logged to here
Definition at line 33 of file SensorObserverControl.h. Referenced by checkLogFile(), doSelect(), and processEvent(). |
|
|
address of the logfile, if any (empty string is no logfile)
Definition at line 30 of file SensorObserverControl.h. Referenced by checkLogFile(). |
|
|
count of active console or file control so we know if we're actually logging
Definition at line 43 of file SensorObserverControl.h. Referenced by doSelect(). |
|
|
control of outputs selectors
Definition at line 38 of file SensorObserverControl.h. Referenced by processEvent(), and SensorObserverControl(). |
|
|
control of sensor selectors
Definition at line 36 of file SensorObserverControl.h. Referenced by processEvent(), and SensorObserverControl(). |
|
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:25 2004 by Doxygen 1.3.4 |