X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FStreamRegistry.hh;h=7856eabe5238d05efc4fb769ae4d82550294df88;hb=9ab6056a616342015eb35d6730d61c45412eec46;hp=8821e3a210c490041e80c8d5069084dac16a6d9d;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Utils/Logger/StreamRegistry.hh b/senf/Utils/Logger/StreamRegistry.hh index 8821e3a..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 //#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"