Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Implements methods for both executable and function nodes that puts Output to its successors. More...
#include <_flow_graph_node_impl.h>
Public Types | |
typedef Output | output_type |
typedef sender< output_type >::successor_type | successor_type |
typedef broadcast_cache< output_type > | broadcast_cache_type |
Public Member Functions | |
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 Attributes | |
broadcast_cache_type | my_successors |
graph & | my_graph_ref |
Friends | |
template<int N> | |
struct | clear_element |
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... | |
Implements methods for both executable and function nodes that puts Output to its successors.
Definition at line 854 of file _flow_graph_node_impl.h.
typedef broadcast_cache<output_type> internal::function_output< Output >::broadcast_cache_type |
Definition at line 860 of file _flow_graph_node_impl.h.
typedef Output internal::function_output< Output >::output_type |
Definition at line 858 of file _flow_graph_node_impl.h.
typedef sender<output_type>::successor_type internal::function_output< Output >::successor_type |
Definition at line 859 of file _flow_graph_node_impl.h.
|
inline |
Definition at line 866 of file _flow_graph_node_impl.h.
|
inline |
Definition at line 867 of file _flow_graph_node_impl.h.
|
inline |
Definition at line 918 of file _flow_graph_node_impl.h.
|
inline |
Adds a new successor to this node.
Definition at line 872 of file _flow_graph_node_impl.h.
|
inline |
Removes a successor from this node.
Definition at line 878 of file _flow_graph_node_impl.h.
|
inline |
Definition at line 916 of file _flow_graph_node_impl.h.
Referenced by internal::function_output< continue_msg >::register_successor(), internal::function_output< continue_msg >::remove_successor(), and tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::try_put_impl().
|
inline |
Definition at line 912 of file _flow_graph_node_impl.h.
Definition at line 857 of file _flow_graph_node_impl.h.
|
protected |
Definition at line 921 of file _flow_graph_node_impl.h.
Referenced by internal::function_output< continue_msg >::graph_reference().
|
protected |
Definition at line 920 of file _flow_graph_node_impl.h.
Referenced by internal::function_output< continue_msg >::function_output(), internal::multifunction_output< Output >::multifunction_output(), internal::function_output< continue_msg >::successors(), tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::successors(), tbb::flow::interface11::continue_node< Output, Policy >::successors(), internal::function_output< continue_msg >::try_put_task(), and internal::multifunction_output< Output >::try_put_task().