Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ShutdownControl.ccGo to the documentation of this file.00001 #include "ShutdownControl.h" 00002 #ifdef PLATFORM_APERIOS 00003 # include <OPENR/OPENRAPI.h> 00004 #else 00005 # include "Shared/ProjectInterface.h" 00006 #endif 00007 00008 ControlBase * ShutdownControl::doSelect() { 00009 #ifdef PLATFORM_APERIOS 00010 OBootCondition bc(0); 00011 OPENR::Shutdown(bc); 00012 #else 00013 ProjectInterface::sendCommand("quit"); 00014 #endif 00015 return NULL; 00016 } 00017 00018 /*! @file 00019 * @brief Implements ShutdownControl, which causes the aibo to shutdown (very short - one function separated out to limit recompile of the OPENR headers) 00020 * @author ejt (Creator) 00021 * 00022 * $Author: ejt $ 00023 * $Name: tekkotsu-4_0 $ 00024 * $Revision: 1.6 $ 00025 * $State: Exp $ 00026 * $Date: 2007/06/13 18:14:12 $ 00027 */ 00028 |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:54:55 2007 by Doxygen 1.5.4 |