CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | Protected 属性 | 所有成员列表
moodycamel::ConcurrentQueue< T, Traits >::ProducerBase结构体 参考
+ 类 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase 继承关系图:
+ moodycamel::ConcurrentQueue< T, Traits >::ProducerBase 的协作图:

Public 成员函数

template<typename U >
bool dequeue (U &element)
 
template<typename It >
size_t dequeue_bulk (It &itemFirst, size_t max)
 
index_t getTail () const
 
ProducerBasenext_prod () const
 
 ProducerBase (ConcurrentQueue *parent_, bool isExplicit_)
 
size_t size_approx () const
 
virtual ~ProducerBase ()
 
- Public 成员函数 继承自 moodycamel::details::ConcurrentQueueProducerTypelessBase
 ConcurrentQueueProducerTypelessBase ()
 

Public 属性

bool isExplicit
 
ConcurrentQueueparent
 
- Public 属性 继承自 moodycamel::details::ConcurrentQueueProducerTypelessBase
std::atomic< bool > inactive
 
ConcurrentQueueProducerTypelessBasenext
 
ProducerTokentoken
 

Protected 属性

std::atomic< index_tdequeueOptimisticCount
 
std::atomic< index_tdequeueOvercommit
 
std::atomic< index_theadIndex
 
BlocktailBlock
 
std::atomic< index_ttailIndex
 

详细描述

template<typename T, typename Traits = ConcurrentQueueDefaultTraits>
struct moodycamel::ConcurrentQueue< T, Traits >::ProducerBase

在文件 ConcurrentQueue.h1639 行定义.

构造及析构函数说明

◆ ProducerBase()

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::ProducerBase ( ConcurrentQueue * parent_,
bool isExplicit_ )
inline

在文件 ConcurrentQueue.h1641 行定义.

◆ ~ProducerBase()

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
virtual moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::~ProducerBase ( )
inlinevirtual

在文件 ConcurrentQueue.h1652 行定义.

成员函数说明

◆ dequeue()

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
template<typename U >
bool moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::dequeue ( U & element)
inline

在文件 ConcurrentQueue.h1655 行定义.

引用了 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::dequeue() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::isExplicit.

被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::dequeue(), moodycamel::ConcurrentQueue< T, Traits >::try_dequeue() , 以及 moodycamel::ConcurrentQueue< T, Traits >::try_dequeue().

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

◆ dequeue_bulk()

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
template<typename It >
size_t moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::dequeue_bulk ( It & itemFirst,
size_t max )
inline

在文件 ConcurrentQueue.h1666 行定义.

引用了 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::dequeue_bulk() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::isExplicit.

被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::dequeue_bulk() , 以及 moodycamel::ConcurrentQueue< T, Traits >::try_dequeue_bulk().

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

◆ getTail()

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
index_t moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::getTail ( ) const
inline

◆ next_prod()

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
ProducerBase * moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::next_prod ( ) const
inline

◆ size_approx()

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
size_t moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::size_approx ( ) const
inline

在文件 ConcurrentQueue.h1678 行定义.

引用了 moodycamel::details::circular_less_than(), moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::headIndex , 以及 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::tailIndex.

被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::try_dequeue().

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

类成员变量说明

◆ dequeueOptimisticCount

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
std::atomic<index_t> moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::dequeueOptimisticCount
protected

◆ dequeueOvercommit

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
std::atomic<index_t> moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::dequeueOvercommit
protected

◆ headIndex

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
std::atomic<index_t> moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::headIndex
protected

◆ isExplicit

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
bool moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::isExplicit

◆ parent

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
ConcurrentQueue* moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::parent

◆ tailBlock

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
Block* moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::tailBlock
protected

◆ tailIndex

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
std::atomic<index_t> moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::tailIndex
protected

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