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 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 () |
![]() | |
template<typename Body > | |
continue_input (graph &g, __TBB_FLOW_GRAPH_PRIORITY_ARG1(Body &body, node_priority_t priority)) | |
template<typename Body > | |
continue_input (graph &g, int number_of_predecessors,) | |
continue_input (const continue_input &src) | |
~continue_input () | |
template<typename Body > | |
Body | copy_function_object () |
void | reset_receiver (reset_flags f) __TBB_override |
put receiver back in initial state More... | |
![]() | |
__TBB_DEPRECATED | continue_receiver (__TBB_FLOW_GRAPH_PRIORITY_ARG1(int number_of_predecessors, node_priority_t priority)) |
Constructor. More... | |
__TBB_DEPRECATED | continue_receiver (const continue_receiver &src) |
Copy constructor. More... | |
__TBB_DEPRECATED bool | register_predecessor (predecessor_type &) __TBB_override |
Increments the trigger threshold. More... | |
__TBB_DEPRECATED bool | remove_predecessor (predecessor_type &) __TBB_override |
Decrements the trigger threshold. More... | |
![]() | |
bool | try_put (const typename internal::async_helpers< continue_msg >::filtered_type &t) |
Put an item to the receiver. More... | |
bool | try_put (const typename internal::async_helpers< continue_msg >::async_type &t) |
![]() | |
virtual | ~untyped_receiver () |
Destructor. More... | |
template<typename X > | |
bool | try_put (const X &t) |
Put an item to the receiver. More... | |
![]() | |
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 bool | try_get (Output &) |
Request an item from the sender. More... | |
virtual bool | try_reserve (Output &) |
Reserves an item in the sender. More... | |
![]() | |
virtual | ~untyped_sender () |
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 |
Does whatever should happen when the threshold is reached. More... | |
graph & | graph_reference () const __TBB_override |
![]() | |
task * | try_put_task (const input_type &) __TBB_override |
bool | is_continue_receiver () __TBB_override |
![]() | |
virtual task * | try_put_task_wrapper (const void *p, bool is_async) __TBB_override |
virtual task * | try_put_task (const continue_msg &t)=0 |
Put item to successor; return task to run the successor if possible. More... | |
![]() | |
template<typename X > | |
task * | try_put_task (const X &t) |
![]() | |
virtual bool | try_get_wrapper (void *p, bool is_async) __TBB_override |
virtual bool | try_reserve_wrapper (void *p, bool is_async) __TBB_override |
![]() | |
template<typename X > | |
bool | try_get (X &t) |
Request an item from the sender. More... | |
template<typename X > | |
bool | try_reserve (X &t) |
Reserves an item in the sender. More... | |
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 an executable node that supports continue_msg -> Output.
Definition at line 1781 of file flow_graph.h.
typedef internal::function_output<output_type> tbb::flow::interface11::continue_node< Output, Policy >::fOutput_type |
Definition at line 1787 of file flow_graph.h.
typedef internal::continue_input<Output, Policy> tbb::flow::interface11::continue_node< Output, Policy >::input_impl_type |
Definition at line 1786 of file flow_graph.h.
typedef continue_msg tbb::flow::interface11::continue_node< Output, Policy >::input_type |
Definition at line 1784 of file flow_graph.h.
typedef Output tbb::flow::interface11::continue_node< Output, Policy >::output_type |
Definition at line 1785 of file flow_graph.h.
typedef input_impl_type::predecessor_type tbb::flow::interface11::continue_node< Output, Policy >::predecessor_type |
Definition at line 1788 of file flow_graph.h.
typedef fOutput_type::successor_type tbb::flow::interface11::continue_node< Output, Policy >::successor_type |
Definition at line 1789 of file flow_graph.h.
|
inline |
Constructor for executable node with continue_msg -> Output.
Definition at line 1793 of file flow_graph.h.
|
inline |
Constructor for executable node with continue_msg -> Output.
Definition at line 1830 of file flow_graph.h.
|
inline |
Copy constructor.
Definition at line 1868 of file flow_graph.h.
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::graph_node.
Definition at line 1896 of file flow_graph.h.
References __TBB_ASSERT, tbb::flow::interface11::internal::successor_cache< T, M >::clear(), internal::successor_cache< T, M >::empty(), tbb::flow::interface11::internal::continue_input< Output, Policy >::reset_receiver(), tbb::flow::interface11::rf_clear_edges, and tbb::flow::interface11::continue_node< Output, Policy >::successors().
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::internal::continue_input< Output, Policy >.
Definition at line 1894 of file flow_graph.h.
References tbb::flow::interface11::internal::function_output< Output >::my_successors.
Referenced by tbb::flow::interface11::continue_node< Output, Policy >::reset_node().
|
friend |
Definition at line 1891 of file flow_graph.h.
|
friend |
Definition at line 1892 of file flow_graph.h.
|
friend |
Definition at line 1890 of file flow_graph.h.