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

Definition at line 9 of file BehaviorSwitchActivatorControl.h.
Public Types | |
| enum | Mode_t { start, stop, toggle } |
| lets you tell it what action to perform More... | |
Public Member Functions | |
| BehaviorSwitchActivatorControl (const std::string &n, BehaviorSwitchControlBase *bscb, Mode_t m=toggle) | |
| constructor | |
| virtual | ~BehaviorSwitchActivatorControl () |
| destructor | |
| virtual ControlBase * | activate (MotionManager::MC_ID disp_id, Socket *) |
| performs the action denoted by mode | |
| virtual std::string | getName () const |
| returns the name of the control | |
| virtual std::string | getDescription () const |
| returns a short description of what the control does | |
Protected Attributes | |
| BehaviorSwitchControlBase * | behswitch |
| The behavior switch to activate/deactivate. | |
| Mode_t | mode |
| the mode this control is in | |
Private Member Functions | |
| BehaviorSwitchActivatorControl (const BehaviorSwitchActivatorControl &) | |
| don't copy this class | |
| BehaviorSwitchActivatorControl | operator= (const BehaviorSwitchActivatorControl &) |
| don't assign this class | |
|
|
lets you tell it what action to perform
Definition at line 12 of file BehaviorSwitchActivatorControl.h. |
|
||||||||||||||||
|
constructor
Definition at line 15 of file BehaviorSwitchActivatorControl.h. |
|
|
destructor
Definition at line 18 of file BehaviorSwitchActivatorControl.h. |
|
|
don't copy this class
|
|
||||||||||||
|
performs the action denoted by mode
Reimplemented from ControlBase. Definition at line 21 of file BehaviorSwitchActivatorControl.h. References behswitch, ERS210Info::FaceLEDMask, MotionManager::invalid_MC_ID, MMAccessor< MC_t >::mc(), MotionManager::MC_ID, mode, BehaviorSwitchControlBase::start(), start, BehaviorSwitchControlBase::stop(), stop, BehaviorSwitchControlBase::toggle(), and toggle. |
Here is the call graph for this function:

|
|
returns a short description of what the control does
Reimplemented from ControlBase. Definition at line 41 of file BehaviorSwitchActivatorControl.h. References behswitch, and ControlBase::getDescription(). |
Here is the call graph for this function:

|
|
returns the name of the control
Reimplemented from ControlBase. Definition at line 40 of file BehaviorSwitchActivatorControl.h. References behswitch, and ControlBase::getName(). |
Here is the call graph for this function:

|
|
don't assign this class
|
|
|
The behavior switch to activate/deactivate.
Definition at line 44 of file BehaviorSwitchActivatorControl.h. |
|
|
the mode this control is in
Definition at line 45 of file BehaviorSwitchActivatorControl.h. |
|
Tekkotsu v1.5 |
Generated Fri Oct 10 15:55:12 2003 by Doxygen 1.3.4 |