Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ShutdownControl.cc

Go 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 

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:51 2016 by Doxygen 1.6.3