Unravel Engine C++ Reference
Loading...
Searching...
No Matches
moodycamel::ProducerToken Struct Reference

#include <concurrentqueue.h>

Public Member Functions

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
 
ProducerTokenoperator= (ProducerToken &&other) MOODYCAMEL_NOEXCEPT
 
void swap (ProducerToken &other) MOODYCAMEL_NOEXCEPT
 
bool valid () const
 
 ~ProducerToken ()
 
 ProducerToken (ProducerToken const &) MOODYCAMEL_DELETE_FUNCTION
 
ProducerTokenoperator= (ProducerToken const &) MOODYCAMEL_DELETE_FUNCTION
 

Protected Attributes

details::ConcurrentQueueProducerTypelessBaseproducer
 

Friends

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

Detailed Description

Definition at line 651 of file concurrentqueue.h.

Constructor & Destructor Documentation

◆ ProducerToken() [1/4]

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

Definition at line 3684 of file concurrentqueue.h.

◆ ProducerToken() [2/4]

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

Definition at line 3693 of file concurrentqueue.h.

◆ ProducerToken() [3/4]

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

Definition at line 659 of file concurrentqueue.h.

◆ ~ProducerToken()

moodycamel::ProducerToken::~ProducerToken ( )
inline

Definition at line 695 of file concurrentqueue.h.

◆ ProducerToken() [4/4]

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

Member Function Documentation

◆ operator=() [1/2]

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

Definition at line 668 of file concurrentqueue.h.

◆ operator=() [2/2]

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

◆ swap()

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

Definition at line 674 of file concurrentqueue.h.

◆ valid()

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

Definition at line 693 of file concurrentqueue.h.

Friends And Related Symbol Documentation

◆ ConcurrentQueue

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

Definition at line 708 of file concurrentqueue.h.

◆ ConcurrentQueueTests

friend class ConcurrentQueueTests
friend

Definition at line 709 of file concurrentqueue.h.

Member Data Documentation

◆ producer

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

Definition at line 712 of file concurrentqueue.h.


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