JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Data Structures | Public Member Functions
moodycamel::ReaderWriterQueue< T, MAX_BLOCK_SIZE > Class Template Reference

#include <readerwriterqueue.h>

Inheritance diagram for moodycamel::ReaderWriterQueue< T, MAX_BLOCK_SIZE >:
[legend]

Public Member Functions

 ReaderWriterQueue (size_t maxSize=15)
 
 ~ReaderWriterQueue ()
 
AE_FORCEINLINE bool try_enqueue (T const &element)
 
AE_FORCEINLINE bool try_enqueue (T &&element)
 
AE_FORCEINLINE bool enqueue (T const &element)
 
AE_FORCEINLINE bool enqueue (T &&element)
 
template<typename U >
bool try_dequeue (U &result)
 
T * peek ()
 
bool pop ()
 
size_t size_approx () const
 

Constructor & Destructor Documentation

◆ ReaderWriterQueue()

template<typename T , size_t MAX_BLOCK_SIZE = 512>
moodycamel::ReaderWriterQueue< T, MAX_BLOCK_SIZE >::ReaderWriterQueue ( size_t  maxSize = 15)
inlineexplicit
Here is the call graph for this function:

◆ ~ReaderWriterQueue()

template<typename T , size_t MAX_BLOCK_SIZE = 512>
moodycamel::ReaderWriterQueue< T, MAX_BLOCK_SIZE >::~ReaderWriterQueue ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ enqueue() [1/2]

template<typename T , size_t MAX_BLOCK_SIZE = 512>
AE_FORCEINLINE bool moodycamel::ReaderWriterQueue< T, MAX_BLOCK_SIZE >::enqueue ( T &&  element)
inline

◆ enqueue() [2/2]

template<typename T , size_t MAX_BLOCK_SIZE = 512>
AE_FORCEINLINE bool moodycamel::ReaderWriterQueue< T, MAX_BLOCK_SIZE >::enqueue ( T const &  element)
inline
Here is the caller graph for this function:

◆ peek()

template<typename T , size_t MAX_BLOCK_SIZE = 512>
T* moodycamel::ReaderWriterQueue< T, MAX_BLOCK_SIZE >::peek ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pop()

template<typename T , size_t MAX_BLOCK_SIZE = 512>
bool moodycamel::ReaderWriterQueue< T, MAX_BLOCK_SIZE >::pop ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ size_approx()

template<typename T , size_t MAX_BLOCK_SIZE = 512>
size_t moodycamel::ReaderWriterQueue< T, MAX_BLOCK_SIZE >::size_approx ( ) const
inline
Here is the call graph for this function:

◆ try_dequeue()

template<typename T , size_t MAX_BLOCK_SIZE = 512>
template<typename U >
bool moodycamel::ReaderWriterQueue< T, MAX_BLOCK_SIZE >::try_dequeue ( U &  result)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ try_enqueue() [1/2]

template<typename T , size_t MAX_BLOCK_SIZE = 512>
AE_FORCEINLINE bool moodycamel::ReaderWriterQueue< T, MAX_BLOCK_SIZE >::try_enqueue ( T &&  element)
inline

◆ try_enqueue() [2/2]

template<typename T , size_t MAX_BLOCK_SIZE = 512>
AE_FORCEINLINE bool moodycamel::ReaderWriterQueue< T, MAX_BLOCK_SIZE >::try_enqueue ( T const &  element)
inline
Here is the caller graph for this function:

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