|
Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <flow_graph.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 () __TBB_override |
Protected Member Functions inherited from tbb::flow::interface10::receiver< TraitsType::T > | |
| virtual task * | try_put_task_wrapper (const void *p, bool is_async) __TBB_override |
Protected Member Functions inherited from tbb::flow::interface10::internal::untyped_receiver | |
| template<typename X > | |
| task * | try_put_task (const X &t) |
| virtual bool | is_continue_receiver () |
Private Types | |
| enum | op_type { try__put, get__item, res_port } |
| enum | op_stat { WAIT =0, SUCCEEDED, FAILED } |
| 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 | |
Static Public Attributes inherited from tbb::flow::interface10::internal::hash_buffer< TraitsType::K, TraitsType::T, TraitsType::TtoK, TraitsType::KHash > | |
| static const size_t | INITIAL_SIZE |
Definition at line 656 of file flow_graph.h.
| typedef hash_buffer< key_type, input_type, type_to_key_func_type, hash_compare_type > tbb::flow::interface10::internal::key_matching_port< TraitsType >::buffer_type |
Definition at line 669 of file flow_graph.h.
| typedef key_matching_port<traits> tbb::flow::interface10::internal::key_matching_port< TraitsType >::class_type |
Definition at line 662 of file flow_graph.h.
|
private |
Definition at line 704 of file flow_graph.h.
| typedef TraitsType::KHash tbb::flow::interface10::internal::key_matching_port< TraitsType >::hash_compare_type |
Definition at line 668 of file flow_graph.h.
| typedef TraitsType::T tbb::flow::interface10::internal::key_matching_port< TraitsType >::input_type |
Definition at line 663 of file flow_graph.h.
| typedef TraitsType::K tbb::flow::interface10::internal::key_matching_port< TraitsType >::key_type |
Definition at line 664 of file flow_graph.h.
| typedef tbb::internal::strip<key_type>::type tbb::flow::interface10::internal::key_matching_port< TraitsType >::noref_key_type |
Definition at line 665 of file flow_graph.h.
| typedef receiver<input_type>::predecessor_type tbb::flow::interface10::internal::key_matching_port< TraitsType >::predecessor_type |
Definition at line 666 of file flow_graph.h.
| typedef TraitsType tbb::flow::interface10::internal::key_matching_port< TraitsType >::traits |
Definition at line 661 of file flow_graph.h.
| typedef TraitsType::TtoK tbb::flow::interface10::internal::key_matching_port< TraitsType >::type_to_key_func_type |
Definition at line 667 of file flow_graph.h.
|
private |
| Enumerator | |
|---|---|
| WAIT | |
| SUCCEEDED | |
| FAILED | |
Definition at line 682 of file flow_graph.h.
|
private |
| Enumerator | |
|---|---|
| try__put | |
| get__item | |
| res_port | |
Definition at line 677 of file flow_graph.h.
|
inline |
Definition at line 776 of file flow_graph.h.
References tbb::internal::fgt_reserve_wait(), tbb::task::increment_ref_count(), and tbb::flow::interface10::graph::my_root_task.
|
inline |
Definition at line 782 of file flow_graph.h.
|
inline |
Definition at line 787 of file flow_graph.h.
|
inline |
Definition at line 797 of file flow_graph.h.
|
inline |
Definition at line 795 of file flow_graph.h.
|
inlineprotectedvirtual |
Implements tbb::flow::interface10::internal::untyped_receiver.
Definition at line 770 of file flow_graph.h.
|
inlineprivate |
Definition at line 708 of file flow_graph.h.
|
inline |
Definition at line 834 of file flow_graph.h.
|
inlinevirtual |
put receiver back in initial state
Implements tbb::flow::interface10::internal::untyped_receiver.
Definition at line 846 of file flow_graph.h.
|
inline |
Definition at line 789 of file flow_graph.h.
References lock, tbb::flow::interface10::graph_node::next, and tbb::flow::interface10::graph::nodelist_mutex.
|
inline |
Definition at line 793 of file flow_graph.h.
|
inlineprotectedvirtual |
Put item to successor; return task to run the successor if possible.
Implements tbb::flow::interface10::receiver< TraitsType::T >.
Definition at line 758 of file flow_graph.h.
References tbb::task::allocate_root(), tbb::internal::fgt_graph(), tbb::flow::interface10::graph::my_context, tbb::flow::interface10::graph::my_is_active, tbb::flow::interface10::graph::my_root_task, tbb::flow::interface10::graph::own_context, tbb::flow::interface10::graph::prepare_task_arena(), and tbb::task::set_ref_count().
|
friend |
Definition at line 705 of file flow_graph.h.
|
friend |
Definition at line 756 of file flow_graph.h.
|
friend |
Definition at line 757 of file flow_graph.h.
Definition at line 755 of file flow_graph.h.
|
private |
Definition at line 706 of file flow_graph.h.
|
private |
Definition at line 858 of file flow_graph.h.