| 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 "local/sim/SharedGlobals.h" 00006 #endif 00007 00008 ControlBase * ShutdownControl::doSelect() { 00009 #ifdef PLATFORM_APERIOS 00010 OBootCondition bc(0); 00011 OPENR::Shutdown(bc); 00012 #else 00013 if(globals!=NULL) 00014 globals->signalShutdown(); 00015 #endif 00016 return NULL; 00017 } 00018 00019 /*! @file 00020 * @brief Implements ShutdownControl, which causes the aibo to shutdown (very short - one function separated out to limit recompile of the OPENR headers) 00021 * @author ejt (Creator) 00022 * 00023 * $Author: ejt $ 00024 * $Name: tekkotsu-3_0 $ 00025 * $Revision: 1.5 $ 00026 * $State: Exp $ 00027 * $Date: 2005/08/31 21:55:12 $ 00028 */ 00029 |
|
Tekkotsu v3.0 |
Generated Wed Oct 4 00:03:46 2006 by Doxygen 1.4.7 |