X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FStreamRegistry.hh;h=7856eabe5238d05efc4fb769ae4d82550294df88;hb=5b2e9a63a43027c71ac470ac9bdecb72e8974951;hp=48e5c59a1816bfc1351132d8bb73ab37cf7395c5;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/Logger/StreamRegistry.hh b/senf/Utils/Logger/StreamRegistry.hh index 48e5c59..7856eab 100644 --- a/senf/Utils/Logger/StreamRegistry.hh +++ b/senf/Utils/Logger/StreamRegistry.hh @@ -28,36 +28,34 @@ // Custom includes #include -#include #include #include -#include "Levels.hh" -#include "../singleton.hh" +#include //#include "StreamRegistry.mpp" #include "StreamRegistry.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { namespace detail { struct StreamBase; } - /** \brief Stream registry - + /** \brief Stream registry + The stream registry keeps track of all streams defined. stream classes are defined as singletons and will automatically register with this registry. The stream registry exposes a forward sequence interface which is a sequence of the names of all registered streams. */ - class StreamRegistry + class StreamRegistry : public senf::singleton { typedef std::map Registry; public: - typedef boost::transform_iterator< ::__gnu_cxx::select1st, + typedef boost::transform_iterator< ::__gnu_cxx::select1st, Registry::const_iterator > iterator; # ifdef DOXYGEN @@ -87,7 +85,7 @@ namespace log { }} -///////////////////////////////hh.e////////////////////////////////////////# +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "StreamRegistry.cci" //#include "StreamRegistry.ct" //#include "StreamRegistry.cti"