Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
ShutdownControl.hGo to the documentation of this file.00001 //-*-c++-*- 00002 #ifndef INCLUDED_ShutdownControl_h_ 00003 #define INCLUDED_ShutdownControl_h_ 00004 00005 #include "NullControl.h" 00006 00007 //! when activated, this will cause the aibo to shut down 00008 class ShutdownControl : public NullControl { 00009 public: 00010 00011 ShutdownControl() : NullControl("Shutdown","Turns the Aibo off") {} //!< constructor 00012 ShutdownControl(const std::string& n) : NullControl(n,"Turns the Aibo off") {} //!< constructor 00013 ShutdownControl(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 //! shuts down 00018 virtual ControlBase * doSelect(); 00019 }; 00020 00021 /*! @file 00022 * @brief Describes ShutdownControl, which initiates the shutdown sequence 00023 * @author ejt (Creator) 00024 * 00025 * $Author: ejt $ 00026 * $Name: tekkotsu-2_1 $ 00027 * $Revision: 1.3 $ 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 |