Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <BehaviorActivatorControl.h>
Inheritance diagram for BehaviorActivatorControl:
Definition at line 8 of file BehaviorActivatorControl.h.
Public Types | |
enum | Mode_t { start, stop, toggle } |
lets you tell it what action to perform More... | |
Public Member Functions | |
virtual | ~BehaviorActivatorControl () |
destructor | |
virtual ControlBase * | activate (MotionManager::MC_ID disp_id, Socket *gui) |
performs the action denoted by mode | |
BehaviorActivatorControl (BehaviorBase *behave, Mode_t m=toggle) | |
constructors | |
BehaviorActivatorControl (const std::string &n, BehaviorBase *behave, Mode_t m=toggle) | |
constructors | |
BehaviorActivatorControl (const std::string &n, const std::string &d, BehaviorBase *behave, Mode_t m=toggle) | |
constructors | |
Protected Member Functions | |
void | init () |
adds to target's reference counter | |
Protected Attributes | |
BehaviorBase * | target |
The behavior to activate/deactivate. | |
Mode_t | mode |
the mode this control is in | |
Private Member Functions | |
BehaviorActivatorControl (const BehaviorActivatorControl &) | |
don't copy this class | |
BehaviorActivatorControl | operator= (const BehaviorActivatorControl &) |
don't assign this class |
|
lets you tell it what action to perform
Definition at line 11 of file BehaviorActivatorControl.h. |
|
constructors
Definition at line 15 of file BehaviorActivatorControl.h. |
|
constructors
Definition at line 16 of file BehaviorActivatorControl.h. |
|
constructors
Definition at line 17 of file BehaviorActivatorControl.h. |
|
destructor
Definition at line 21 of file BehaviorActivatorControl.h. References ReferenceCounter::RemoveReference(), and target. |
|
don't copy this class
|
|
performs the action denoted by mode
Reimplemented from NullControl. Definition at line 24 of file BehaviorActivatorControl.h. References NullControl::activate(), BehaviorBase::DoStart(), BehaviorBase::DoStop(), BehaviorBase::isActive(), mode, start, stop, target, and toggle. |
|
adds to target's reference counter
Definition at line 48 of file BehaviorActivatorControl.h. References ReferenceCounter::AddReference(), and target. |
|
don't assign this class
|
|
the mode this control is in
Definition at line 53 of file BehaviorActivatorControl.h. |
|
The behavior to activate/deactivate.
Definition at line 52 of file BehaviorActivatorControl.h. |
Tekkotsu v1.4 |
Generated Sat Jul 19 00:08:50 2003 by Doxygen 1.3.2 |