Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::MpscQueueImpl Class Reference

Multi-producer single-consumer queue internal implementation class. More...

#include <mpsc_queue_impl.h>

Public Member Functions

void push_back (MpscQueueData *node)
 Add object to the end of the queue. More...
 
MpscQueueDatapop_front (bool can_spin)
 Remove object from the beginning of the queue. More...
 

Detailed Description

Multi-producer single-consumer queue internal implementation class.

Provides only push/pop functionality. Ownership is left up to the main MpscQueue class.

Definition at line 24 of file mpsc_queue_impl.h.

Member Function Documentation

◆ pop_front()

MpscQueueData* roc::core::MpscQueueImpl::pop_front ( bool  can_spin)

Remove object from the beginning of the queue.

◆ push_back()

void roc::core::MpscQueueImpl::push_back ( MpscQueueData node)

Add object to the end of the queue.


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