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 Allocator | allocator_type |
typedef internal::wrap_tuple_elements< N, internal::multifunction_output, TupleType >::type | output_ports_type |
![]() | |
typedef TupleType | input_type |
The input type of this receiver. More... | |
typedef internal::async_helpers< TupleType >::filtered_type | filtered_type |
![]() | |
typedef untyped_sender | predecessor_type |
The predecessor type for this node. More... | |
Public Member Functions | |
split_node (graph &g) | |
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 () __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 | |
![]() | |
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 1260 of file flow_graph.h.
typedef Allocator tbb::flow::interface10::split_node< TupleType, Allocator >::allocator_type |
Definition at line 1265 of file flow_graph.h.
|
private |
Definition at line 1262 of file flow_graph.h.
typedef TupleType tbb::flow::interface10::split_node< TupleType, Allocator >::input_type |
Definition at line 1264 of file flow_graph.h.
typedef internal::wrap_tuple_elements< N, internal::multifunction_output, TupleType >::type tbb::flow::interface10::split_node< TupleType, Allocator >::output_ports_type |
Definition at line 1277 of file flow_graph.h.
|
inlineexplicit |
Definition at line 1279 of file flow_graph.h.
References tbb::flow::interface10::graph_node::my_graph, and tbb::flow::interface10::split_node< TupleType, Allocator >::output_ports().
|
inline |
Definition at line 1284 of file flow_graph.h.
|
inlineprotectedvirtual |
Implements tbb::flow::interface10::internal::untyped_receiver.
Definition at line 1311 of file flow_graph.h.
|
inline |
Definition at line 1296 of file flow_graph.h.
References tbb::flow::interface10::split_node< TupleType, Allocator >::my_output_ports.
Referenced by tbb::flow::interface10::split_node< TupleType, Allocator >::split_node(), and tbb::flow::interface10::split_node< TupleType, Allocator >::try_put_task().
|
inlineprotectedvirtual |
Implements tbb::flow::interface10::graph_node.
Definition at line 1304 of file flow_graph.h.
References tbb::flow::interface10::rf_clear_edges.
|
inlineprotectedvirtual |
put receiver back in initial state
Implements tbb::flow::interface10::internal::untyped_receiver.
Definition at line 1310 of file flow_graph.h.
|
inlineprotectedvirtual |
Put item to successor; return task to run the successor if possible.
Implements tbb::flow::interface10::receiver< TupleType >.
Definition at line 1299 of file flow_graph.h.
References tbb::flow::interface10::internal::emit_element< N >::emit_this(), tbb::flow::interface10::graph_node::my_graph, and tbb::flow::interface10::split_node< TupleType, Allocator >::output_ports().
|
private |
Definition at line 1335 of file flow_graph.h.
Referenced by tbb::flow::interface10::split_node< TupleType, Allocator >::output_ports().
|
staticprivate |
Definition at line 1261 of file flow_graph.h.