00001 // Copyright (C) 2011 Soren Hauberg 00002 // 00003 // This program is free software; you can redistribute it and/or 00004 // modify it under the terms of the GNU General Public License 00005 // as published by the Free Software Foundation; either version 3 00006 // of the License, or (at your option) any later version. 00007 // 00008 // This program is distributed in the hope that it will be useful, but 00009 // WITHOUT ANY WARRANTY; without even the implied warranty of 00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 // General Public License for more details. 00012 // 00013 // You should have received a copy of the GNU General Public License 00014 // along with this program; if not, see <http://www.gnu.org/licenses/>. 00015 00016 #ifndef OBSERVATION_H 00017 #define OBSERVATION_H 00018 00022 template<typename observation_type> 00023 class observation 00024 { 00025 public: 00026 virtual ~observation () {}; // Just here to remove a warning 00037 virtual bool refresh (bool goto_next = true) = 0; 00038 00042 virtual void show () const = 0; 00043 }; 00044 #endif // OBSERVATION_H