iPlug2 - C++ Audio Plug-in Framework
|
A lock-free SPSC queue used to transfer data between threads based on MLQueue.h by Randy Jones based on https://kjellkod.wordpress.com/2012/11/28/c-debt-paid-in-full-wait-free-lock-free-queue/. More...
#include <IPlugQueue.h>
Public Member Functions | |
IPlugQueue (int size) | |
IPlugQueue constructor. More... | |
IPlugQueue (const IPlugQueue &)=delete | |
IPlugQueue & | operator= (const IPlugQueue &)=delete |
void | Resize (int size) |
bool | Push (const T &item) |
bool | Pop (T &item) |
template<typename... Args> | |
bool | PushFromArgs (Args ...args) |
size_t | ElementsAvailable () const |
const T & | Peek () |
bool | WasEmpty () const |
bool | WasFull () const |
A lock-free SPSC queue used to transfer data between threads based on MLQueue.h by Randy Jones based on https://kjellkod.wordpress.com/2012/11/28/c-debt-paid-in-full-wait-free-lock-free-queue/.
Definition at line 31 of file IPlugQueue.h.
|
inline |
IPlugQueue constructor.
size |
Definition at line 36 of file IPlugQueue.h.
References IPlugQueue< T >::Resize().
|
inline |
Definition at line 41 of file IPlugQueue.h.
|
inline |
Definition at line 106 of file IPlugQueue.h.
Referenced by VoiceAllocator::ProcessEvents().
|
inline |
Definition at line 118 of file IPlugQueue.h.
|
inline |
item |
Definition at line 74 of file IPlugQueue.h.
Referenced by VoiceAllocator::ProcessEvents().
|
inline |
item |
Definition at line 57 of file IPlugQueue.h.
Referenced by VoiceAllocator::AddEvent().
|
inline |
args... |
Definition at line 91 of file IPlugQueue.h.
Referenced by IPlugCLAP::BeginInformHostOfParamChange(), IPlugCLAP::EndInformHostOfParamChange(), IPlugCLAP::InformHostOfParamChange(), and IPlugAPIBase::SendParameterValueFromAPI().
|
inline |
size |
Definition at line 48 of file IPlugQueue.h.
Referenced by IPlugQueue< T >::IPlugQueue().
|
inline |
|
inline |