Livox SDK API  V2.2.0
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

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

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

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.

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

Definition at line 35 of file mpmc_blocking_q.h.

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.

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: