CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 属性 | 友元 | 所有成员列表
moodycamel::ProducerToken结构体 参考

#include <ConcurrentQueue.h>

+ moodycamel::ProducerToken 的协作图:

Public 成员函数

ProducerTokenoperator= (ProducerToken &&other) MOODYCAMEL_NOEXCEPT
 
ProducerTokenoperator= (ProducerToken const &) MOODYCAMEL_DELETE_FUNCTION
 
template<typename T , typename Traits >
 ProducerToken (BlockingConcurrentQueue< T, Traits > &queue)
 
template<typename T , typename Traits >
 ProducerToken (ConcurrentQueue< 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 属性

details::ConcurrentQueueProducerTypelessBaseproducer
 

友元

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

详细描述

在文件 ConcurrentQueue.h579 行定义.

构造及析构函数说明

◆ 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

◆ ~ProducerToken()

moodycamel::ProducerToken::~ProducerToken ( )
inline

◆ ProducerToken() [4/4]

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

成员函数说明

◆ operator=() [1/2]

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

在文件 ConcurrentQueue.h596 行定义.

引用了 swap().

+ 函数调用图:

◆ operator=() [2/2]

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

◆ swap()

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

在文件 ConcurrentQueue.h602 行定义.

引用了 producer , 以及 moodycamel::details::ConcurrentQueueProducerTypelessBase::token.

被这些函数引用 operator=().

+ 这是这个函数的调用关系图:

◆ valid()

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

在文件 ConcurrentQueue.h621 行定义.

引用了 producer.

友元及相关函数文档

◆ ConcurrentQueue

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

在文件 ConcurrentQueue.h636 行定义.

◆ ConcurrentQueueTests

friend class ConcurrentQueueTests
friend

在文件 ConcurrentQueue.h637 行定义.

类成员变量说明

◆ producer

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

该结构体的文档由以下文件生成: