CARLA
Public Member Functions | Protected Attributes | Friends | List of all members
moodycamel::ProducerToken Struct Reference

#include <ConcurrentQueue.h>

+ Collaboration diagram for moodycamel::ProducerToken:

Public Member Functions

ProducerTokenoperator= (ProducerToken &&other) MOODYCAMEL_NOEXCEPT
 
ProducerTokenoperator= (ProducerToken const &) MOODYCAMEL_DELETE_FUNCTION
 
template<typename T , typename Traits >
 ProducerToken (ConcurrentQueue< T, Traits > &queue)
 
template<typename T , typename Traits >
 ProducerToken (BlockingConcurrentQueue< T, Traits > &queue)
 
 ProducerToken (ProducerToken &&other) MOODYCAMEL_NOEXCEPT
 
 ProducerToken (ProducerToken const &) MOODYCAMEL_DELETE_FUNCTION
 
void swap (ProducerToken &other) MOODYCAMEL_NOEXCEPT
 
bool valid () const
 
 ~ProducerToken ()
 

Protected Attributes

details::ConcurrentQueueProducerTypelessBaseproducer
 

Friends

template<typename T , typename Traits >
class ConcurrentQueue
 
class ConcurrentQueueTests
 

Detailed Description

Definition at line 579 of file ConcurrentQueue.h.

Constructor & Destructor Documentation

◆ ProducerToken() [1/4]

template<typename T , typename Traits >
moodycamel::ProducerToken::ProducerToken ( ConcurrentQueue< T, Traits > &  queue)
explicit

◆ ProducerToken() [2/4]

template<typename T , typename Traits >
moodycamel::ProducerToken::ProducerToken ( BlockingConcurrentQueue< T, Traits > &  queue)
explicit

◆ ProducerToken() [3/4]

moodycamel::ProducerToken::ProducerToken ( ProducerToken &&  other)
inline

Definition at line 587 of file ConcurrentQueue.h.

◆ ~ProducerToken()

moodycamel::ProducerToken::~ProducerToken ( )
inline

Definition at line 623 of file ConcurrentQueue.h.

References MOODYCAMEL_DELETE_FUNCTION.

◆ ProducerToken() [4/4]

moodycamel::ProducerToken::ProducerToken ( ProducerToken const &  )

Member Function Documentation

◆ operator=() [1/2]

ProducerToken& moodycamel::ProducerToken::operator= ( ProducerToken &&  other)
inline

Definition at line 596 of file ConcurrentQueue.h.

References moodycamel::swap().

+ Here is the call graph for this function:

◆ operator=() [2/2]

ProducerToken& moodycamel::ProducerToken::operator= ( ProducerToken const &  )

◆ swap()

void moodycamel::ProducerToken::swap ( ProducerToken other)
inline

Definition at line 602 of file ConcurrentQueue.h.

References swap().

+ Here is the call graph for this function:

◆ valid()

bool moodycamel::ProducerToken::valid ( ) const
inline

Definition at line 621 of file ConcurrentQueue.h.

Friends And Related Function Documentation

◆ ConcurrentQueue

template<typename T , typename Traits >
friend class ConcurrentQueue
friend

Definition at line 636 of file ConcurrentQueue.h.

◆ ConcurrentQueueTests

friend class ConcurrentQueueTests
friend

Definition at line 637 of file ConcurrentQueue.h.

Member Data Documentation

◆ producer

details::ConcurrentQueueProducerTypelessBase* moodycamel::ProducerToken::producer
protected

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