Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

BehaviorSwitchActivatorControl Class Reference

#include <BehaviorSwitchActivatorControl.h>

Inheritance diagram for BehaviorSwitchActivatorControl:

Inheritance graph
[legend]
List of all members.

Detailed Description

Upon activation, will tell the specified BehaviorSwitchControl to start or stop the behavior.

Definition at line 9 of file BehaviorSwitchActivatorControl.h.

Public Types

 start
 Passed to constructor, indicates this control should start the behavior when activated.
 stop
 Passed to constructor, indicates this control should stop the behavior when activated.
 toggle
 Passed to constructor, indicates this control should toggle the behavior when activated.
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 ControlBaseactivate (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

BehaviorSwitchControlBasebehswitch
 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


Member Enumeration Documentation

lets you tell it what action to perform

Enumerator:
start  Passed to constructor, indicates this control should start the behavior when activated.
stop  Passed to constructor, indicates this control should stop the behavior when activated.
toggle  Passed to constructor, indicates this control should toggle the behavior when activated.

Definition at line 12 of file BehaviorSwitchActivatorControl.h.


The documentation for this class was generated from the following file:

Tekkotsu v3.0
Generated Fri May 11 20:07:46 2007 by Doxygen 1.4.7