Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Implements an executable node that supports continue_msg -> Output. More...
#include <flow_graph.h>
Public Types | |
typedef continue_msg | input_type |
typedef Output | output_type |
typedef internal::continue_input< Output, Policy > | input_impl_type |
typedef internal::function_output< output_type > | fOutput_type |
typedef input_impl_type::predecessor_type | predecessor_type |
typedef fOutput_type::successor_type | successor_type |
![]() | |
typedef continue_msg | input_type |
The input type of this receiver. More... | |
typedef Output | output_type |
The output type of this receiver. More... | |
typedef function_body< input_type, output_type > | function_body_type |
typedef continue_input< output_type, internal::Policy< void > > | class_type |
![]() | |
typedef Output | output_type |
typedef sender< output_type >::successor_type | successor_type |
typedef broadcast_cache< output_type > | broadcast_cache_type |
Public Member Functions | |
template<typename Body > | |
__TBB_NOINLINE_SYM | continue_node (graph &g,) |
Constructor for executable node with continue_msg -> Output. More... | |
template<typename Body > | |
__TBB_NOINLINE_SYM | continue_node (graph &g, int number_of_predecessors,) |
Constructor for executable node with continue_msg -> Output. More... | |
__TBB_NOINLINE_SYM | continue_node (const continue_node &src) |
Copy constructor. More... | |
![]() | |
graph_node (graph &g) | |
virtual | ~graph_node () |
![]() | |
continue_input (graph &g, __TBB_FLOW_GRAPH_PRIORITY_ARG1(Body &body, node_priority_t priority)) | |
continue_input (graph &g, int number_of_predecessors,) | |
continue_input (const continue_input &src) | |
~continue_input () | |
Body | copy_function_object () |
void | reset_receiver (reset_flags f) __TBB_override |
![]() | |
function_output (graph &g) | |
function_output (const function_output &other) | |
bool | register_successor (successor_type &r) __TBB_override |
Adds a new successor to this node. More... | |
bool | remove_successor (successor_type &r) __TBB_override |
Removes a successor from this node. More... | |
task * | try_put_task (const output_type &i) |
broadcast_cache_type & | successors () |
graph & | graph_reference () const |
![]() | |
virtual | ~sender () |
virtual __TBB_DEPRECATED bool | register_successor (successor_type &r)=0 |
Add a new successor to this node. More... | |
virtual __TBB_DEPRECATED bool | remove_successor (successor_type &r)=0 |
Removes a successor from this node. More... | |
virtual bool | try_get (Output &) |
Request an item from the sender. More... | |
virtual bool | try_reserve (Output &) |
Reserves an item in the sender. More... | |
virtual bool | try_release () |
Releases the reserved item. More... | |
virtual bool | try_consume () |
Consumes the reserved item. More... | |
Protected Member Functions | |
internal::broadcast_cache< output_type > & | successors () __TBB_override |
void | reset_node (reset_flags f) __TBB_override |
![]() | |
task * | apply_body_bypass (input_type) |
Applies the body to the provided input. More... | |
task * | execute () __TBB_override |
graph & | graph_reference () const __TBB_override |
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 |
Additional Inherited Members | |
![]() | |
__TBB_DEPRECATED typedef Output | output_type |
The output type of this sender. More... | |
__TBB_DEPRECATED typedef receiver< Output > | successor_type |
The successor type for this node. More... | |
![]() | |
graph & | my_graph |
graph_node * | next |
graph_node * | prev |
![]() | |
graph & | my_graph_ref |
function_body_type * | my_body |
function_body_type * | my_init_body |
![]() | |
broadcast_cache_type | my_successors |
graph & | my_graph_ref |
Implements an executable node that supports continue_msg -> Output.
Definition at line 1773 of file flow_graph.h.
typedef internal::function_output<output_type> tbb::flow::interface11::continue_node< Output, Policy >::fOutput_type |
Definition at line 1779 of file flow_graph.h.
typedef internal::continue_input<Output, Policy> tbb::flow::interface11::continue_node< Output, Policy >::input_impl_type |
Definition at line 1778 of file flow_graph.h.
typedef continue_msg tbb::flow::interface11::continue_node< Output, Policy >::input_type |
Definition at line 1776 of file flow_graph.h.
typedef Output tbb::flow::interface11::continue_node< Output, Policy >::output_type |
Definition at line 1777 of file flow_graph.h.
typedef input_impl_type::predecessor_type tbb::flow::interface11::continue_node< Output, Policy >::predecessor_type |
Definition at line 1780 of file flow_graph.h.
typedef fOutput_type::successor_type tbb::flow::interface11::continue_node< Output, Policy >::successor_type |
Definition at line 1781 of file flow_graph.h.
|
inline |
Constructor for executable node with continue_msg -> Output.
Definition at line 1785 of file flow_graph.h.
References CODEPTR, tbb::internal::fgt_node_with_body(), internal::continue_input< Output, internal::Policy< void > >::my_body, and tbb::flow::interface11::graph_node::my_graph.
|
inline |
Constructor for executable node with continue_msg -> Output.
Definition at line 1822 of file flow_graph.h.
References CODEPTR, tbb::internal::fgt_node_with_body(), internal::continue_input< Output, internal::Policy< void > >::my_body, and tbb::flow::interface11::graph_node::my_graph.
|
inline |
Copy constructor.
Definition at line 1860 of file flow_graph.h.
References CODEPTR, tbb::internal::fgt_node_with_body(), internal::continue_input< Output, internal::Policy< void > >::my_body, and tbb::flow::interface11::graph_node::my_graph.
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::graph_node.
Definition at line 1888 of file flow_graph.h.
References __TBB_ASSERT, internal::successor_cache< T, spin_rw_mutex >::empty(), internal::continue_input< Output, Policy >::reset_receiver(), tbb::flow::interface11::rf_clear_edges, and tbb::flow::interface11::continue_node< Output, Policy >::successors().
|
inlineprotectedvirtual |
Implements internal::continue_input< Output, internal::Policy< void > >.
Definition at line 1886 of file flow_graph.h.
References internal::function_output< Output >::my_successors.
Referenced by tbb::flow::interface11::continue_node< Output, Policy >::reset_node().
|
friend |
Definition at line 1883 of file flow_graph.h.
|
friend |
Definition at line 1884 of file flow_graph.h.
|
friend |
Definition at line 1882 of file flow_graph.h.