Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
VisualRoutinesStateNode.hGo to the documentation of this file.00001 //-*-c++-*- 00002 #ifndef INCLUDED_VisualRoutinesStateNode_h_ 00003 #define INCLUDED_VisualRoutinesStateNode_h_ 00004 00005 #include "Behaviors/StateNode.h" 00006 #include "DualCoding/VRmixin.h" 00007 00008 namespace DualCoding { 00009 00010 /*! @brief Base class from which visual-routines based state nodes 00011 * (which all share a common SketchSpace) inherit */ 00012 class VisualRoutinesStateNode : public StateNode, public VRmixin { 00013 public: 00014 virtual void start(); 00015 virtual void stop(); 00016 00017 protected: 00018 //! constructor, class name from typeid is used as instance name 00019 explicit VisualRoutinesStateNode() : StateNode(), VRmixin() {} 00020 00021 //! constructor, @a name is used as both instance name and class name 00022 explicit VisualRoutinesStateNode(const std::string &name) : StateNode(name), VRmixin() {} 00023 00024 private: 00025 // dummy functions to satisfy the compiler 00026 VisualRoutinesStateNode (const VisualRoutinesStateNode&); //!< never call this 00027 VisualRoutinesStateNode& operator=(const VisualRoutinesStateNode&); //!< never call this 00028 }; 00029 00030 } // namespace 00031 00032 #endif |
DualCoding 5.1CVS |
Generated Mon May 9 04:56:28 2016 by Doxygen 1.6.3 |