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