LoggerBase.h
Go to the documentation of this file.00001 /* ======================================================================== 00002 * Copyright (C) 2005 Graz University of Technology 00003 * 00004 * This framework is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This framework is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this framework; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 * 00018 * For further information please contact Dieter Schmalstieg under 00019 * <schmalstieg@icg.tu-graz.ac.at> or write to Dieter Schmalstieg, 00020 * Graz University of Technology, Inffeldgasse 16a, A8010 Graz, 00021 * Austria. 00022 * ======================================================================== 00023 * PROJECT: OpenVideo 00024 * ======================================================================== */ 00031 /* ======================================================================= */ 00032 00033 #ifndef _LOGGERBASE_H_ 00034 #define _LOGGERBASE_H_ 00035 00036 namespace openvideo{ 00037 00041 class LoggerBase 00042 { 00043 public: 00047 virtual ~LoggerBase(){}; 00048 00049 /* 00050 * 00051 */ 00052 virtual void log(const char* nStr) = 0; 00053 00054 /* 00055 * 00056 */ 00057 virtual void logEx(const char* nStr, ...); 00058 00059 protected: 00063 LoggerBase(){}; 00064 00065 00066 };// class 00067 }//namespace 00068 #endif//_LOGGERBASE_H_ 00069 //======================================================================== 00070 // End of LoggerBase.h 00071 //======================================================================== 00072 // Local Variables: 00073 // mode: c++ 00074 // c-basic-offset: 4 00075 // eval: (c-set-offset 'substatement-open 0) 00076 // eval: (c-set-offset 'case-label '+) 00077 // eval: (c-set-offset 'statement 'c-lineup-runin-statements) 00078 // eval: (setq indent-tabs-mode nil) 00079 // End: 00080 //========================================================================
