GrPPI  0.2
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)
 
bool is_empty () const noexcept
 
pop ()
 
bool push (T item)
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename T >
bool grppi::mpmc_queue< T >::is_empty ( ) const
noexcept
template<typename T >
T grppi::mpmc_queue< T >::pop ( )
template<typename T >
bool grppi::mpmc_queue< T >::push ( item)

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