00001 // ===================================================================================== 00002 // Filename: InputActor.h 00003 // Description: // Created: 02/15/2007 08:47:46 PM EST // Revision: none 00004 // Compiler: gcc 3.4.6 00005 // 00006 // Author: John P. Feltz 00007 // Email: jfeltz@gmail.com 00008 // License: Copyright (c) 2006-2007, John P. Feltz 00009 // This program is free software; you can redistribute it and/or 00010 // modify it under the terms of the GNU General Public License as 00011 // published by the Free Software Foundation, version 2 of the 00012 // License. 00013 // This program is distributed in the hope that it will be 00014 // useful, but WITHOUT ANY WARRANTY; without even the implied 00015 // warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00016 // PURPOSE. 00017 // See the GNU General Public License version 2 for more details. 00018 // 00019 // ===================================================================================== 00020 00021 namespace cmil { 00023 class InputActor : public Logger { 00024 public: 00027 00028 virtual ~InputActor() {}; 00029 00030 virtual std::string getName() const; 00031 00033 virtual void quit() = 0; 00034 virtual void update(const InputData& input) = 0; 00035 virtual void update(const ModData& input) = 0; 00036 }; 00037 00038 }