senf::log::AreaRegistry Class Reference

Area registry. More...

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

Inheritance diagram for senf::log::AreaRegistry:
Inheritance graph
[legend]

List of all members.


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 53 of file AreaRegistry.hh.


Classes

struct   SelectName

Public Types

typedef
boost::transform_iterator
< SelectName,
Registry::const_iterator > 
iterator
  Iterator type.

Public Member Functions

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

Static Public Member Functions

static AreaRegistry instance ()
  Access area registry singleton instance.

Member Typedef Documentation

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

Iterator type.

Definition at line 66 of file AreaRegistry.hh.


Member Function Documentation

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

Beginning of area name sequence.

Definition at line 49 of file AreaRegistry.cci.

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

End of area name sequence.

Definition at line 54 of file AreaRegistry.cci.

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

Access area registry singleton instance.

Reimplemented from senf::singleton< AreaRegistry >.

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

Definition at line 65 of file AreaRegistry.cci.


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