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 619 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 621 of file queue.hpp.

◆ ~MultiConsumerSide()

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

Definition at line 627 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 646 of file queue.hpp.

◆ OnElementPushed()

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

Definition at line 640 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 631 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 636 of file queue.hpp.

◆ ResumeBlockingOnPop()

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

Definition at line 644 of file queue.hpp.

◆ StopBlockingOnPop()

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

Definition at line 642 of file queue.hpp.


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