rippled
Public Types | Public Member Functions | Public Attributes | List of all members
beast::insight::detail::GroupsImp Class Reference
Inheritance diagram for beast::insight::detail::GroupsImp:
Inheritance graph
[legend]
Collaboration diagram for beast::insight::detail::GroupsImp:
Collaboration graph
[legend]

Public Types

using Items = std::unordered_map< std::string, std::shared_ptr< Group >, uhash<> >
 

Public Member Functions

 GroupsImp (Collector::ptr const &collector)
 
 ~GroupsImp ()=default
 
Group::ptr const & get (std::string const &name) override
 Find or create a new collector with a given name. More...
 
Group::ptr const & operator[] (std::string const &name)
 

Public Attributes

Collector::ptr m_collector
 
Items m_items
 

Detailed Description

Definition at line 93 of file Groups.cpp.

Member Typedef Documentation

◆ Items

Definition at line 97 of file Groups.cpp.

Constructor & Destructor Documentation

◆ GroupsImp()

beast::insight::detail::GroupsImp::GroupsImp ( Collector::ptr const &  collector)
explicit

Definition at line 102 of file Groups.cpp.

◆ ~GroupsImp()

beast::insight::detail::GroupsImp::~GroupsImp ( )
default

Member Function Documentation

◆ get()

Group::ptr const& beast::insight::detail::GroupsImp::get ( std::string const &  name)
overridevirtual

Find or create a new collector with a given name.

Implements beast::insight::Groups.

Definition at line 109 of file Groups.cpp.

◆ operator[]()

Group::ptr const& beast::insight::Groups::operator[] ( std::string const &  name)
inherited

Definition at line 44 of file Groups.h.

Member Data Documentation

◆ m_collector

Collector::ptr beast::insight::detail::GroupsImp::m_collector

Definition at line 99 of file Groups.cpp.

◆ m_items

Items beast::insight::detail::GroupsImp::m_items

Definition at line 100 of file Groups.cpp.