Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
00001 //-*-c++-*- 00002 #ifndef INCLUDED_RebootControl_h_ 00003 #define INCLUDED_RebootControl_h_ 00004 00005 #include "NullControl.h" 00006 00007 //! when activated, this will cause the aibo to reboot 00008 class RebootControl : public NullControl { 00009 public: 00010 00011 RebootControl() : NullControl("Reboot","Reboots the Aibo") {} //!< constructor 00012 RebootControl(const std::string& n) : NullControl(n,"Reboots the Aibo") {} //!< constructor 00013 RebootControl(const std::string& n, const std::string& d) : NullControl(n,d) {} //!< constructor 00014 00015 virtual ControlBase * activate(MotionManager::MC_ID , Socket * ) { return doSelect(); } //!< calls doSelect() 00016 00017 //! reboots 00018 virtual ControlBase * doSelect(); 00019 }; 00020 00021 /*! @file 00022 * @brief Defines RebootControl, which causes the aibo to reboot 00023 * @author ejt (Creator) 00024 * 00025 * $Author: ejt $ 00026 * $Name: tekkotsu-1_4_1 $ 00027 * $Revision: 1.1 $ 00028 * $State: Exp $ 00029 * $Date: 2003/06/09 08:05:13 $ 00030 */ 00031 00032 #endif
Tekkotsu v1.4 |
Generated Sat Jul 19 00:06:31 2003 by Doxygen 1.3.2 |