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.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 779 of file flow_graph.h.
typedef broadcast_cache<output_type> tbb::flow::interface10::internal::function_output< Output >::broadcast_cache_type |
Definition at line 785 of file flow_graph.h.
typedef Output tbb::flow::interface10::internal::function_output< Output >::output_type |
Definition at line 783 of file flow_graph.h.
typedef sender<output_type>::successor_type tbb::flow::interface10::internal::function_output< Output >::successor_type |
Definition at line 784 of file flow_graph.h.
|
inline |
Definition at line 791 of file flow_graph.h.
|
inline |
Definition at line 792 of file flow_graph.h.
|
inlinevirtual |
Adds a new successor to this node.
Implements tbb::flow::interface10::internal::untyped_sender.
Definition at line 797 of file flow_graph.h.
|
inlinevirtual |
Removes a successor from this node.
Implements tbb::flow::interface10::internal::untyped_sender.
Definition at line 803 of file flow_graph.h.
|
inline |
Definition at line 841 of file flow_graph.h.
Referenced by tbb::flow::interface10::async_node< Input, Output, Policy, Allocator >::try_put_impl().
|
inline |
Definition at line 837 of file flow_graph.h.
Definition at line 782 of file flow_graph.h.
|
protected |
Definition at line 843 of file flow_graph.h.