00001 /* -*- Mode: C++ -*- 00002 * $Id: ImmediateCommand.h,v 1.2 2003/07/21 09:11:48 s02davro 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: ImmediateCommand.h 00019 * Unitname: Library 00020 * $Revision: 1.2 $ 00021 * Created by: Fredrik Heintz 2000-09-09 00022 * Last modified by $Author: s02davro $ $Date: 2003/07/21 09:11:48 $ 00023 * 00024 * 00025 * HISTORY 00026 * 00027 * $Log: ImmediateCommand.h,v $ 00028 * Revision 1.2 2003/07/21 09:11:48 s02davro 00029 * Changed and updated the command hierarchy 00030 * 00031 * Revision 1.1 2000/09/09 11:49:45 frehe 00032 * Added a new level in the command hieararchy, namely ImmediateCommand and PeriodicCommand. 00033 * 00034 */ 00035 00047 #ifndef IMMEDIATECOMMAND_H 00048 #define IMMEDIATECOMMAND_H 00049 00050 #include "ServerCommand.h" 00051 00052 RS_BEGIN_NAMESPACE 00053 00066 class ImmediateCommand : public ServerCommand { 00067 public: 00068 ImmediateCommand(const CommandType); 00069 virtual ~ImmediateCommand(); 00070 00073 virtual const std::string serverString() const = 0; 00074 00077 virtual ImmediateCommand* clone() const = 0; 00078 }; 00079 00080 RS_END_NAMESPACE 00081 00082 #endif // !IMMEDIATECOMMAND_H
1.3-rc3