Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

TailWagNode.h

Go to the documentation of this file.
00001 //-*-c++-*-
00002 #ifndef INCLUDED_TailWagNode_h_
00003 #define INCLUDED_TailWagNode_h_
00004 
00005 #include "MCNode.h"
00006 #include "Motion/TailWagMC.h"
00007 
00008 // You don't actually need to declare extern strings in order to use
00009 // MCNode, but it's nice...  If you left the name and description
00010 // off, it would substitute MCNode's default values, but that would
00011 // yield rather ambiguous debugging output
00012 
00013 //!default name for TailWagNode's (have to instantiate a variable in order to use as a template argument)
00014 /*! instantiation will be placed in MCNode.cc to avoid file bloat */
00015 extern const char defTailWagNodeName[];
00016 //!default description for TailWagNode's (have to instantiate a variable in order to use as a template argument)
00017 /*! instantiation will be placed in MCNode.cc to avoid file bloat */
00018 extern const char defTailWagNodeDesc[];
00019 
00020 //! A simple StateNode that executes a TailWagMC motion command
00021 class TailWagNode : public MCNode<TailWagMC,defTailWagNodeName,defTailWagNodeDesc,false> {
00022 public:
00023   //! default constructor, use type name as instance name
00024   TailWagNode() : MCNode<TailWagMC,defTailWagNodeName,defTailWagNodeDesc,false>() {}
00025   
00026   //! constructor, take an instance name
00027   TailWagNode(const std::string& nm) : MCNode<TailWagMC,defTailWagNodeName,defTailWagNodeDesc,false>(nm) {}
00028 };
00029 
00030 /*! @file
00031  * @brief Defines TailWagNode, a simple StateNode that runs a TailWagMC motion command
00032  * @author dst, ejt (Creators)
00033  *
00034  * $Author: ejt $
00035  * $Name: tekkotsu-4_0 $
00036  * $Revision: 1.5 $
00037  * $State: Exp $
00038  * $Date: 2006/09/27 20:10:27 $
00039  */
00040 
00041 #endif

Tekkotsu v4.0
Generated Thu Nov 22 00:54:56 2007 by Doxygen 1.5.4