LMMS
Loading...
Searching...
No Matches
juce::dsp::Queue< Element > Class Template Reference

Public Member Functions

 Queue (int size)
bool push (Element &element) noexcept
template<typename Fn>
void pop (Fn &&fn)
template<typename Fn>
void popAll (Fn &&fn)
bool hasPendingMessages () const noexcept

Private Member Functions

template<typename Fn>
void popN (int n, Fn &&fn)

Private Attributes

AbstractFifo fifo
std::vector< Element > storage

Constructor & Destructor Documentation

◆ Queue()

template<typename Element>
juce::dsp::Queue< Element >::Queue ( int size)
inlineexplicit

Member Function Documentation

◆ hasPendingMessages()

template<typename Element>
bool juce::dsp::Queue< Element >::hasPendingMessages ( ) const
inlinenoexcept

◆ pop()

template<typename Element>
template<typename Fn>
void juce::dsp::Queue< Element >::pop ( Fn && fn)
inline

◆ popAll()

template<typename Element>
template<typename Fn>
void juce::dsp::Queue< Element >::popAll ( Fn && fn)
inline

◆ popN()

template<typename Element>
template<typename Fn>
void juce::dsp::Queue< Element >::popN ( int n,
Fn && fn )
inlineprivate

◆ push()

template<typename Element>
bool juce::dsp::Queue< Element >::push ( Element & element)
inlinenoexcept

Member Data Documentation

◆ fifo

template<typename Element>
AbstractFifo juce::dsp::Queue< Element >::fifo
private

◆ storage

template<typename Element>
std::vector<Element> juce::dsp::Queue< Element >::storage
private

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