00001 //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 00002 // 00003 // This file is part of E-Cell Simulation Environment package 00004 // 00005 // Copyright (C) 2000-2001 Keio University 00006 // 00007 //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 00008 // 00009 // 00010 // E-Cell is free software; you can redistribute it and/or 00011 // modify it under the terms of the GNU General Public 00012 // License as published by the Free Software Foundation; either 00013 // version 2 of the License, or (at your option) any later version. 00014 // 00015 // E-Cell is distributed in the hope that it will be useful, 00016 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 // See the GNU General Public License for more details. 00019 // 00020 // You should have received a copy of the GNU General Public 00021 // License along with E-Cell -- see the file COPYING. 00022 // If not, write to the Free Software Foundation, Inc., 00023 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00024 // 00025 //END_HEADER 00026 00027 00028 #if !defined(__LOGGERADAPTER_HPP) 00029 #define __LOGGERADAPTER_HPP 00030 00031 #include "libecs.hpp" 00032 00033 namespace libecs 00034 { 00035 00036 00037 /** @addtogroup logging The Data Logging Module. 00038 The Data Logging Module. 00039 00040 @ingroup libecs 00041 00042 @{ 00043 */ 00044 00045 /** @file */ 00046 00047 class LoggerAdapter 00048 { 00049 00050 public: 00051 00052 virtual ~LoggerAdapter(); 00053 00054 virtual const Real getValue() const = 0; 00055 00056 protected: 00057 00058 LoggerAdapter(); 00059 00060 }; 00061 00062 00063 /** @} */ // logging module 00064 00065 } // namespace libecs 00066 00067 00068 #endif /* __LOGGERADAPTER_HPP */ 00069