Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Implements a function node that supports Input -> Output. More...
#include <flow_graph.h>
Private Types | |
typedef cache_aligned_allocator< Input > | internals_allocator |
Private 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.") | |
Friends | |
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 |
Implements a function node that supports Input -> Output.
Definition at line 1456 of file flow_graph.h.
typedef internal::function_output<output_type> tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::fOutput_type |
Definition at line 1482 of file flow_graph.h.
typedef internal::function_input<input_type,output_type,Policy,internals_allocator> tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::input_impl_type |
Definition at line 1480 of file flow_graph.h.
typedef internal::function_input_queue<input_type, internals_allocator> tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::input_queue_type |
Definition at line 1481 of file flow_graph.h.
typedef Input tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::input_type |
Definition at line 1478 of file flow_graph.h.
|
private |
Definition at line 1468 of file flow_graph.h.
typedef Output tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::output_type |
Definition at line 1479 of file flow_graph.h.
typedef input_impl_type::predecessor_type tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::predecessor_type |
Definition at line 1483 of file flow_graph.h.
typedef fOutput_type::successor_type tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::successor_type |
Definition at line 1484 of file flow_graph.h.
|
inline |
Constructor.
Definition at line 1496 of file flow_graph.h.
References CODEPTR, tbb::internal::fgt_node_with_body(), internal::function_input< Input, continue_msg, queueing, cache_aligned_allocator< Input > >::my_body, and tbb::flow::interface11::graph_node::my_graph.
|
inline |
Copy constructor.
Definition at line 1530 of file flow_graph.h.
References CODEPTR, tbb::internal::fgt_node_with_body(), internal::function_input< Input, continue_msg, queueing, cache_aligned_allocator< Input > >::my_body, and tbb::flow::interface11::graph_node::my_graph.
|
private |
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::graph_node.
Definition at line 1559 of file flow_graph.h.
References __TBB_ASSERT, internal::node_cache< T, M >::clear(), internal::node_cache< T, M >::empty(), internal::successor_cache< T, spin_rw_mutex >::empty(), internal::function_input_base< Input, queueing, cache_aligned_allocator< Input >, function_input< Input, continue_msg, queueing, cache_aligned_allocator< Input > > >::my_predecessors, internal::function_input< Input, Output, Policy, A >::reset_function_input(), tbb::flow::interface11::rf_clear_edges, and tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::successors().
|
inlineprotectedvirtual |
Implements internal::function_input< Input, continue_msg, queueing, cache_aligned_allocator< Input > >.
Definition at line 1557 of file flow_graph.h.
References internal::function_output< Output >::my_successors.
Referenced by tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::reset_node().
|
friend |
Definition at line 1553 of file flow_graph.h.
|
friend |
Definition at line 1554 of file flow_graph.h.
|
friend |
Definition at line 1552 of file flow_graph.h.