Intel(R) Threading Building Blocks Doxygen Documentation version 4.2.3
|
implements a function node that supports Input -> (set of outputs) More...
#include <flow_graph.h>
Public Member Functions | |
template<typename Body > | |
__TBB_NOINLINE_SYM | multifunction_node (graph &g, size_t concurrency,) |
__TBB_NOINLINE_SYM | multifunction_node (const multifunction_node &other) |
![]() | |
graph_node (graph &g) | |
virtual | ~graph_node () |
![]() | |
template<typename Body > | |
multifunction_input (graph &g, size_t max_concurrency,) | |
multifunction_input (const multifunction_input &src) | |
Copy constructor. | |
~multifunction_input () | |
template<typename Body > | |
Body | copy_function_object () |
task * | apply_body_impl_bypass (const input_type &i) |
output_ports_type & | output_ports () |
![]() | |
__TBB_STATIC_ASSERT (!((internal::has_policy< queueing, Policy >::value) &&(internal::has_policy< rejecting, Policy >::value)), "queueing and rejecting policies can't be specified simultaneously") | |
function_input_base (graph &g, __TBB_FLOW_GRAPH_PRIORITY_ARG1(size_t max_concurrency, node_priority_t priority)) | |
Constructor for function_input_base. | |
function_input_base (const function_input_base &src) | |
Copy constructor. | |
virtual | ~function_input_base () |
Destructor. | |
task * | try_put_task (const input_type &t) __TBB_override |
Put item to successor; return task to run the successor if possible. | |
bool | register_predecessor (predecessor_type &src) __TBB_override |
Adds src to the list of cached predecessors. | |
bool | remove_predecessor (predecessor_type &src) __TBB_override |
Removes src from the list of cached predecessors. | |
![]() | |
bool | try_put (const typename internal::async_helpers< Input >::filtered_type &t) |
Put an item to the receiver. | |
bool | try_put (const typename internal::async_helpers< Input >::async_type &t) |
![]() | |
virtual | ~untyped_receiver () |
Destructor. | |
template<typename X > | |
bool | try_put (const X &t) |
Put an item to the receiver. | |
virtual bool | register_predecessor (predecessor_type &) |
Add a predecessor to the node. | |
virtual bool | remove_predecessor (predecessor_type &) |
Remove a predecessor from the node. | |
Static Protected Attributes | |
static const int | N = tbb::flow::tuple_size<Output>::value |
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.") | |
implements a function node that supports Input -> (set of outputs)
Definition at line 1576 of file flow_graph.h.
typedef internal::multifunction_input< input_type, output_ports_type, Policy, internals_allocator> tbb::flow::interface11::multifunction_node< Input, Output, Policy, Allocator >::input_impl_type |
Definition at line 1612 of file flow_graph.h.
typedef internal::function_input_queue<input_type, internals_allocator> tbb::flow::interface11::multifunction_node< Input, Output, Policy, Allocator >::input_queue_type |
Definition at line 1613 of file flow_graph.h.
typedef Input tbb::flow::interface11::multifunction_node< Input, Output, Policy, Allocator >::input_type |
Definition at line 1608 of file flow_graph.h.
|
private |
Definition at line 1596 of file flow_graph.h.
typedef internal::wrap_tuple_elements<N,internal::multifunction_output,Output>::type tbb::flow::interface11::multifunction_node< Input, Output, Policy, Allocator >::output_ports_type |
Definition at line 1610 of file flow_graph.h.
typedef null_type tbb::flow::interface11::multifunction_node< Input, Output, Policy, Allocator >::output_type |
Definition at line 1609 of file flow_graph.h.
|
inline |
Definition at line 1618 of file flow_graph.h.
References CODEPTR, internal::multifunction_input< Input, OutputPortSet, Policy, A >::my_body, tbb::flow::interface11::graph_node::my_graph, and internal::multifunction_input< Input, OutputPortSet, Policy, A >::output_ports().
|
inline |
Definition at line 1654 of file flow_graph.h.
References CODEPTR, internal::multifunction_input< Input, OutputPortSet, Policy, A >::my_body, tbb::flow::interface11::graph_node::my_graph, and internal::multifunction_input< Input, OutputPortSet, Policy, A >::output_ports().
|
private |
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::graph_node.
Reimplemented in tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >.
Definition at line 1675 of file flow_graph.h.
References internal::multifunction_input< Input, OutputPortSet, Policy, A >::reset().
|
staticprotected |
Definition at line 1606 of file flow_graph.h.