Stream registry. More...
#include <senf/Utils/Logger/StreamRegistry.hh>
Public Types | |
typedef boost::transform_iterator< ::__gnu_cxx::select1st< Registry::value_type >, Registry::const_iterator > | iterator |
Public Member Functions | |
iterator | begin () |
iterator | end () |
detail::StreamBase const * | lookup (std::string const &name) |
Static Public Member Functions | |
static AreaRegistry & | instance () |
Access stream registry singleton instance. More... | |
Additional Inherited Members | |
![]() | |
singleton () | |
~singleton () | |
![]() | |
static Self & | instance () |
static bool | alive () |
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.
Definition at line 43 of file StreamRegistry.hh.
typedef boost::transform_iterator< ::__gnu_cxx::select1st<Registry::value_type>, Registry::const_iterator > senf::log::StreamRegistry::iterator |
Definition at line 50 of file StreamRegistry.hh.
iterator senf::log::StreamRegistry::begin | ( | ) |
iterator senf::log::StreamRegistry::end | ( | ) |
|
static |
Access stream registry singleton instance.
detail::StreamBase const* senf::log::StreamRegistry::lookup | ( | std::string const & | name | ) |