WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
spdlog::details::mpmc_blocking_queue< T > Class Template Reference

#include <mpmc_blocking_q.h>

Public Types

using item_type = T
 

Public Member Functions

 mpmc_blocking_queue (size_t max_items)
 
void enqueue (T &&item)
 
void enqueue_nowait (T &&item)
 
bool dequeue_for (T &popped_item, std::chrono::milliseconds wait_duration)
 
size_t overrun_counter ()
 

Detailed Description

template<typename T>
class spdlog::details::mpmc_blocking_queue< T >

Definition at line 24 of file mpmc_blocking_q.h.

Member Typedef Documentation

◆ item_type

template<typename T>
using spdlog::details::mpmc_blocking_queue< T >::item_type = T

Definition at line 27 of file mpmc_blocking_q.h.

Constructor & Destructor Documentation

◆ mpmc_blocking_queue()

template<typename T>
spdlog::details::mpmc_blocking_queue< T >::mpmc_blocking_queue ( size_t  max_items)
inlineexplicit

Definition at line 28 of file mpmc_blocking_q.h.

Member Function Documentation

◆ dequeue_for()

template<typename T>
bool spdlog::details::mpmc_blocking_queue< T >::dequeue_for ( T &  popped_item,
std::chrono::milliseconds  wait_duration 
)
inline

Definition at line 57 of file mpmc_blocking_q.h.

Here is the caller graph for this function:

◆ enqueue()

template<typename T>
void spdlog::details::mpmc_blocking_queue< T >::enqueue ( T &&  item)
inline

Definition at line 35 of file mpmc_blocking_q.h.

Here is the caller graph for this function:

◆ enqueue_nowait()

template<typename T>
void spdlog::details::mpmc_blocking_queue< T >::enqueue_nowait ( T &&  item)
inline

Definition at line 46 of file mpmc_blocking_q.h.

Here is the caller graph for this function:

◆ overrun_counter()

template<typename T>
size_t spdlog::details::mpmc_blocking_queue< T >::overrun_counter ( )
inline

Definition at line 108 of file mpmc_blocking_q.h.


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