GrPPI  1.0
Generic and Reusable Parallel Pattern Interface
Public Types | Public Member Functions | List of all members
grppi::mpmc_queue< T > Class Template Reference

#include <mpmc_queue.h>

Public Types

using value_type = T
 

Public Member Functions

 mpmc_queue (int q_size, queue_mode q_mode)
 
 mpmc_queue (mpmc_queue &&q)
 
 mpmc_queue (const mpmc_queue &)=delete
 
mpmc_queueoperator= (const mpmc_queue &)=delete
 
bool is_empty () const noexcept
 
pop ()
 
bool push (T item)
 

Member Typedef Documentation

◆ value_type

template<typename T >
using grppi::mpmc_queue< T >::value_type = T

Constructor & Destructor Documentation

◆ mpmc_queue() [1/3]

template<typename T >
grppi::mpmc_queue< T >::mpmc_queue ( int  q_size,
queue_mode  q_mode 
)
inline

◆ mpmc_queue() [2/3]

template<typename T >
grppi::mpmc_queue< T >::mpmc_queue ( mpmc_queue< T > &&  q)
inline

◆ mpmc_queue() [3/3]

template<typename T >
grppi::mpmc_queue< T >::mpmc_queue ( const mpmc_queue< T > &  )
delete

Member Function Documentation

◆ is_empty()

template<typename T >
bool grppi::mpmc_queue< T >::is_empty
noexcept

◆ operator=()

template<typename T >
mpmc_queue& grppi::mpmc_queue< T >::operator= ( const mpmc_queue< T > &  )
delete

◆ pop()

template<typename T >
T grppi::mpmc_queue< T >::pop

◆ push()

template<typename T >
bool grppi::mpmc_queue< T >::push ( item)

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