Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <_flow_graph_join_impl.h>
Classes | |
class | key_matching_port_operation |
Protected Member Functions | |
task * | try_put_task (const input_type &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 void | reset_receiver (reset_flags f=rf_reset_protocol)=0 |
put receiver back in initial state More... | |
virtual bool | is_continue_receiver () |
Private Types | |
enum | op_type { try__put, get__item, res_port } |
typedef internal::aggregating_functor< class_type, key_matching_port_operation > | handler_type |
Private Member Functions | |
void | handle_operations (key_matching_port_operation *op_list) |
Private Attributes | |
aggregator< handler_type, key_matching_port_operation > | my_aggregator |
matching_forwarding_base< key_type > * | my_join |
Friends | |
class | internal::aggregating_functor< class_type, key_matching_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 TraitsType::T | input_type |
The input type of this receiver. More... | |
__TBB_DEPRECATED typedef internal::async_helpers< TraitsType::T >::filtered_type | filtered_type |
![]() | |
static const size_t | INITIAL_SIZE |
Definition at line 658 of file _flow_graph_join_impl.h.
typedef hash_buffer< key_type, input_type, type_to_key_func_type, hash_compare_type > internal::key_matching_port< TraitsType >::buffer_type |
Definition at line 671 of file _flow_graph_join_impl.h.
typedef key_matching_port<traits> internal::key_matching_port< TraitsType >::class_type |
Definition at line 664 of file _flow_graph_join_impl.h.
|
private |
Definition at line 705 of file _flow_graph_join_impl.h.
typedef TraitsType::KHash internal::key_matching_port< TraitsType >::hash_compare_type |
Definition at line 670 of file _flow_graph_join_impl.h.
typedef TraitsType::T internal::key_matching_port< TraitsType >::input_type |
Definition at line 665 of file _flow_graph_join_impl.h.
typedef TraitsType::K internal::key_matching_port< TraitsType >::key_type |
Definition at line 666 of file _flow_graph_join_impl.h.
typedef tbb::internal::strip<key_type>::type internal::key_matching_port< TraitsType >::noref_key_type |
Definition at line 667 of file _flow_graph_join_impl.h.
typedef receiver<input_type>::predecessor_type internal::key_matching_port< TraitsType >::predecessor_type |
Definition at line 668 of file _flow_graph_join_impl.h.
typedef TraitsType internal::key_matching_port< TraitsType >::traits |
Definition at line 663 of file _flow_graph_join_impl.h.
typedef TraitsType::TtoK internal::key_matching_port< TraitsType >::type_to_key_func_type |
Definition at line 669 of file _flow_graph_join_impl.h.
|
private |
|
inline |
Definition at line 777 of file _flow_graph_join_impl.h.
References internal::key_matching_port< TraitsType >::my_aggregator, and internal::key_matching_port< TraitsType >::my_join.
|
inline |
Definition at line 783 of file _flow_graph_join_impl.h.
References internal::key_matching_port< TraitsType >::my_aggregator, and internal::key_matching_port< TraitsType >::my_join.
|
inline |
Definition at line 788 of file _flow_graph_join_impl.h.
|
inline |
Definition at line 798 of file _flow_graph_join_impl.h.
References internal::key_matching_port< TraitsType >::get__item, internal::key_matching_port< TraitsType >::my_aggregator, tbb::interface6::internal::aggregated_operation< Derived >::status, and internal::SUCCEEDED.
|
inline |
Definition at line 796 of file _flow_graph_join_impl.h.
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::internal::untyped_receiver.
Definition at line 771 of file _flow_graph_join_impl.h.
References internal::forwarding_base::graph_ref, and internal::key_matching_port< TraitsType >::my_join.
|
inlineprivate |
Definition at line 709 of file _flow_graph_join_impl.h.
References __TBB_ASSERT, tbb::internal::__TBB_store_with_release(), internal::matching_forwarding_base< KeyType >::current_key, tbb::flow::interface11::internal::hash_buffer< TraitsType::K, TraitsType::T, TraitsType::TtoK, TraitsType::KHash >::delete_with_key(), internal::FAILED, tbb::flow::interface11::internal::hash_buffer< TraitsType::K, TraitsType::T, TraitsType::TtoK, TraitsType::KHash >::find_with_key(), internal::key_matching_port< TraitsType >::get__item, tbb::flow::interface11::internal::hash_buffer< TraitsType::K, TraitsType::T, TraitsType::TtoK, TraitsType::KHash >::insert_with_key(), internal::key_matching_port< TraitsType >::key_matching_port_operation::my_arg, internal::key_matching_port< TraitsType >::my_join, internal::key_matching_port< TraitsType >::key_matching_port_operation::my_val, tbb::interface6::internal::aggregated_operation< Derived >::next, internal::key_matching_port< TraitsType >::res_port, tbb::interface6::internal::aggregated_operation< Derived >::status, internal::SUCCEEDED, internal::key_matching_port< TraitsType >::try__put, and internal::key_matching_port< TraitsType >::key_matching_port_operation::type.
|
inline |
Definition at line 835 of file _flow_graph_join_impl.h.
References internal::key_matching_port< TraitsType >::my_aggregator, and internal::key_matching_port< TraitsType >::res_port.
|
inline |
Definition at line 847 of file _flow_graph_join_impl.h.
References hash_buffer< Key, ValueType, ValueToKey, HashCompare, Allocator >::reset(), tbb::flow::interface11::rf_clear_edges, and tbb::internal::suppress_unused_warning().
|
inline |
Definition at line 790 of file _flow_graph_join_impl.h.
References internal::key_matching_port< TraitsType >::my_join.
|
inline |
Definition at line 794 of file _flow_graph_join_impl.h.
|
inlineprotectedvirtual |
Put item to successor; return task to run the successor if possible.
Implements tbb::flow::interface11::receiver< TraitsType::T >.
Definition at line 759 of file _flow_graph_join_impl.h.
References tbb::flow::interface11::internal::hash_buffer< TraitsType::K, TraitsType::T, TraitsType::TtoK, TraitsType::KHash >::get_key_func(), internal::matching_forwarding_base< KeyType >::increment_key_count(), internal::key_matching_port< TraitsType >::my_aggregator, internal::key_matching_port< TraitsType >::my_join, tbb::interface6::internal::aggregated_operation< Derived >::status, internal::SUCCEEDED, tbb::flow::internal::SUCCESSFULLY_ENQUEUED, task, and internal::key_matching_port< TraitsType >::try__put.
|
friend |
Definition at line 706 of file _flow_graph_join_impl.h.
|
friend |
Definition at line 757 of file _flow_graph_join_impl.h.
|
friend |
Definition at line 758 of file _flow_graph_join_impl.h.
|
friend |
Definition at line 756 of file _flow_graph_join_impl.h.
|
private |
Definition at line 707 of file _flow_graph_join_impl.h.
Referenced by internal::key_matching_port< TraitsType >::get_item(), internal::key_matching_port< TraitsType >::key_matching_port(), internal::key_matching_port< TraitsType >::reset_port(), and internal::key_matching_port< TraitsType >::try_put_task().
|
private |
Definition at line 859 of file _flow_graph_join_impl.h.
Referenced by internal::key_matching_port< TraitsType >::graph_reference(), internal::key_matching_port< TraitsType >::handle_operations(), internal::key_matching_port< TraitsType >::key_matching_port(), internal::key_matching_port< TraitsType >::set_join_node_pointer(), and internal::key_matching_port< TraitsType >::try_put_task().