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 
00035 #endif

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:51 2016 by Doxygen 1.6.3