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

Public Types

using HandlerType = std::function< void(void)>
 

Public Member Functions

 StatsDHookImpl (HandlerType const &handler, std::shared_ptr< StatsDCollectorImp > const &impl)
 
 ~StatsDHookImpl () override
 
void do_process () override
 
shared_from_this (T... args)
 
weak_from_this (T... args)
 

Private Member Functions

StatsDHookImploperator= (StatsDHookImpl const &)
 

Private Attributes

std::shared_ptr< StatsDCollectorImpm_impl
 
HandlerType m_handler
 

Detailed Description

Definition at line 66 of file StatsDCollector.cpp.

Member Typedef Documentation

◆ HandlerType

Definition at line 32 of file HookImpl.h.

Constructor & Destructor Documentation

◆ StatsDHookImpl()

beast::insight::detail::StatsDHookImpl::StatsDHookImpl ( HandlerType const &  handler,
std::shared_ptr< StatsDCollectorImp > const &  impl 
)

Definition at line 495 of file StatsDCollector.cpp.

◆ ~StatsDHookImpl()

beast::insight::detail::StatsDHookImpl::~StatsDHookImpl ( )
override

Definition at line 503 of file StatsDCollector.cpp.

Member Function Documentation

◆ do_process()

void beast::insight::detail::StatsDHookImpl::do_process ( )
overridevirtual

Implements beast::insight::detail::StatsDMetricBase.

Definition at line 509 of file StatsDCollector.cpp.

◆ operator=()

StatsDHookImpl& beast::insight::detail::StatsDHookImpl::operator= ( StatsDHookImpl const &  )
private

Member Data Documentation

◆ m_impl

std::shared_ptr<StatsDCollectorImp> beast::insight::detail::StatsDHookImpl::m_impl
private

Definition at line 82 of file StatsDCollector.cpp.

◆ m_handler

HandlerType beast::insight::detail::StatsDHookImpl::m_handler
private

Definition at line 83 of file StatsDCollector.cpp.