Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

VisualRoutinesBehavior.h

Go to the documentation of this file.
00001 //-*-c++-*-
00002 #ifndef INCLUDED_VisualRoutinesBehavior_h_
00003 #define INCLUDED_VisualRoutinesBehavior_h_
00004 
00005 #include "Behaviors/BehaviorBase.h"
00006 #include "DualCoding/VRmixin.h"
00007 
00008 namespace DualCoding {
00009 
00010 /*! @brief Base class from which visual-routines based behaviors
00011  *  (which all share a common SketchSpace) inherit */
00012 class VisualRoutinesBehavior : public BehaviorBase, public VRmixin {
00013 public:
00014   virtual void start();
00015   virtual void stop();
00016   
00017 protected:
00018   //! constructor, @a name is used as both instance name and class name
00019   explicit VisualRoutinesBehavior() : BehaviorBase(), VRmixin() {}
00020   
00021   //! constructor, @a name is used as both instance name and class name
00022   explicit VisualRoutinesBehavior(const std::string &name) : BehaviorBase(name), VRmixin() {}
00023   
00024   //! destructor, does nothing
00025   virtual ~VisualRoutinesBehavior(void) {}
00026   
00027 private:
00028   // dummy functions to satisfy the compiler
00029   VisualRoutinesBehavior (const VisualRoutinesBehavior&);  //!< never call this
00030   VisualRoutinesBehavior& operator=(const VisualRoutinesBehavior&); //!< never call this
00031 };
00032 
00033 } // namespace
00034 
00035 #endif

DualCoding 5.1CVS
Generated Mon May 9 04:56:28 2016 by Doxygen 1.6.3