Homepage Demos Overview Downloads Tutorials Reference
Credits

PaceTargetsMachine Class Reference

#include <PaceTargetsMachine.h>

Inheritance diagram for PaceTargetsMachine:

Inheritance graph
[legend]
List of all members.

Detailed Description

A StateMachine for walking back and forth between two (or more) pink balls.

Definition at line 9 of file PaceTargetsMachine.h.

Public Member Functions

 PaceTargetsMachine ()
 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 teardown ()
 This is called by DoStop() when you should destruct subnodes.

Protected Attributes

StateNodestart
 the node to be started first upon activation

Private Member Functions

 PaceTargetsMachine (const PaceTargetsMachine &)
 don't call
PaceTargetsMachine operator= (const PaceTargetsMachine &)
 don't call


Constructor & Destructor Documentation

PaceTargetsMachine::PaceTargetsMachine  )  [inline]
 

constructor

Definition at line 12 of file PaceTargetsMachine.h.

PaceTargetsMachine::PaceTargetsMachine const PaceTargetsMachine  )  [private]
 

don't call


Member Function Documentation

void PaceTargetsMachine::DoStart  )  [virtual]
 

Transitions should call this when you are entering the state, so it can enable its transitions.

Reimplemented from StateNode.

Definition at line 59 of file PaceTargetsMachine.cc.

PaceTargetsMachine PaceTargetsMachine::operator= const PaceTargetsMachine  )  [private]
 

don't call

void PaceTargetsMachine::setup  )  [virtual]
 

This is called by DoStart() when you should setup the network of subnodes.

Reimplemented from StateNode.

Definition at line 13 of file PaceTargetsMachine.cc.

void PaceTargetsMachine::teardown  )  [virtual]
 

This is called by DoStop() when you should destruct subnodes.

Reimplemented from StateNode.

Definition at line 64 of file PaceTargetsMachine.cc.


Member Data Documentation

StateNode* PaceTargetsMachine::start [protected]
 

the node to be started first upon activation

Definition at line 20 of file PaceTargetsMachine.h.

Referenced by DoStart(), PaceTargetsMachine(), and setup().


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

Tekkotsu v2.2
Generated Tue Oct 19 14:20:21 2004 by Doxygen 1.3.9.1