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

Definition at line 11 of file ExploreMachine.h.
Public Member Functions | |
| ExploreMachine (StateNode *p=NULL) | |
| constructor | |
| virtual void | setup () |
| This is called by DoStart() when you should setup the network of subnodes. | |
| virtual void | DoStart () |
| Transitions should call this when you are entering the state, so it can enable its transitions. | |
| virtual void | DoStop () |
| Transitions should call this when you are leaving the state, so it can disable its transitions. | |
| virtual void | teardown () |
| This is called by DoStop() when you should destruct subnodes. | |
| virtual void | processEvent (const EventBase &) |
| By defining here, allows you to get away with not supplying a processEvent() function for the EventListener interface. By default, does nothing. | |
Protected Attributes | |
| StateNode * | start |
| the node to begin within on DoStart() (turn) | |
| WalkNode * | turn |
| walk node to use when turning | |
| MotionManager::MC_ID | walkid |
| we want to share a walk between turning and walking nodes | |
Private Member Functions | |
| ExploreMachine (const ExploreMachine &) | |
| don't use | |
| ExploreMachine | operator= (const ExploreMachine &) |
| don't use | |
|
|
constructor
Definition at line 14 of file ExploreMachine.h. |
|
|
don't use
|
|
|
Transitions should call this when you are entering the state, so it can enable its transitions.
Reimplemented from StateNode. Definition at line 35 of file ExploreMachine.h. References EventRouter::addListener(), StateNode::DoStart(), erouter, start, EventBase::stateMachineEGID, and turn. |
Here is the call graph for this function:

|
|
Transitions should call this when you are leaving the state, so it can disable its transitions. for(int i=0; i<1000; i++) Reimplemented from StateNode. Definition at line 42 of file ExploreMachine.h. References StateNode::DoStop(), erouter, and EventRouter::forgetListener(). |
Here is the call graph for this function:

|
|
don't use
|
|
|
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 52 of file ExploreMachine.h. References ERS210Info::IRDistOffset, Socket::printf(), WorldState::sensors, WalkNode::setAVelocity(), sout, state, and turn. |
Here is the call graph for this function:

|
|
This is called by DoStart() when you should setup the network of subnodes.
Reimplemented from StateNode. Definition at line 20 of file ExploreMachine.h. References MotionManager::addMotion(), StateNode::addNode(), StateNode::addTransition(), StateNode::getName(), ERS210Info::IRDistOffset, motman, EventBase::sensorEGID, WorldState::sensors, StateNode::setName(), StateNode::setup(), start, state, EventBase::statusETID, turn, and walkid. |
Here is the call graph for this function:

|
|
This is called by DoStop() when you should destruct subnodes.
Reimplemented from StateNode. Definition at line 47 of file ExploreMachine.h. References motman, MotionManager::removeMotion(), StateNode::teardown(), and walkid. |
Here is the call graph for this function:

|
|
the node to begin within on DoStart() (turn)
Definition at line 63 of file ExploreMachine.h. |
|
|
walk node to use when turning
Definition at line 64 of file ExploreMachine.h. |
|
|
we want to share a walk between turning and walking nodes
Definition at line 65 of file ExploreMachine.h. |
|
Tekkotsu v1.5 |
Generated Fri Oct 10 15:56:03 2003 by Doxygen 1.3.4 |