Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | 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(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 00026 #endif |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:58:49 2016 by Doxygen 1.6.3 |