xrpld
Loading...
Searching...
No Matches
beast::insight::detail::GroupsImp Class Reference
Inheritance diagram for beast::insight::detail::GroupsImp:
Collaboration diagram for beast::insight::detail::GroupsImp:

Public Types

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

Public Member Functions

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

Public Attributes

Collector::ptr collector
Items items

Detailed Description

Definition at line 83 of file Groups.cpp.

Member Typedef Documentation

◆ Items

Constructor & Destructor Documentation

◆ GroupsImp()

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

Definition at line 91 of file Groups.cpp.

◆ ~GroupsImp()

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

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 98 of file Groups.cpp.

◆ operator[]()

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

Definition at line 23 of file Groups.h.

Member Data Documentation

◆ collector

Collector::ptr beast::insight::detail::GroupsImp::collector

Definition at line 88 of file Groups.cpp.

◆ items

Items beast::insight::detail::GroupsImp::items

Definition at line 89 of file Groups.cpp.