Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
RebootControl.hGo to the documentation of this file.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-2_1 $ 00027 * $Revision: 1.2 $ 00028 * $State: Rel $ 00029 * $Date: 2003/09/25 15:26:11 $ 00030 */ 00031 00032 #endif |
Tekkotsu v2.1 |
Generated Tue Mar 16 23:19:15 2004 by Doxygen 1.3.5 |