Area registry. More...

#include <senf/Utils/Logger/AreaRegistry.hh>

Inheritance diagram for senf::log::AreaRegistry:

Public Types

typedef boost::transform_iterator< SelectName, Registry::const_iteratoriterator
 Iterator type. More...
 

Public Member Functions

iterator begin ()
 Beginning of area name sequence. More...
 
iterator end ()
 End of area name sequence. More...
 
detail::AreaBase const * lookup (std::string const &name)
 

Static Public Member Functions

static AreaRegistryinstance ()
 Access area registry singleton instance. More...
 

Additional Inherited Members

- Protected Member Functions inherited from senf::singleton< AreaRegistry >
 singleton ()
 
 ~singleton ()
 
- Static Protected Member Functions inherited from senf::singleton< AreaRegistry >
static Self & instance ()
 
static bool alive ()
 

Detailed Description

Area registry.

The area registry keeps track of all areas defined.

The area registry exposes a forward sequence interface which allows to query the list of all registered areas.

Implementation note:
Area classes are defined as singletons and will automatically register with this registry.

Definition at line 44 of file AreaRegistry.hh.

Member Typedef Documentation

◆ iterator

typedef boost::transform_iterator<SelectName, Registry::const_iterator> senf::log::AreaRegistry::iterator

Iterator type.

Definition at line 56 of file AreaRegistry.hh.

Member Function Documentation

◆ begin()

iterator senf::log::AreaRegistry::begin ( )

Beginning of area name sequence.

◆ end()

iterator senf::log::AreaRegistry::end ( )

End of area name sequence.

◆ instance()

static AreaRegistry& senf::log::AreaRegistry::instance ( )
static

Access area registry singleton instance.

◆ lookup()

detail::AreaBase const* senf::log::AreaRegistry::lookup ( std::string const &  name)

The documentation for this class was generated from the following file: