Homepage
Demos
Overview
Downloads
Dev. Resources
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
 ~PaceTargetsMachine ()
 destructor, check if we need to call our teardown
virtual void setup ()
 This is called by DoStart() when you should setup the network of subnodes (if any).
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  )  [inline]
 

destructor, check if we need to call our teardown

Definition at line 15 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 72 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 (if any).

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.

Default implementation will take care of the subnodes and their transitions, you only need to worry about any *other* memory which may have been allocated. If none, you may not need implement this function at all.

Reimplemented from StateNode.

Definition at line 77 of file PaceTargetsMachine.cc.

Referenced by ~PaceTargetsMachine().


Member Data Documentation

StateNode* PaceTargetsMachine::start [protected]
 

the node to be started first upon activation

Definition at line 26 of file PaceTargetsMachine.h.

Referenced by DoStart(), and setup().


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

Tekkotsu v2.4.1
Generated Tue Aug 16 16:35:06 2005 by Doxygen 1.4.4