Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Implements a function node that supports Input -> Output. More...
#include <flow_graph.h>
Protected Member Functions | |
internal::broadcast_cache< output_type > & | successors () __TBB_override |
void | reset_node (reset_flags f) __TBB_override |
![]() | |
void | reset_function_input (reset_flags f) |
![]() | |
void | reset_function_input_base (reset_flags f) |
void | reset_receiver (reset_flags f) __TBB_override |
graph & | graph_reference () const __TBB_override |
task * | try_get_postponed_task (const input_type &i) |
![]() | |
virtual void | reset_receiver (reset_flags f=rf_reset_protocol)=0 |
put receiver back in initial state More... | |
virtual bool | is_continue_receiver () |
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 1161 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 1167 of file flow_graph.h.
typedef internal::function_input<input_type,output_type,Policy,Allocator> tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::input_impl_type |
Definition at line 1165 of file flow_graph.h.
typedef internal::function_input_queue<input_type, Allocator> tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::input_queue_type |
Definition at line 1166 of file flow_graph.h.
typedef Input tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::input_type |
Definition at line 1163 of file flow_graph.h.
typedef Output tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::output_type |
Definition at line 1164 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 1168 of file flow_graph.h.
typedef fOutput_type::successor_type tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::successor_type |
Definition at line 1169 of file flow_graph.h.
|
inline |
Constructor.
Definition at line 1181 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 1215 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.
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::graph_node.
Definition at line 1244 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 1242 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 1238 of file flow_graph.h.
|
friend |
Definition at line 1239 of file flow_graph.h.
|
friend |
Definition at line 1237 of file flow_graph.h.