Search:

SENF Extensible Network Framework

  • Home
  • Download
  • Wiki
  • BerliOS
  • ChangeLog
  • Browse SVN
  • Bug Tracker
  • Overview
  • Examples
  • HowTos
  • Glossary
  • PPI
  • Packets
  • Scheduler
  • Socket
  • Utils
  • Console
  • Daemon
  • Logger
  • Termlib
  • Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

StatisticsTargets.hh

Go to the documentation of this file.
00001 // $Id: StatisticsTargets.hh 1772 2011-03-10 12:45:21Z tho $
00002 //
00003 // Copyright (C) 2009
00004 // Fraunhofer (FOKUS)
00005 // Competence Center NETwork research (NET), St. Augustin, GERMANY
00006 //     Stefan Bund <g0dil@berlios.de>
00007 //
00008 // This program is free software; you can redistribute it and/or modify
00009 // it under the terms of the GNU General Public License as published by
00010 // the Free Software Foundation; either version 2 of the License, or
00011 // (at your option) any later version.
00012 //
00013 // This program is distributed in the hope that it will be useful,
00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 // GNU General Public License for more details.
00017 //
00018 // You should have received a copy of the GNU General Public License
00019 // along with this program; if not, write to the
00020 // Free Software Foundation, Inc.,
00021 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00022 
00026 #ifndef HH_SENF_PPI_Utils_StatisticsTargets_
00027 #define HH_SENF_PPI_Utils_StatisticsTargets_ 1
00028 
00029 // Custom includes
00030 #include <string>
00031 #include <senf/Utils/Logger/Logger.hh>
00032 
00033 //#include "StatisticsTargets.mpp"
00034 #include "StatisticsTargets.ih"
00035 //-/////////////////////////////////////////////////////////////////////////////////////////////////
00036 
00037 namespace senf {
00038 
00039 #ifdef DOXYGEN
00040 
00043     typedef unspecified StatisticsStream;
00044 #else
00045     SENF_LOG_DEFINE_STREAM(StatisticsStream,
00046                            senf::log::MESSAGE, senf::log::MESSAGE, senf::log::MESSAGE);
00047 #endif
00048 
00049 #ifdef DOXYGEN
00050 
00072     template <class A1=void, class A2=void, class A3=void>
00073     std::auto_ptr< unspecified > StatisticsLogger(std::string const & label="")
00074 
00075 #else
00076 
00077     std::auto_ptr< detail::StatisticsLogger<void,void,void> > StatisticsLogger(
00078         std::string const & label="");
00079 
00080     template <class Stream>
00081     std::auto_ptr< detail::StatisticsLogger<Stream,void,void> > StatisticsLogger(
00082         std::string const & label="");
00083 
00084     template <class Stream, class Area>
00085     std::auto_ptr< detail::StatisticsLogger<Stream,Area,void> > StatisticsLogger(
00086         std::string const & label="");
00087 
00088     template <class Stream, class Area, class Level>
00089     std::auto_ptr< detail::StatisticsLogger<Stream,Area,Level> > StatisticsLogger(
00090         std::string const & label="");
00091 
00092 #endif
00093 
00094 }
00095 
00096 //-/////////////////////////////////////////////////////////////////////////////////////////////////
00097 #include "StatisticsTargets.cci"
00098 #include "StatisticsTargets.ct"
00099 #include "StatisticsTargets.cti"
00100 #endif
00101 
00102 
00103 // Local Variables:
00104 // mode: c++
00105 // fill-column: 100
00106 // comment-column: 40
00107 // c-file-style: "senf"
00108 // indent-tabs-mode: nil
00109 // ispell-local-dictionary: "american"
00110 // compile-command: "scons -u test"
00111 // End:

Contact: senf-dev@lists.berlios.de | © 2006-2010 Fraunhofer Institute for Open Communication Systems, Network Research