Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Forward declaration section. More...
#include <flow_graph.h>
Public Types | |
typedef T | output_type |
The output type of this sender. More... | |
typedef internal::async_helpers< T >::filtered_type | filtered_type |
![]() | |
typedef untyped_receiver | successor_type |
The successor type for this node. More... | |
Public Member Functions | |
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 | ~untyped_sender () |
virtual bool | register_successor (successor_type &r)=0 |
Add a new successor to this node. More... | |
virtual bool | remove_successor (successor_type &r)=0 |
Removes a successor from this node. More... | |
virtual bool | try_release () |
Releases the reserved item. More... | |
virtual bool | try_consume () |
Consumes the reserved item. More... | |
Protected Member Functions | |
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... | |
Forward declaration section.
Pure virtual template class that defines a sender of messages of type T.
Definition at line 95 of file flow_graph.h.
typedef internal::async_helpers<T>::filtered_type tbb::flow::interface10::sender< T >::filtered_type |
Definition at line 402 of file flow_graph.h.
typedef T tbb::flow::interface10::sender< T >::output_type |
The output type of this sender.
Definition at line 400 of file flow_graph.h.
|
inlinevirtual |
Request an item from the sender.
Reimplemented in tbb::flow::interface10a::overwrite_node< T >, tbb::flow::interface10::buffer_node< T, A >, tbb::flow::interface10::internal::join_node_base< JP, InputTuple, OutputTuple >, internal::join_node_base< JP, InputTuple, OutputTuple >, and tbb::flow::interface10::source_node< Output >.
Definition at line 405 of file flow_graph.h.
|
inlineprotectedvirtual |
Implements tbb::flow::interface10::internal::untyped_sender.
Definition at line 411 of file flow_graph.h.
|
inlinevirtual |
Reserves an item in the sender.
Reimplemented in tbb::flow::interface10a::overwrite_node< T >, tbb::flow::interface10::buffer_node< T, A >, and tbb::flow::interface10::source_node< Output >.
Definition at line 408 of file flow_graph.h.
|
inlineprotectedvirtual |
Implements tbb::flow::interface10::internal::untyped_sender.
Definition at line 421 of file flow_graph.h.