Homepage Demos Overview Downloads Tutorials Reference
Credits

LedNode Class Reference

#include <LedNode.h>

Inheritance diagram for LedNode:

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 LedNode.h.

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

SharedObject< LedMCleds_mc
 MotionCommand used by this node.
MotionManager::MC_ID leds_id
 id number for the MotionCommand


Constructor & Destructor Documentation

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

constructor

Definition at line 17 of file LedNode.h.

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

constructor

Definition at line 48 of file LedNode.h.


Member Function Documentation

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

activate the node

Reimplemented from StateNode.

Definition at line 21 of file LedNode.h.

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

deactivate the node

Reimplemented from StateNode.

Definition at line 28 of file LedNode.h.

SharedObject<LedMC>& LedNode::getMC  )  [inline]
 

reveal the MotionCommand

Definition at line 41 of file LedNode.h.

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

reveal the MC_ID

Definition at line 44 of file LedNode.h.

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

receive motmanEGID status event and throw stateMachineEGID status event

Reimplemented from BehaviorBase.

Definition at line 36 of file LedNode.h.


Member Data Documentation

MotionManager::MC_ID LedNode::leds_id [protected]
 

id number for the MotionCommand

Definition at line 13 of file LedNode.h.

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

SharedObject<LedMC> LedNode::leds_mc [protected]
 

MotionCommand used by this node.

Definition at line 12 of file LedNode.h.

Referenced by DoStart(), and LedNode().


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