userver: concurrent::GenericQueue< T, QueuePolicy >::MultiConsumerSide Class Reference
Loading...
Searching...
No Matches
concurrent::GenericQueue< T, QueuePolicy >::MultiConsumerSide Class Referencefinal

Detailed Description

template<typename T, typename QueuePolicy>
class concurrent::GenericQueue< T, QueuePolicy >::MultiConsumerSide

Definition at line 542 of file queue.hpp.

Public Member Functions

 MultiConsumerSide (GenericQueue &queue)
 
template<typename Token >
bool Pop (Token &token, T &value, engine::Deadline deadline)
 
template<typename Token >
bool PopNoblock (Token &token, T &value)
 
void OnElementPushed ()
 
void StopBlockingOnPop ()
 
void ResumeBlockingOnPop ()
 
std::size_t GetElementCount () const
 

Constructor & Destructor Documentation

◆ MultiConsumerSide()

template<typename T , typename QueuePolicy >
concurrent::GenericQueue< T, QueuePolicy >::MultiConsumerSide::MultiConsumerSide ( GenericQueue & queue)
inlineexplicit

Definition at line 544 of file queue.hpp.

◆ ~MultiConsumerSide()

template<typename T , typename QueuePolicy >
concurrent::GenericQueue< T, QueuePolicy >::MultiConsumerSide::~MultiConsumerSide ( )
inline

Definition at line 552 of file queue.hpp.

Member Function Documentation

◆ GetElementCount()

template<typename T , typename QueuePolicy >
std::size_t concurrent::GenericQueue< T, QueuePolicy >::MultiConsumerSide::GetElementCount ( ) const
inline

Definition at line 577 of file queue.hpp.

◆ OnElementPushed()

template<typename T , typename QueuePolicy >
void concurrent::GenericQueue< T, QueuePolicy >::MultiConsumerSide::OnElementPushed ( )
inline

Definition at line 566 of file queue.hpp.

◆ Pop()

template<typename T , typename QueuePolicy >
template<typename Token >
bool concurrent::GenericQueue< T, QueuePolicy >::MultiConsumerSide::Pop ( Token & token,
T & value,
engine::Deadline deadline )
inline

Definition at line 556 of file queue.hpp.

◆ PopNoblock()

template<typename T , typename QueuePolicy >
template<typename Token >
bool concurrent::GenericQueue< T, QueuePolicy >::MultiConsumerSide::PopNoblock ( Token & token,
T & value )
inline

Definition at line 562 of file queue.hpp.

◆ ResumeBlockingOnPop()

template<typename T , typename QueuePolicy >
void concurrent::GenericQueue< T, QueuePolicy >::MultiConsumerSide::ResumeBlockingOnPop ( )
inline

Definition at line 573 of file queue.hpp.

◆ StopBlockingOnPop()

template<typename T , typename QueuePolicy >
void concurrent::GenericQueue< T, QueuePolicy >::MultiConsumerSide::StopBlockingOnPop ( )
inline

Definition at line 568 of file queue.hpp.


The documentation for this class was generated from the following file: