rippled
Public Member Functions | Private Attributes | List of all members
ripple::TOfferStreamBase< TIn, TOut >::StepCounter Class Reference
Collaboration diagram for ripple::TOfferStreamBase< TIn, TOut >::StepCounter:
Collaboration graph
[legend]

Public Member Functions

 StepCounter (std::uint32_t limit, beast::Journal j)
 
bool step ()
 
std::uint32_t count () const
 

Private Attributes

const std::uint32_t limit_
 
std::uint32_t count_
 
beast::Journal j_
 

Detailed Description

template<class TIn, class TOut>
class ripple::TOfferStreamBase< TIn, TOut >::StepCounter

Definition at line 39 of file OfferStream.h.

Constructor & Destructor Documentation

◆ StepCounter()

template<class TIn , class TOut >
ripple::TOfferStreamBase< TIn, TOut >::StepCounter::StepCounter ( std::uint32_t  limit,
beast::Journal  j 
)

Definition at line 47 of file OfferStream.h.

Member Function Documentation

◆ step()

template<class TIn , class TOut >
bool ripple::TOfferStreamBase< TIn, TOut >::StepCounter::step ( )

Definition at line 53 of file OfferStream.h.

◆ count()

template<class TIn , class TOut >
std::uint32_t ripple::TOfferStreamBase< TIn, TOut >::StepCounter::count ( ) const

Definition at line 64 of file OfferStream.h.

Member Data Documentation

◆ limit_

template<class TIn , class TOut >
const std::uint32_t ripple::TOfferStreamBase< TIn, TOut >::StepCounter::limit_
private

Definition at line 42 of file OfferStream.h.

◆ count_

template<class TIn , class TOut >
std::uint32_t ripple::TOfferStreamBase< TIn, TOut >::StepCounter::count_
private

Definition at line 43 of file OfferStream.h.

◆ j_

template<class TIn , class TOut >
beast::Journal ripple::TOfferStreamBase< TIn, TOut >::StepCounter::j_
private

Definition at line 44 of file OfferStream.h.