Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
queueing join_port More...
#include <flow_graph.h>
Classes | |
class | queueing_port_operation |
Public Types | |
typedef T | input_type |
typedef receiver< input_type >::predecessor_type | predecessor_type |
typedef queueing_port< T > | class_type |
![]() | |
typedef untyped_sender | predecessor_type |
The predecessor type for this node. More... | |
![]() | |
enum | buffer_item_state |
typedef T | item_type |
Public Member Functions | |
queueing_port () | |
Constructor. More... | |
queueing_port (const queueing_port &) | |
copy constructor More... | |
void | set_join_node_pointer (forwarding_base *join) |
record parent for tallying available items More... | |
bool | get_item (T &v) |
void | reset_port () |
void | reset_receiver (reset_flags f) __TBB_override |
put receiver back in initial state More... | |
![]() | |
bool | try_put (const typename internal::async_helpers< T >::filtered_type &t) |
Put an item to the receiver. More... | |
bool | try_put (const typename internal::async_helpers< T >::async_type &t) |
![]() | |
virtual | ~untyped_receiver () |
Destructor. More... | |
template<typename X > | |
bool | try_put (const X &t) |
Put an item to the receiver. More... | |
virtual bool | register_predecessor (predecessor_type &) |
Add a predecessor to the node. More... | |
virtual bool | remove_predecessor (predecessor_type &) |
Remove a predecessor from the node. More... | |
![]() | |
item_buffer () | |
Constructor. More... | |
~item_buffer () | |
void | reset () |
Protected Member Functions | |
task * | try_put_task (const T &v) __TBB_override |
Put item to successor; return task to run the successor if possible. More... | |
graph & | graph_reference () const __TBB_override |
![]() | |
virtual task * | try_put_task_wrapper (const void *p, bool is_async) __TBB_override |
![]() | |
template<typename X > | |
task * | try_put_task (const X &t) |
virtual bool | is_continue_receiver () |
![]() | |
bool | buffer_empty () const |
buffer_item_type & | item (size_type i) |
const buffer_item_type & | item (size_type i) const |
bool | my_item_valid (size_type i) const |
bool | my_item_reserved (size_type i) const |
const item_type & | get_my_item (size_t i) const |
void | set_my_item (size_t i, const item_type &o) |
void | fetch_item (size_t i, item_type &o) |
void | move_item (size_t to, size_t from) |
bool | place_item (size_t here, const item_type &me) |
void | swap_items (size_t i, size_t j) |
void | destroy_item (size_type i) |
const item_type & | front () const |
const item_type & | back () const |
void | reserve_item (size_type i) |
void | release_item (size_type i) |
void | destroy_front () |
void | destroy_back () |
size_type | size (size_t new_tail=0) |
size_type | capacity () |
bool | buffer_full () |
void | grow_my_array (size_t minimum_size) |
Grows the internal array. More... | |
bool | push_back (item_type &v) |
bool | pop_back (item_type &v) |
bool | pop_front (item_type &v) |
void | clean_up_buffer (bool reset_pointers) |
Private Types | |
enum | op_type { get__item, res_port, try__put_task } |
typedef internal::aggregating_functor< class_type, queueing_port_operation > | handler_type |
Private Member Functions | |
void | handle_operations (queueing_port_operation *op_list) |
Private Attributes | |
aggregator< handler_type, queueing_port_operation > | my_aggregator |
forwarding_base * | my_join |
Friends | |
class | internal::aggregating_functor< class_type, queueing_port_operation > |
template<typename R , typename B > | |
class | run_and_put_task |
template<typename X , typename Y > | |
class | internal::broadcast_cache |
template<typename X , typename Y > | |
class | internal::round_robin_cache |
Additional Inherited Members | |
![]() | |
__TBB_DEPRECATED typedef T | input_type |
The input type of this receiver. More... | |
__TBB_DEPRECATED typedef internal::async_helpers< T >::filtered_type | filtered_type |
![]() | |
typedef size_t | size_type |
typedef aligned_pair< item_type, buffer_item_state >::type | buffer_item_type |
typedef tbb::internal::allocator_rebind< cache_aligned_allocator< T >, buffer_item_type >::type | allocator_type |
![]() | |
buffer_item_type * | my_array |
size_type | my_array_size |
size_type | my_head |
size_type | my_tail |
![]() | |
static const size_type | initial_buffer_size |
queueing join_port
Definition at line 431 of file flow_graph.h.
typedef queueing_port<T> tbb::flow::interface11::internal::queueing_port< T >::class_type |
Definition at line 435 of file flow_graph.h.
|
private |
Definition at line 476 of file flow_graph.h.
typedef T tbb::flow::interface11::internal::queueing_port< T >::input_type |
Definition at line 433 of file flow_graph.h.
typedef receiver<input_type>::predecessor_type tbb::flow::interface11::internal::queueing_port< T >::predecessor_type |
Definition at line 434 of file flow_graph.h.
|
private |
|
inline |
Constructor.
Definition at line 557 of file flow_graph.h.
|
inline |
copy constructor
Definition at line 563 of file flow_graph.h.
|
inline |
Definition at line 573 of file flow_graph.h.
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::internal::untyped_receiver.
Definition at line 550 of file flow_graph.h.
|
inlineprivate |
Definition at line 480 of file flow_graph.h.
|
inline |
Definition at line 581 of file flow_graph.h.
|
inlinevirtual |
put receiver back in initial state
Implements tbb::flow::interface11::internal::untyped_receiver.
Definition at line 620 of file flow_graph.h.
|
inline |
record parent for tallying available items
Definition at line 569 of file flow_graph.h.
|
inlineprotectedvirtual |
Put item to successor; return task to run the successor if possible.
Implements tbb::flow::interface11::receiver< T >.
Definition at line 542 of file flow_graph.h.
|
friend |
Definition at line 477 of file flow_graph.h.
|
friend |
Definition at line 540 of file flow_graph.h.
|
friend |
Definition at line 541 of file flow_graph.h.
Definition at line 539 of file flow_graph.h.
|
private |
Definition at line 478 of file flow_graph.h.
|
private |
Definition at line 634 of file flow_graph.h.