Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

RebootControl.cc

Go to the documentation of this file.
00001 #include "RebootControl.h"
00002 #ifdef PLATFORM_APERIOS
00003 #  include <OPENR/OPENRAPI.h>
00004 #endif
00005 
00006 ControlBase * RebootControl::doSelect()    {
00007 #ifdef PLATFORM_APERIOS
00008   OBootCondition bc(obcbBOOT_TIMER, 0, obcbttRELATIVE);
00009   OPENR::Shutdown(bc);
00010 #endif
00011   return NULL;
00012 }
00013 
00014 /*! @file
00015  * @brief Implements RebootControl, which causes the aibo to reboot (very short - one function separated out to limit recompile of the OPENR headers)
00016  * @author ejt (Creator)
00017  *
00018  * $Author: ejt $
00019  * $Name: tekkotsu-4_0 $
00020  * $Revision: 1.4 $
00021  * $State: Exp $
00022  * $Date: 2005/02/02 18:20:27 $
00023  */
00024 

Tekkotsu v4.0
Generated Thu Nov 22 00:54:55 2007 by Doxygen 1.5.4