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 |
![]() | |
typedef Output | output_type |
The output type of this sender. More... | |
typedef internal::async_helpers< Output >::filtered_type | filtered_type |
![]() | |
typedef untyped_receiver | successor_type |
The successor type for this node. More... | |
Public Member Functions | |
function_output () | |
function_output (const function_output &) | |
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 () |
![]() | |
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 Attributes | |
broadcast_cache_type | my_successors |
Friends | |
template<int N> | |
struct | clear_element |
Additional Inherited Members | |
![]() | |
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... | |
Implements methods for both executable and function nodes that puts Output to its successors.
Definition at line 783 of file _flow_graph_node_impl.h.
typedef broadcast_cache<output_type> internal::function_output< Output >::broadcast_cache_type |
Definition at line 789 of file _flow_graph_node_impl.h.
typedef Output internal::function_output< Output >::output_type |
Definition at line 787 of file _flow_graph_node_impl.h.
typedef sender<output_type>::successor_type internal::function_output< Output >::successor_type |
Definition at line 788 of file _flow_graph_node_impl.h.
|
inline |
Definition at line 795 of file _flow_graph_node_impl.h.
References internal::function_output< Output >::my_successors, and internal::successor_cache< T, M >::set_owner().
|
inline |
Definition at line 796 of file _flow_graph_node_impl.h.
References internal::function_output< Output >::my_successors, and internal::successor_cache< T, M >::set_owner().
|
inlinevirtual |
Adds a new successor to this node.
Implements tbb::flow::interface10::internal::untyped_sender.
Definition at line 801 of file _flow_graph_node_impl.h.
References internal::successor_cache< T, M >::register_successor(), and internal::function_output< Output >::successors().
|
inlinevirtual |
Removes a successor from this node.
Implements tbb::flow::interface10::internal::untyped_sender.
Definition at line 807 of file _flow_graph_node_impl.h.
References internal::successor_cache< T, M >::remove_successor(), and internal::function_output< Output >::successors().
|
inline |
Definition at line 845 of file _flow_graph_node_impl.h.
References internal::function_output< Output >::my_successors.
Referenced by internal::function_output< Output >::register_successor(), and internal::function_output< Output >::remove_successor().
|
inline |
Definition at line 841 of file _flow_graph_node_impl.h.
References internal::function_output< Output >::my_successors, and internal::broadcast_cache< T, M >::try_put_task().
Definition at line 786 of file _flow_graph_node_impl.h.
|
protected |
Definition at line 847 of file _flow_graph_node_impl.h.
Referenced by internal::function_output< Output >::function_output(), internal::multifunction_output< Output >::multifunction_output(), internal::function_output< Output >::successors(), internal::function_output< Output >::try_put_task(), and internal::multifunction_output< Output >::try_put_task().