Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <HeadLevelBehavior.h>
Inheritance diagram for HeadLevelBehavior:
Definition at line 16 of file HeadLevelBehavior.h.
Public Member Functions | |
HeadLevelBehavior () | |
constructor | |
virtual | ~HeadLevelBehavior () |
destructor | |
virtual void | DoStart () |
By default, merely adds to the reference counter (through AddReference()); Note you should still call this from your overriding methods. | |
virtual void | DoStop () |
By default, subtracts from the reference counter, and deletes if zero; Note you should still call this when you override this; Warning call this at the end of your DoStop(), not beginning (it might delete this ). | |
virtual void | processEvent (const EventBase &event) |
By defining here, allows you to get away with not supplying a processEvent() function for the EventListener interface. By default, does nothing. | |
virtual std::string | getName () const |
Identifies the behavior in menus and such. | |
Static Public Member Functions | |
std::string | getClassDescription () |
Gives a short description of what this class of behaviors does... you should override this (but don't have to). | |
Protected Attributes | |
EventBase | head_release |
event mask for releasing head (chin button down) | |
EventBase | head_lock |
event mask for locking head (chin button up) | |
const SharedObject< HeadPointerMC > | head |
might as well just hang on to the whole memory region and reuse it, we can peek for most of our stuff | |
MotionManager::MC_ID | head_id |
MCID of headpointer. | |
MotionManager::MC_ID | pid_id |
MCID of pid controller. |
|
constructor
Definition at line 19 of file HeadLevelBehavior.h. |
|
destructor
Definition at line 39 of file HeadLevelBehavior.h. |
|
By default, merely adds to the reference counter (through AddReference()); Note you should still call this from your overriding methods.
Reimplemented from BehaviorBase. Definition at line 43 of file HeadLevelBehavior.h. |
|
By default, subtracts from the reference counter, and deletes if zero; Note you should still call this when you override this; Warning call this at the end of your DoStop(), not beginning (it might
Reimplemented from BehaviorBase. Definition at line 53 of file HeadLevelBehavior.h. |
|
Gives a short description of what this class of behaviors does... you should override this (but don't have to).
Reimplemented from BehaviorBase. Definition at line 73 of file HeadLevelBehavior.h. |
|
Identifies the behavior in menus and such.
Implements BehaviorBase. Definition at line 72 of file HeadLevelBehavior.h. |
|
By defining here, allows you to get away with not supplying a processEvent() function for the EventListener interface. By default, does nothing.
Reimplemented from BehaviorBase. Definition at line 60 of file HeadLevelBehavior.h. |
|
might as well just hang on to the whole memory region and reuse it, we can peek for most of our stuff
Definition at line 78 of file HeadLevelBehavior.h. Referenced by DoStart(), DoStop(), HeadLevelBehavior(), processEvent(), and ~HeadLevelBehavior(). |
|
MCID of headpointer.
Definition at line 79 of file HeadLevelBehavior.h. Referenced by DoStart(), DoStop(), and HeadLevelBehavior(). |
|
event mask for locking head (chin button up)
Definition at line 77 of file HeadLevelBehavior.h. Referenced by DoStart(), HeadLevelBehavior(), and processEvent(). |
|
event mask for releasing head (chin button down)
Definition at line 76 of file HeadLevelBehavior.h. Referenced by DoStart(), HeadLevelBehavior(), and processEvent(). |
|
MCID of pid controller.
Definition at line 80 of file HeadLevelBehavior.h. Referenced by HeadLevelBehavior(), and processEvent(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:13 2004 by Doxygen 1.3.4 |