xrpld
Loading...
Searching...
No Matches
beast::IOLatencyProbe< Clock >::SampleOp< Handler > Struct Template Reference
Collaboration diagram for beast::IOLatencyProbe< Clock >::SampleOp< Handler >:

Public Member Functions

 SampleOp (Handler const &handler, time_point const &start, bool repeat, IOLatencyProbe *probe)
 SampleOp (SampleOp &&from) noexcept
 SampleOp (SampleOp const &)=delete
SampleOp operator= (SampleOp const &)=delete
SampleOpoperator= (SampleOp &&)=delete
 ~SampleOp ()
void operator() () const
void operator() (boost::system::error_code const &ec)

Public Attributes

Handler handler
time_point start
bool repeat
IOLatencyProbeprobe

Detailed Description

template<class Clock>
template<class Handler>
struct beast::IOLatencyProbe< Clock >::SampleOp< Handler >

Definition at line 138 of file io_latency_probe.h.

Constructor & Destructor Documentation

◆ SampleOp() [1/3]

template<class Clock>
template<class Handler>
beast::IOLatencyProbe< Clock >::SampleOp< Handler >::SampleOp ( Handler const & handler,
time_point const & start,
bool repeat,
IOLatencyProbe * probe )

Definition at line 145 of file io_latency_probe.h.

◆ SampleOp() [2/3]

template<class Clock>
template<class Handler>
beast::IOLatencyProbe< Clock >::SampleOp< Handler >::SampleOp ( SampleOp< Handler > && from)
noexcept

Definition at line 159 of file io_latency_probe.h.

◆ SampleOp() [3/3]

template<class Clock>
template<class Handler>
beast::IOLatencyProbe< Clock >::SampleOp< Handler >::SampleOp ( SampleOp< Handler > const & )
delete

◆ ~SampleOp()

template<class Clock>
template<class Handler>
beast::IOLatencyProbe< Clock >::SampleOp< Handler >::~SampleOp ( )

Definition at line 178 of file io_latency_probe.h.

Member Function Documentation

◆ operator=() [1/2]

template<class Clock>
template<class Handler>
SampleOp beast::IOLatencyProbe< Clock >::SampleOp< Handler >::operator= ( SampleOp< Handler > const & )
delete

◆ operator=() [2/2]

template<class Clock>
template<class Handler>
SampleOp & beast::IOLatencyProbe< Clock >::SampleOp< Handler >::operator= ( SampleOp< Handler > && )
delete

◆ operator()() [1/2]

template<class Clock>
template<class Handler>
void beast::IOLatencyProbe< Clock >::SampleOp< Handler >::operator() ( ) const

Definition at line 185 of file io_latency_probe.h.

◆ operator()() [2/2]

template<class Clock>
template<class Handler>
void beast::IOLatencyProbe< Clock >::SampleOp< Handler >::operator() ( boost::system::error_code const & ec)

Definition at line 223 of file io_latency_probe.h.

Member Data Documentation

◆ handler

template<class Clock>
template<class Handler>
Handler beast::IOLatencyProbe< Clock >::SampleOp< Handler >::handler

Definition at line 140 of file io_latency_probe.h.

◆ start

template<class Clock>
template<class Handler>
time_point beast::IOLatencyProbe< Clock >::SampleOp< Handler >::start

Definition at line 141 of file io_latency_probe.h.

◆ repeat

template<class Clock>
template<class Handler>
bool beast::IOLatencyProbe< Clock >::SampleOp< Handler >::repeat

Definition at line 142 of file io_latency_probe.h.

◆ probe

template<class Clock>
template<class Handler>
IOLatencyProbe* beast::IOLatencyProbe< Clock >::SampleOp< Handler >::probe

Definition at line 143 of file io_latency_probe.h.