Homepage Demos Overview Downloads Tutorials Reference
Credits

TailWagNode Class Reference

#include <TailWagNode.h>

Inheritance diagram for TailWagNode:

Inheritance graph
[legend]
List of all members.

Detailed Description

A simple StateNode that executes a TailWagMC motion command.

Definition at line 10 of file TailWagNode.h.

Public Member Functions

 TailWagNode (std::string nodename="TailWagNode")
 constructor
virtual void DoStart ()
 activate the node
virtual void DoStop ()
 deactivate the node
virtual void processEvent (const EventBase &)
 receive motmanEGID status event and throw stateMachineEGID status event - this doesn't ever actually happen for a TailWagMC, but just for completeness...
SharedObject< TailWagMC > & getMC ()
 reveal the MotionCommand itself, use getMC_ID() instead if this node isActive().
MotionManager::MC_IDgetMC_ID ()
 reveal the MC_ID

Protected Attributes

SharedObject< TailWagMCtail_mc
 MotionCommand used by this node.
MotionManager::MC_ID tail_id
 id number for the MotionCommand


Constructor & Destructor Documentation

TailWagNode::TailWagNode std::string  nodename = "TailWagNode"  )  [inline]
 

constructor

Definition at line 17 of file TailWagNode.h.


Member Function Documentation

virtual void TailWagNode::DoStart  )  [inline, virtual]
 

activate the node

Reimplemented from StateNode.

Definition at line 21 of file TailWagNode.h.

virtual void TailWagNode::DoStop  )  [inline, virtual]
 

deactivate the node

Reimplemented from StateNode.

Definition at line 28 of file TailWagNode.h.

SharedObject<TailWagMC>& TailWagNode::getMC  )  [inline]
 

reveal the MotionCommand itself, use getMC_ID() instead if this node isActive().

Definition at line 41 of file TailWagNode.h.

MotionManager::MC_ID& TailWagNode::getMC_ID  )  [inline]
 

reveal the MC_ID

Definition at line 44 of file TailWagNode.h.

virtual void TailWagNode::processEvent const EventBase  )  [inline, virtual]
 

receive motmanEGID status event and throw stateMachineEGID status event - this doesn't ever actually happen for a TailWagMC, but just for completeness...

Reimplemented from BehaviorBase.

Definition at line 36 of file TailWagNode.h.


Member Data Documentation

MotionManager::MC_ID TailWagNode::tail_id [protected]
 

id number for the MotionCommand

Definition at line 13 of file TailWagNode.h.

Referenced by DoStart(), DoStop(), getMC_ID(), and TailWagNode().

SharedObject<TailWagMC> TailWagNode::tail_mc [protected]
 

MotionCommand used by this node.

Definition at line 12 of file TailWagNode.h.

Referenced by DoStart(), getMC(), and TailWagNode().


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

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