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 |
![]() | |
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 () |
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 const size_t | INITIAL_SIZE |
Definition at line 652 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 665 of file flow_graph.h.
typedef key_matching_port<traits> tbb::flow::interface10::internal::key_matching_port< TraitsType >::class_type |
Definition at line 658 of file flow_graph.h.
|
private |
Definition at line 700 of file flow_graph.h.
typedef TraitsType::KHash tbb::flow::interface10::internal::key_matching_port< TraitsType >::hash_compare_type |
Definition at line 664 of file flow_graph.h.
typedef TraitsType::T tbb::flow::interface10::internal::key_matching_port< TraitsType >::input_type |
Definition at line 659 of file flow_graph.h.
typedef TraitsType::K tbb::flow::interface10::internal::key_matching_port< TraitsType >::key_type |
Definition at line 660 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 661 of file flow_graph.h.
typedef receiver<input_type>::predecessor_type tbb::flow::interface10::internal::key_matching_port< TraitsType >::predecessor_type |
Definition at line 662 of file flow_graph.h.
typedef TraitsType tbb::flow::interface10::internal::key_matching_port< TraitsType >::traits |
Definition at line 657 of file flow_graph.h.
typedef TraitsType::TtoK tbb::flow::interface10::internal::key_matching_port< TraitsType >::type_to_key_func_type |
Definition at line 663 of file flow_graph.h.
|
private |
Enumerator | |
---|---|
WAIT | |
SUCCEEDED | |
FAILED |
Definition at line 678 of file flow_graph.h.
|
private |
Enumerator | |
---|---|
try__put | |
get__item | |
res_port |
Definition at line 673 of file flow_graph.h.
|
inline |
Definition at line 772 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 778 of file flow_graph.h.
|
inline |
Definition at line 783 of file flow_graph.h.
|
inline |
Definition at line 793 of file flow_graph.h.
|
inline |
Definition at line 791 of file flow_graph.h.
|
inlineprotectedvirtual |
Implements tbb::flow::interface10::internal::untyped_receiver.
Definition at line 766 of file flow_graph.h.
|
inlineprivate |
Definition at line 704 of file flow_graph.h.
|
inline |
Definition at line 830 of file flow_graph.h.
|
inlinevirtual |
put receiver back in initial state
Implements tbb::flow::interface10::internal::untyped_receiver.
Definition at line 842 of file flow_graph.h.
|
inline |
Definition at line 785 of file flow_graph.h.
References lock, tbb::flow::interface10::graph_node::next, and tbb::flow::interface10::graph::nodelist_mutex.
|
inline |
Definition at line 789 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 754 of file flow_graph.h.
References tbb::task::allocate_root(), and tbb::internal::fgt_graph().
|
friend |
Definition at line 701 of file flow_graph.h.
|
friend |
Definition at line 752 of file flow_graph.h.
|
friend |
Definition at line 753 of file flow_graph.h.
Definition at line 751 of file flow_graph.h.
|
private |
Definition at line 702 of file flow_graph.h.
|
private |
Definition at line 854 of file flow_graph.h.