Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Type-independent portion of concurrent_queue_iterator. More...
#include <_concurrent_queue_impl.h>
Protected Member Functions | |
concurrent_queue_iterator_base_v3 () | |
Default constructor. More... | |
concurrent_queue_iterator_base_v3 (const concurrent_queue_iterator_base_v3 &i) | |
Copy constructor. More... | |
concurrent_queue_iterator_base_v3 & | operator= (const concurrent_queue_iterator_base_v3 &i) |
__TBB_EXPORTED_METHOD | concurrent_queue_iterator_base_v3 (const concurrent_queue_base_v3 &queue) |
Obsolete entry point for constructing iterator pointing to head of queue. More... | |
__TBB_EXPORTED_METHOD | concurrent_queue_iterator_base_v3 (const concurrent_queue_base_v3 &queue, size_t offset_of_data) |
Construct iterator pointing to head of queue. More... | |
void __TBB_EXPORTED_METHOD | assign (const concurrent_queue_iterator_base_v3 &i) |
Assignment. More... | |
void __TBB_EXPORTED_METHOD | advance () |
Advance iterator one step towards tail of queue. More... | |
__TBB_EXPORTED_METHOD | ~concurrent_queue_iterator_base_v3 () |
Destructor. More... | |
Protected Attributes | |
void * | my_item |
Pointer to current item. More... | |
Private Member Functions | |
void | initialize (const concurrent_queue_base_v3 &queue, size_t offset_of_data) |
Private Attributes | |
concurrent_queue_iterator_rep * | my_rep |
concurrent_queue over which we are iterating. More... | |
Friends | |
template<typename C , typename T , typename U > | |
bool | operator== (const concurrent_queue_iterator< C, T > &i, const concurrent_queue_iterator< C, U > &j) |
template<typename C , typename T , typename U > | |
bool | operator!= (const concurrent_queue_iterator< C, T > &i, const concurrent_queue_iterator< C, U > &j) |
Type-independent portion of concurrent_queue_iterator.
Definition at line 960 of file _concurrent_queue_impl.h.
|
inlineprotected |
Default constructor.
Definition at line 977 of file _concurrent_queue_impl.h.
|
inlineprotected |
Copy constructor.
Definition at line 980 of file _concurrent_queue_impl.h.
References tbb::strict_ppl::internal::concurrent_queue_iterator_base_v3< Value >::assign().
|
protected |
Obsolete entry point for constructing iterator pointing to head of queue.
Does not work correctly for SSE types.
|
protected |
Construct iterator pointing to head of queue.
|
protected |
Destructor.
Definition at line 662 of file concurrent_queue.cpp.
References tbb::cache_aligned_allocator< T >::deallocate(), and my_rep.
|
protected |
Advance iterator one step towards tail of queue.
Definition at line 643 of file concurrent_queue.cpp.
References __TBB_ASSERT, tbb::internal::concurrent_queue_iterator_rep::array, tbb::internal::concurrent_queue_iterator_rep::get_item(), tbb::internal::concurrent_queue_iterator_rep::head_counter, tbb::internal::concurrent_queue_rep::index(), tbb::internal::concurrent_queue_base_v3::items_per_page, tbb::internal::modulo_power_of_two(), my_item, tbb::internal::concurrent_queue_iterator_rep::my_queue, my_rep, tbb::internal::concurrent_queue_rep::n_queue, and tbb::internal::concurrent_queue_base_v3::page::next.
Referenced by initialize().
|
protected |
Assignment.
Definition at line 629 of file concurrent_queue.cpp.
References tbb::cache_aligned_allocator< T >::allocate(), tbb::cache_aligned_allocator< T >::deallocate(), my_item, and my_rep.
|
private |
Definition at line 614 of file concurrent_queue.cpp.
References advance(), tbb::cache_aligned_allocator< T >::allocate(), tbb::internal::concurrent_queue_iterator_rep::get_item(), tbb::internal::concurrent_queue_iterator_rep::head_counter, my_item, and my_rep.
|
inlineprotected |
Definition at line 984 of file _concurrent_queue_impl.h.
References tbb::strict_ppl::internal::concurrent_queue_iterator_base_v3< Value >::assign().
|
friend |
Definition at line 1071 of file _concurrent_queue_impl.h.
|
friend |
Definition at line 1066 of file _concurrent_queue_impl.h.
|
protected |
Pointer to current item.
Definition at line 974 of file _concurrent_queue_impl.h.
Referenced by advance(), assign(), initialize(), tbb::internal::operator!=(), and tbb::internal::operator==().
|
private |
concurrent_queue over which we are iterating.
NULL if one past last element in queue.
Definition at line 963 of file _concurrent_queue_impl.h.
Referenced by advance(), assign(), initialize(), and ~concurrent_queue_iterator_base_v3().