Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
00001 //-*-c++-*- 00002 #ifndef INCLUDED_Aibo3DMonitorBehavior_h_ 00003 #define INCLUDED_Aibo3DMonitorBehavior_h_ 00004 00005 //! Sends current pose to Aibo3D GUI, ignores incoming commands 00006 class Aibo3DMonitorBehavior : public Aibo3DControllerBehavior { 00007 public: 00008 Aibo3DMonitorBehavior() : Aibo3DControllerBehavior() {} 00009 00010 virtual std::string getGUIType() const { return "Aibo3D"; } 00011 virtual unsigned int getPort() const { return config->main.aibo3d_port; } 00012 00013 virtual std::string getName() const { return "Aibo3D Monitor"; } //!< returns name of behavior 00014 static std::string getClassDescription() { 00015 char tmp[20]; 00016 sprintf(tmp,"%d",config->main.aibo3d_port); 00017 return std::string("Sends current pose on port ")+tmp; 00018 } 00019 }; 00020 00021 /*! @file 00022 * @brief Defines Aibo3DMonitorBehavior, which sends current pose to Aibo3D GUI, ignores incoming commands 00023 * @author ejt (Creator) 00024 * 00025 * $Author: ejt $ 00026 * $Name: tekkotsu-1_4_1 $ 00027 * $Revision: 1.2 $ 00028 * $State: Exp $ 00029 * $Date: 2003/07/07 01:00:07 $ 00030 */ 00031 00032 #endif
Tekkotsu v1.4 |
Generated Sat Jul 19 00:06:29 2003 by Doxygen 1.3.2 |