Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Implements methods for a function node that takes a type Input as input. More...
#include <flow_graph.h>
Public Member Functions | |
template<typename Body > | |
multifunction_input (graph &g, size_t max_concurrency,) | |
multifunction_input (const multifunction_input &src) | |
Copy constructor. More... | |
~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. More... | |
function_input_base (const function_input_base &src) | |
Copy constructor. More... | |
virtual | ~function_input_base () |
Destructor. More... | |
task * | try_put_task (const input_type &t) __TBB_override |
Put item to successor; return task to run the successor if possible. More... | |
bool | register_predecessor (predecessor_type &src) __TBB_override |
Adds src to the list of cached predecessors. More... | |
bool | remove_predecessor (predecessor_type &src) __TBB_override |
Removes src from the list of cached predecessors. More... | |
![]() | |
bool | try_put (const typename internal::async_helpers< Input >::filtered_type &t) |
Put an item to the receiver. More... | |
bool | try_put (const typename internal::async_helpers< Input >::async_type &t) |
![]() | |
virtual | ~untyped_receiver () |
Destructor. More... | |
template<typename X > | |
bool | try_put (const X &t) |
Put an item to the receiver. More... | |
Static Public Attributes | |
static const int | N = tbb::flow::tuple_size<OutputPortSet>::value |
Protected Member Functions | |
void | reset (reset_flags f) |
![]() | |
void | reset_function_input_base (reset_flags f) |
void | reset_receiver (reset_flags f) __TBB_override |
put receiver back in initial state More... | |
graph & | graph_reference () const __TBB_override |
task * | try_get_postponed_task (const input_type &i) |
![]() | |
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 () |
Protected Attributes | |
multifunction_body_type * | my_body |
multifunction_body_type * | my_init_body |
output_ports_type | my_output_ports |
![]() | |
graph & | my_graph_ref |
const size_t | my_max_concurrency |
size_t | my_concurrency |
input_queue_type * | my_queue |
predecessor_cache< input_type, null_mutex > | my_predecessors |
Additional Inherited Members | |
![]() | |
__TBB_DEPRECATED typedef Input | input_type |
The input type of this receiver. More... | |
__TBB_DEPRECATED typedef internal::async_helpers< Input >::filtered_type | filtered_type |
Implements methods for a function node that takes a type Input as input.
Definition at line 638 of file flow_graph.h.
typedef function_input_base<Input, Policy, A, my_class> tbb::flow::interface11::internal::multifunction_input< Input, OutputPortSet, Policy, A >::base_type |
Definition at line 645 of file flow_graph.h.
typedef function_input_queue<input_type, A> tbb::flow::interface11::internal::multifunction_input< Input, OutputPortSet, Policy, A >::input_queue_type |
Definition at line 646 of file flow_graph.h.
typedef Input tbb::flow::interface11::internal::multifunction_input< Input, OutputPortSet, Policy, A >::input_type |
Definition at line 641 of file flow_graph.h.
typedef multifunction_body<input_type, output_ports_type> tbb::flow::interface11::internal::multifunction_input< Input, OutputPortSet, Policy, A >::multifunction_body_type |
Definition at line 643 of file flow_graph.h.
typedef multifunction_input<Input, OutputPortSet, Policy, A> tbb::flow::interface11::internal::multifunction_input< Input, OutputPortSet, Policy, A >::my_class |
Definition at line 644 of file flow_graph.h.
typedef OutputPortSet tbb::flow::interface11::internal::multifunction_input< Input, OutputPortSet, Policy, A >::output_ports_type |
Definition at line 642 of file flow_graph.h.
|
inline |
Definition at line 650 of file flow_graph.h.
|
inline |
|
inline |
Definition at line 666 of file flow_graph.h.
|
inline |
Definition at line 680 of file flow_graph.h.
|
inline |
Definition at line 672 of file flow_graph.h.
|
inline |
Definition at line 691 of file flow_graph.h.
|
inlineprotected |
Definition at line 700 of file flow_graph.h.
Referenced by tbb::flow::interface11::multifunction_node< indexer_node_output_type, kernel_input_tuple >::reset_node().
|
protected |
Definition at line 711 of file flow_graph.h.
|
protected |
Definition at line 712 of file flow_graph.h.
|
protected |
Definition at line 713 of file flow_graph.h.
|
static |
Definition at line 640 of file flow_graph.h.