Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <_flow_graph_join_impl.h>
Classes | |
class | join_node_base_operation |
Public Types | |
typedef OutputTuple | output_type |
typedef sender< output_type >::successor_type | successor_type |
typedef join_node_FE< JP, InputTuple, OutputTuple > | input_ports_type |
![]() | |
typedef untyped_receiver | successor_type |
The successor type for this node. More... | |
Public Member Functions | |
join_node_base (graph &g) | |
join_node_base (const join_node_base &other) | |
template<typename FunctionTuple > | |
join_node_base (graph &g, FunctionTuple f) | |
bool | register_successor (successor_type &r) __TBB_override |
Add a new successor to this node. More... | |
bool | remove_successor (successor_type &r) __TBB_override |
Removes a successor from this node. More... | |
bool | try_get (output_type &v) __TBB_override |
Request an item from the sender. More... | |
![]() | |
virtual bool | try_reserve (OutputTuple &) |
Reserves an item in the sender. More... | |
![]() | |
virtual | ~untyped_sender () |
virtual bool | try_release () |
Releases the reserved item. More... | |
virtual bool | try_consume () |
Consumes the reserved item. More... | |
Protected Member Functions | |
void | reset_node (reset_flags f) __TBB_override |
![]() | |
virtual bool | try_get_wrapper (void *p, bool is_async) __TBB_override |
virtual bool | try_reserve_wrapper (void *p, bool is_async) __TBB_override |
![]() | |
template<typename X > | |
bool | try_get (X &t) |
Request an item from the sender. More... | |
template<typename X > | |
bool | try_reserve (X &t) |
Reserves an item in the sender. More... | |
Private Types | |
enum | op_type { reg_succ, rem_succ, try__get, do_fwrd, do_fwrd_bypass } |
typedef join_node_base< JP, InputTuple, OutputTuple > | class_type |
typedef internal::aggregating_functor< class_type, join_node_base_operation > | handler_type |
Private Member Functions | |
void | handle_operations (join_node_base_operation *op_list) |
task * | forward_task () |
Private Attributes | |
bool | forwarder_busy |
aggregator< handler_type, join_node_base_operation > | my_aggregator |
broadcast_cache< output_type, null_rw_mutex > | my_successors |
Friends | |
class | internal::aggregating_functor< class_type, join_node_base_operation > |
class | forward_task_bypass< join_node_base< JP, InputTuple, OutputTuple > > |
Additional Inherited Members | |
![]() | |
__TBB_DEPRECATED typedef OutputTuple | output_type |
The output type of this sender. More... | |
__TBB_DEPRECATED typedef internal::async_helpers< OutputTuple >::filtered_type | filtered_type |
Definition at line 868 of file _flow_graph_join_impl.h.
|
private |
Definition at line 1289 of file _flow_graph_join_impl.h.
|
private |
Definition at line 1310 of file _flow_graph_join_impl.h.
typedef join_node_FE<JP, InputTuple, OutputTuple> internal::join_node_base< JP, InputTuple, OutputTuple >::input_ports_type |
Definition at line 1272 of file _flow_graph_join_impl.h.
typedef OutputTuple internal::join_node_base< JP, InputTuple, OutputTuple >::output_type |
Definition at line 1269 of file _flow_graph_join_impl.h.
typedef sender<output_type>::successor_type internal::join_node_base< JP, InputTuple, OutputTuple >::successor_type |
Definition at line 1271 of file _flow_graph_join_impl.h.
|
private |
Enumerator | |
---|---|
reg_succ | |
rem_succ | |
try__get | |
do_fwrd | |
do_fwrd_bypass |
Definition at line 1284 of file _flow_graph_join_impl.h.
|
inline |
Definition at line 1395 of file _flow_graph_join_impl.h.
References tbb::interface6::internal::aggregator< handler_type, operation_type >::initialize_handler().
|
inline |
Definition at line 1401 of file _flow_graph_join_impl.h.
References tbb::interface6::internal::aggregator< handler_type, operation_type >::initialize_handler().
|
inline |
Definition at line 1410 of file _flow_graph_join_impl.h.
References tbb::interface6::internal::aggregator< handler_type, operation_type >::initialize_handler().
|
inlineprivate |
Definition at line 1478 of file _flow_graph_join_impl.h.
References internal::join_node_base< JP, InputTuple, OutputTuple >::join_node_base_operation::bypass_t, and tbb::interface6::internal::aggregator< handler_type, operation_type >::execute().
|
inlineprivate |
Definition at line 1315 of file _flow_graph_join_impl.h.
References tbb::internal::__TBB_store_with_release(), internal::join_node_base< JP, InputTuple, OutputTuple >::join_node_base_operation::bypass_t, tbb::flow::interface11::combine_tasks(), internal::FAILED, tbb::flow::interface11::internal::is_graph_active(), internal::join_node_base< JP, InputTuple, OutputTuple >::join_node_base_operation::my_arg, internal::join_node_base< JP, InputTuple, OutputTuple >::join_node_base_operation::my_succ, tbb::interface6::internal::aggregated_operation< Derived >::next, tbb::flow::interface11::internal::spawn_in_graph_arena(), tbb::interface6::internal::aggregated_operation< Derived >::status, internal::SUCCEEDED, task, and internal::join_node_base< JP, InputTuple, OutputTuple >::join_node_base_operation::type.
|
inlinevirtual |
Add a new successor to this node.
Implements tbb::flow::interface11::internal::untyped_sender.
Definition at line 1416 of file _flow_graph_join_impl.h.
References tbb::interface6::internal::aggregator< handler_type, operation_type >::execute(), tbb::interface6::internal::aggregated_operation< Derived >::status, and internal::SUCCEEDED.
|
inlinevirtual |
Removes a successor from this node.
Implements tbb::flow::interface11::internal::untyped_sender.
Definition at line 1422 of file _flow_graph_join_impl.h.
References tbb::interface6::internal::aggregator< handler_type, operation_type >::execute(), tbb::interface6::internal::aggregated_operation< Derived >::status, and internal::SUCCEEDED.
|
inlineprotected |
Definition at line 1469 of file _flow_graph_join_impl.h.
References tbb::flow::interface11::rf_clear_edges.
|
inlinevirtual |
Request an item from the sender.
Reimplemented from tbb::flow::interface11::sender< OutputTuple >.
Definition at line 1428 of file _flow_graph_join_impl.h.
References tbb::interface6::internal::aggregator< handler_type, operation_type >::execute(), tbb::interface6::internal::aggregated_operation< Derived >::status, and internal::SUCCEEDED.
|
friend |
Definition at line 1477 of file _flow_graph_join_impl.h.
|
friend |
Definition at line 1311 of file _flow_graph_join_impl.h.
|
private |
Definition at line 1312 of file _flow_graph_join_impl.h.
|
private |
Definition at line 1313 of file _flow_graph_join_impl.h.
|
private |
Definition at line 1475 of file _flow_graph_join_impl.h.