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

Public Types

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

Public Member Functions

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

Private Types

using value_type = T

Private Attributes

std::shared_ptr< StatsDCollectorImpimpl_
HandlerType handler_
friend T
ListNodenext_ = nullptr
ListNodeprev_ = nullptr

Detailed Description

Definition at line 66 of file StatsDCollector.cpp.

Member Typedef Documentation

◆ HandlerType

Definition at line 11 of file HookImpl.h.

◆ value_type

template<typename T, typename Tag>
using beast::detail::ListNode< T, Tag >::value_type = T
privateinherited

Definition at line 40 of file List.h.

Constructor & Destructor Documentation

◆ StatsDHookImpl()

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

Definition at line 481 of file StatsDCollector.cpp.

◆ ~StatsDHookImpl()

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

Definition at line 487 of file StatsDCollector.cpp.

Member Function Documentation

◆ doProcess()

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

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

Definition at line 493 of file StatsDCollector.cpp.

◆ operator=()

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

Member Data Documentation

◆ impl_

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

Definition at line 80 of file StatsDCollector.cpp.

◆ handler_

HandlerType beast::insight::detail::StatsDHookImpl::handler_
private

Definition at line 81 of file StatsDCollector.cpp.

◆ T

template<typename T, typename Tag>
friend beast::detail::ListNode< T, Tag >::T
privateinherited

Definition at line 42 of file List.h.

◆ next_

template<typename T, typename Tag>
ListNode* beast::detail::ListNode< T, Tag >::next_ = nullptr
privateinherited

Definition at line 48 of file List.h.

◆ prev_

template<typename T, typename Tag>
ListNode* beast::detail::ListNode< T, Tag >::prev_ = nullptr
privateinherited

Definition at line 49 of file List.h.