Homepage Demos Overview Downloads Tutorials Reference
Credits

HeadPointerNode Class Reference

#include <HeadPointerNode.h>

Inheritance diagram for HeadPointerNode:

Inheritance graph
[legend]
List of all members.

Detailed Description

A simple StateNode that executes a LedMC motion command and throws a status event upon completion.

Definition at line 10 of file HeadPointerNode.h.

Public Member Functions

 HeadPointerNode (std::string nodename="HeadPointerNode")
 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
SharedObject< HeadPointerMC > & getMC ()
 reveal the MotionCommand
MotionManager::MC_IDgetMC_ID ()
 reveal the MC_ID

Protected Member Functions

 HeadPointerNode (std::string &classname, std::string &nodename)
 constructor

Protected Attributes

SharedObject< HeadPointerMChead_mc
 MotionCommand used by this node.
MotionManager::MC_ID head_id
 id number for the MotionCommand


Constructor & Destructor Documentation

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

constructor

Definition at line 17 of file HeadPointerNode.h.

HeadPointerNode::HeadPointerNode std::string &  classname,
std::string &  nodename
[inline, protected]
 

constructor

Definition at line 48 of file HeadPointerNode.h.


Member Function Documentation

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

activate the node

Reimplemented from StateNode.

Definition at line 21 of file HeadPointerNode.h.

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

deactivate the node

Reimplemented from StateNode.

Definition at line 28 of file HeadPointerNode.h.

SharedObject<HeadPointerMC>& HeadPointerNode::getMC  )  [inline]
 

reveal the MotionCommand

Definition at line 41 of file HeadPointerNode.h.

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

reveal the MC_ID

Definition at line 44 of file HeadPointerNode.h.

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

receive motmanEGID status event and throw stateMachineEGID status event

Reimplemented from BehaviorBase.

Definition at line 36 of file HeadPointerNode.h.


Member Data Documentation

MotionManager::MC_ID HeadPointerNode::head_id [protected]
 

id number for the MotionCommand

Definition at line 13 of file HeadPointerNode.h.

Referenced by DoStart(), DoStop(), and HeadPointerNode().

SharedObject<HeadPointerMC> HeadPointerNode::head_mc [protected]
 

MotionCommand used by this node.

Definition at line 12 of file HeadPointerNode.h.

Referenced by DoStart(), and HeadPointerNode().


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

Tekkotsu v2.2.1
Generated Tue Nov 23 16:37:47 2004 by Doxygen 1.3.9.1