Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Forward declaration section. More...
#include <flow_graph.h>
Public Member Functions | |
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 (T &) |
Request an item from the sender. More... | |
virtual bool | try_reserve (T &) |
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... | |
Public Attributes | |
__TBB_DEPRECATED typedef T | output_type |
The output type of this sender. More... | |
__TBB_DEPRECATED typedef receiver< T > | successor_type |
The successor type for this node. More... | |
Forward declaration section.
Pure virtual template class that defines a sender of messages of type T.
Definition at line 116 of file flow_graph.h.
|
inlinevirtual |
Definition at line 501 of file flow_graph.h.
|
pure virtual |
Add a new successor to this node.
|
pure virtual |
Removes a successor from this node.
|
inlinevirtual |
Consumes the reserved item.
Reimplemented in tbb::flow::interface11::overwrite_node< T >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::buffer_node< T, __TBB_DEFAULT_NODE_ALLOCATOR(T) >, tbb::flow::interface11::source_node< Output >, and tbb::flow::interface11::input_node< Output >.
Definition at line 521 of file flow_graph.h.
|
inlinevirtual |
Request an item from the sender.
Reimplemented in tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::buffer_node< T, __TBB_DEFAULT_NODE_ALLOCATOR(T) >, tbb::flow::interface11::source_node< Output >, tbb::flow::interface11::input_node< Output >, and tbb::flow::interface11::overwrite_node< T >.
Definition at line 512 of file flow_graph.h.
|
inlinevirtual |
Releases the reserved item.
Reimplemented in tbb::flow::interface11::overwrite_node< T >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::buffer_node< T, __TBB_DEFAULT_NODE_ALLOCATOR(T) >, tbb::flow::interface11::source_node< Output >, and tbb::flow::interface11::input_node< Output >.
Definition at line 518 of file flow_graph.h.
|
inlinevirtual |
Reserves an item in the sender.
Reimplemented in tbb::flow::interface11::overwrite_node< T >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::buffer_node< T, __TBB_DEFAULT_NODE_ALLOCATOR(T) >, tbb::flow::interface11::source_node< Output >, and tbb::flow::interface11::input_node< Output >.
Definition at line 515 of file flow_graph.h.
__TBB_DEPRECATED typedef T tbb::flow::interface11::sender< T >::output_type |
The output type of this sender.
Definition at line 496 of file flow_graph.h.
__TBB_DEPRECATED typedef receiver<T> tbb::flow::interface11::sender< T >::successor_type |
The successor type for this node.
Definition at line 499 of file flow_graph.h.