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

Definition at line 13 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())
| |
| virtual void | DoStop () |
By default, subtracts from the reference counter, and deletes if zero
| |
| virtual void | processEvent (const EventBase &event) |
| 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 | |
| const EventBase | head_release |
| event mask for releasing head (chin button down) | |
| const 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. | |
|
|
constructor
Definition at line 16 of file HeadLevelBehavior.h. References SharedObjectBase::getRegion(), head, head_id, head_lock, head_release, and ERS210Info::HeadFrButOffset. |
|
|
destructor
Definition at line 26 of file HeadLevelBehavior.h. References SharedObjectBase::getRegion(), and head. |
|
|
By default, merely adds to the reference counter (through AddReference())
Reimplemented from BehaviorBase. Definition at line 30 of file HeadLevelBehavior.h. References EventRouter::addListener(), MotionManager::addMotion(), BehaviorBase::DoStart(), erouter, HeadPointerMC::GravityRelative, head, head_id, head_lock, head_release, ERS210Info::HeadOffset, motman, WorldState::outputs, ERS210Info::PanOffset, ERS210Info::RollOffset, state, and ERS210Info::TiltOffset. |
|
|
By default, subtracts from the reference counter, and deletes if zero
Reimplemented from BehaviorBase. Definition at line 39 of file HeadLevelBehavior.h. References HeadPointerMC::BodyRelative, BehaviorBase::DoStop(), erouter, EventRouter::forgetListener(), head, head_id, motman, and MotionManager::removeMotion(). |
|
|
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 57 of file HeadLevelBehavior.h. |
|
|
Identifies the behavior in menus and such.
Implements BehaviorBase. Definition at line 56 of file HeadLevelBehavior.h. |
|
|
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 46 of file HeadLevelBehavior.h. References MotionManager::addMotion(), ASSERTRET, HeadPointerMC::BodyRelative, EventBase::getName(), head, head_lock, head_release, ERS210Info::HeadOffset, motman, ERS210Info::NumHeadJoints, WorldState::outputs, state, and ERS210Info::TPROffset_t. |
|
|
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 62 of file HeadLevelBehavior.h. |
|
|
MCID of headpointer.
Definition at line 63 of file HeadLevelBehavior.h. |
|
|
event mask for locking head (chin button up)
Definition at line 61 of file HeadLevelBehavior.h. |
|
|
event mask for releasing head (chin button down)
Definition at line 60 of file HeadLevelBehavior.h. |
|
Tekkotsu v1.4 |
Generated Sat Jul 19 00:08:58 2003 by Doxygen 1.3.2 |