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

struct  BlockIndexEntry
 
struct  BlockIndexHeader
 

Public 成员函数

template<typename U >
bool dequeue (U &element)
 
template<typename It >
size_t dequeue_bulk (It &itemFirst, size_t max)
 
template<AllocationMode allocMode, typename U >
bool enqueue (U &&element)
 
template<AllocationMode allocMode, typename It >
bool enqueue_bulk (It itemFirst, size_t count)
 
 ExplicitProducer (ConcurrentQueue *parent)
 
 ~ExplicitProducer ()
 
- Public 成员函数 继承自 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase
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 ()
 

Private 成员函数

bool new_block_index (size_t numberOfFilledSlotsToExpose)
 

Private 属性

std::atomic< BlockIndexHeader * > blockIndex
 
BlockIndexEntrypr_blockIndexEntries
 
size_t pr_blockIndexFront
 
void * pr_blockIndexRaw
 
size_t pr_blockIndexSize
 
size_t pr_blockIndexSlotsUsed
 

额外继承的成员函数

- Public 属性 继承自 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase
bool isExplicit
 
ConcurrentQueueparent
 
- Public 属性 继承自 moodycamel::details::ConcurrentQueueProducerTypelessBase
std::atomic< bool > inactive
 
ConcurrentQueueProducerTypelessBasenext
 
ProducerTokentoken
 
- Protected 属性 继承自 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase
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 >::ExplicitProducer

在文件 ConcurrentQueue.h1710 行定义.

构造及析构函数说明

◆ ExplicitProducer()

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::ExplicitProducer ( ConcurrentQueue * parent)
inlineexplicit

◆ ~ExplicitProducer()

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::~ExplicitProducer ( )
inline

成员函数说明

◆ dequeue()

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

◆ dequeue_bulk()

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

◆ enqueue()

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
template<AllocationMode allocMode, typename U >
bool moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue ( U && element)
inline

◆ enqueue_bulk()

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
template<AllocationMode allocMode, typename It >
bool moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue_bulk ( It itemFirst,
size_t count )
inline

◆ new_block_index()

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
bool moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::new_block_index ( size_t numberOfFilledSlotsToExpose)
inlineprivate

类成员变量说明

◆ blockIndex

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
std::atomic<BlockIndexHeader*> moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::blockIndex
private

◆ pr_blockIndexEntries

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
BlockIndexEntry* moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexEntries
private

◆ pr_blockIndexFront

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
size_t moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexFront
private

◆ pr_blockIndexRaw

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
void* moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexRaw
private

◆ pr_blockIndexSize

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
size_t moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexSize
private

◆ pr_blockIndexSlotsUsed

template<typename T , typename Traits = ConcurrentQueueDefaultTraits>
size_t moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexSlotsUsed
private

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