00001 /* -*- Mode: C++ -*- 00002 * $Id: SetCyclesSinceIOBeforeShutdown.h,v 1.1 2006/09/06 18:03:42 frehe Exp $ 00003 * 00004 * 00005 * COPYRIGHT INFORMATION 00006 * 00007 * This file is part of RoboSoc created by Fredrik Heintz <frehe@ida.liu.se> 00008 * Copyright (C) 1999, 2000 Fredrik Heintz, Linköping University, Sweden 00009 * 00010 * You are allowed to modify and use this code as long as you retain this 00011 * notice. If you make any changes or have any comments I would appreciate 00012 * it if you send me a message. For more information, please see 00013 * http://www.ida.liu.se/~frehe/RoboCup/RoboSoc/ 00014 * 00015 * 00016 * IDENTIFICATION 00017 * 00018 * Filename: SetCyclesSinceIOBeforeShutdown.h 00019 * Unitname: Library 00020 * $Revision: 1.1 $ 00021 * Created by: Fredrik Heintz 2000-xx-xx 00022 * Last modified by $Author: frehe $ $Date: 2006/09/06 18:03:42 $ 00023 * 00024 * 00025 * HISTORY 00026 * 00027 * $Log: SetCyclesSinceIOBeforeShutdown.h,v $ 00028 * Revision 1.1 2006/09/06 18:03:42 frehe 00029 * Moved files from Library to BasicSystem. 00030 * 00031 * Revision 1.3 2003/07/21 09:19:20 s02davro 00032 * Changed and updated the command hierarchy 00033 * 00034 * Revision 1.2 2000/09/03 11:10:29 frehe 00035 * Made the clone method constant. 00036 * 00037 * Revision 1.1 2000/09/02 15:33:03 frehe 00038 * Imported the current version of RoboSoc (soon to be v2.5.0) 00039 * 00040 */ 00041 00053 #ifndef SETCYCLESSINCEIOBEFORESHUTDOWN_H 00054 #define SETCYCLESSINCEIOBEFORESHUTDOWN_H 00055 00056 #include "ControlCommand.h" 00057 00058 RS_BEGIN_NAMESPACE 00059 00073 class SetCyclesSinceIOBeforeShutdown : public ControlCommand { 00074 public: 00075 SetCyclesSinceIOBeforeShutdown(const UInt cycs); 00076 ~SetCyclesSinceIOBeforeShutdown(); 00077 00080 SetCyclesSinceIOBeforeShutdown* clone() const; 00081 00082 UInt getCycles() const; 00083 void setCycles(const UInt cycs); 00084 }; 00085 00086 RS_END_NAMESPACE 00087 00088 #endif // !SETCYCLESSINCEIOBEFORESHUTDOWN_H
1.3-rc3