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 untyped_receiver | successor_type |
The successor type for this node. More... | |
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 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 |
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 internal::async_helpers< Output >::filtered_type | filtered_type |
![]() | |
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 854 of file flow_graph.h.
typedef broadcast_cache<output_type> tbb::flow::interface11::internal::function_output< Output >::broadcast_cache_type |
Definition at line 860 of file flow_graph.h.
typedef Output tbb::flow::interface11::internal::function_output< Output >::output_type |
Definition at line 858 of file flow_graph.h.
typedef sender<output_type>::successor_type tbb::flow::interface11::internal::function_output< Output >::successor_type |
Definition at line 859 of file flow_graph.h.
|
inline |
Definition at line 866 of file flow_graph.h.
|
inline |
Definition at line 867 of file flow_graph.h.
|
inline |
Definition at line 918 of file flow_graph.h.
|
inlinevirtual |
Adds a new successor to this node.
Implements tbb::flow::interface11::internal::untyped_sender.
Definition at line 872 of file flow_graph.h.
|
inlinevirtual |
Removes a successor from this node.
Implements tbb::flow::interface11::internal::untyped_sender.
Definition at line 878 of file flow_graph.h.
|
inline |
Definition at line 916 of file flow_graph.h.
Referenced by tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::try_put_impl().
|
inline |
Definition at line 912 of file flow_graph.h.
Definition at line 857 of file flow_graph.h.
|
protected |
Definition at line 921 of file flow_graph.h.
|
protected |
Definition at line 920 of file flow_graph.h.
Referenced by tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::successors(), and tbb::flow::interface11::continue_node< Output, Policy >::successors().