#include <ConcurrentQueue.h>
Public Member Functions | |
template<typename T , typename Traits > | |
ConsumerToken (ConcurrentQueue< T, Traits > &q) | |
template<typename T , typename Traits > | |
ConsumerToken (BlockingConcurrentQueue< T, Traits > &q) | |
ConsumerToken (ConsumerToken &&other) MOODYCAMEL_NOEXCEPT | |
ConsumerToken (ConsumerToken const &) MOODYCAMEL_DELETE_FUNCTION | |
ConsumerToken & | operator= (ConsumerToken &&other) MOODYCAMEL_NOEXCEPT |
ConsumerToken & | operator= (ConsumerToken const &) MOODYCAMEL_DELETE_FUNCTION |
void | swap (ConsumerToken &other) MOODYCAMEL_NOEXCEPT |
Private Attributes | |
details::ConcurrentQueueProducerTypelessBase * | currentProducer |
details::ConcurrentQueueProducerTypelessBase * | desiredProducer |
std::uint32_t | initialOffset |
std::uint32_t | itemsConsumedFromCurrent |
std::uint32_t | lastKnownGlobalOffset |
Friends | |
template<typename T , typename Traits > | |
class | ConcurrentQueue |
class | ConcurrentQueueTests |
Definition at line 644 of file ConcurrentQueue.h.
|
explicit |
Definition at line 3606 of file ConcurrentQueue.h.
References initialOffset, lastKnownGlobalOffset, and moodycamel::ConcurrentQueue< T, Traits >::nextExplicitConsumerId.
|
explicit |
Definition at line 3614 of file ConcurrentQueue.h.
References initialOffset, and lastKnownGlobalOffset.
|
inline |
Definition at line 652 of file ConcurrentQueue.h.
moodycamel::ConsumerToken::ConsumerToken | ( | ConsumerToken const & | ) |
|
inline |
Definition at line 657 of file ConcurrentQueue.h.
References moodycamel::swap().
ConsumerToken& moodycamel::ConsumerToken::operator= | ( | ConsumerToken const & | ) |
|
inline |
Definition at line 663 of file ConcurrentQueue.h.
References MOODYCAMEL_DELETE_FUNCTION, and swap().
|
friend |
Definition at line 677 of file ConcurrentQueue.h.
|
friend |
Definition at line 678 of file ConcurrentQueue.h.
|
private |
|
private |
|
private |
Definition at line 681 of file ConcurrentQueue.h.
Referenced by ConsumerToken(), and moodycamel::ConcurrentQueue< carla::Buffer >::update_current_producer_after_rotation().
|
private |
|
private |