Homepage Demos Overview Downloads Tutorials Reference
Credits

BanditMachine::PressNode Class Reference

#include <BanditMachine.h>

Inheritance diagram for BanditMachine::PressNode:

Inheritance graph
[legend]
List of all members.

Detailed Description

This node is used to move a paw down using a MotionSequenceMC.

Definition at line 80 of file BanditMachine.h.

Public Member Functions

 PressNode (const char *n, unsigned int idx)
 constructor
virtual ~PressNode ()
 destructor
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.

Protected Attributes

MotionManager::MC_ID press_id
 the MC_ID of the MotionSequenceMC being used to do the press
unsigned int index
 the joint index of the paw to move


Constructor & Destructor Documentation

BanditMachine::PressNode::PressNode const char *  n,
unsigned int  idx
[inline]
 

constructor

Parameters:
n name of the node
idx the joint index of the paw to move

Definition at line 86 of file BanditMachine.h.

virtual BanditMachine::PressNode::~PressNode  )  [inline, virtual]
 

destructor

Definition at line 99 of file BanditMachine.h.


Member Function Documentation

virtual void BanditMachine::PressNode::DoStart  )  [inline, virtual]
 

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

Reimplemented from StateNode.

Definition at line 102 of file BanditMachine.h.

virtual void BanditMachine::PressNode::DoStop  )  [inline, virtual]
 

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

Reimplemented from StateNode.

Definition at line 109 of file BanditMachine.h.


Member Data Documentation

unsigned int BanditMachine::PressNode::index [protected]
 

the joint index of the paw to move

Definition at line 118 of file BanditMachine.h.

Referenced by DoStart(), and PressNode().

MotionManager::MC_ID BanditMachine::PressNode::press_id [protected]
 

the MC_ID of the MotionSequenceMC being used to do the press

Definition at line 117 of file BanditMachine.h.

Referenced by DoStart(), DoStop(), PressNode(), and ~PressNode().


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

Tekkotsu v2.2.2
Generated Tue Jan 4 15:45:21 2005 by Doxygen 1.4.0