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. |
|
returns a short description of what the control does
Reimplemented from ControlBase. Definition at line 41 of file BehaviorSwitchActivatorControl.h. |
|
returns the name of the control
Reimplemented from ControlBase. Definition at line 40 of file BehaviorSwitchActivatorControl.h. |
|
don't assign this class
|
|
The behavior switch to activate/deactivate.
Definition at line 44 of file BehaviorSwitchActivatorControl.h. Referenced by activate(), BehaviorSwitchActivatorControl(), getDescription(), and getName(). |
|
the mode this control is in
Definition at line 45 of file BehaviorSwitchActivatorControl.h. Referenced by activate(), and BehaviorSwitchActivatorControl(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:04 2004 by Doxygen 1.3.4 |