Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
split_node: accepts a tuple as input, forwards each element of the tuple to its More...
#include <flow_graph.h>
Public Types | |
typedef TupleType | input_type |
typedef internal::wrap_tuple_elements< N, internal::multifunction_output, TupleType >::type | output_ports_type |
![]() | |
typedef untyped_sender | predecessor_type |
The predecessor type for this node. More... | |
Public Member Functions | |
__TBB_STATIC_ASSERT ((tbb::internal::is_same_type< Allocator, null_type >::value), "Allocator template parameter for flow graph nodes is deprecated and will be removed. " "Specify TBB_DEPRECATED_FLOW_NODE_ALLOCATOR to temporary enable the deprecated interface.") | |
__TBB_NOINLINE_SYM | split_node (graph &g) |
__TBB_NOINLINE_SYM | split_node (const split_node &other) |
output_ports_type & | output_ports () |
![]() | |
graph_node (graph &g) | |
virtual | ~graph_node () |
![]() | |
bool | try_put (const typename internal::async_helpers< TupleType >::filtered_type &t) |
Put an item to the receiver. More... | |
bool | try_put (const typename internal::async_helpers< TupleType >::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... | |
Protected Member Functions | |
task * | try_put_task (const TupleType &t) __TBB_override |
Put item to successor; return task to run the successor if possible. More... | |
void | reset_node (reset_flags f) __TBB_override |
void | reset_receiver (reset_flags) __TBB_override |
put receiver back in initial state 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 () |
Private Types | |
typedef receiver< TupleType > | base_type |
Private Attributes | |
output_ports_type | my_output_ports |
Static Private Attributes | |
static const int | N = tbb::flow::tuple_size<TupleType>::value |
Additional Inherited Members | |
![]() | |
__TBB_DEPRECATED typedef TupleType | input_type |
The input type of this receiver. More... | |
__TBB_DEPRECATED typedef internal::async_helpers< TupleType >::filtered_type | filtered_type |
![]() | |
graph & | my_graph |
graph_node * | next |
graph_node * | prev |
split_node: accepts a tuple as input, forwards each element of the tuple to its
Definition at line 1681 of file flow_graph.h.
|
private |
Definition at line 1683 of file flow_graph.h.
typedef TupleType tbb::flow::interface11::split_node< TupleType, Allocator >::input_type |
Definition at line 1685 of file flow_graph.h.
typedef internal::wrap_tuple_elements< N, internal::multifunction_output, TupleType >::type tbb::flow::interface11::split_node< TupleType, Allocator >::output_ports_type |
Definition at line 1706 of file flow_graph.h.
|
inlineexplicit |
Definition at line 1708 of file flow_graph.h.
|
inline |
Definition at line 1723 of file flow_graph.h.
References CODEPTR, tbb::flow::interface11::graph_node::my_graph, and tbb::flow::interface11::split_node< TupleType, Allocator >::output_ports().
tbb::flow::interface11::split_node< TupleType, Allocator >::__TBB_STATIC_ASSERT | ( | (tbb::internal::is_same_type< Allocator, null_type >::value) | , |
"Allocator template parameter for flow graph nodes is deprecated and will be removed. " "Specify TBB_DEPRECATED_FLOW_NODE_ALLOCATOR to temporary enable the deprecated interface." | |||
) |
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::internal::untyped_receiver.
Definition at line 1752 of file flow_graph.h.
|
inline |
Definition at line 1737 of file flow_graph.h.
References tbb::flow::interface11::split_node< TupleType, Allocator >::my_output_ports.
Referenced by tbb::flow::interface11::split_node< TupleType, Allocator >::split_node().
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::graph_node.
Definition at line 1745 of file flow_graph.h.
References tbb::flow::interface11::internal::clear_element< N >::clear_this(), tbb::flow::interface11::split_node< TupleType, Allocator >::my_output_ports, and tbb::flow::interface11::rf_clear_edges.
|
inlineprotectedvirtual |
put receiver back in initial state
Implements tbb::flow::interface11::internal::untyped_receiver.
Definition at line 1751 of file flow_graph.h.
|
inlineprotectedvirtual |
Put item to successor; return task to run the successor if possible.
Implements tbb::flow::interface11::receiver< TupleType >.
Definition at line 1740 of file flow_graph.h.
|
private |
Definition at line 1776 of file flow_graph.h.
Referenced by tbb::flow::interface11::split_node< TupleType, Allocator >::output_ports(), and tbb::flow::interface11::split_node< TupleType, Allocator >::reset_node().
|
staticprivate |
Definition at line 1682 of file flow_graph.h.