Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Pure virtual template class that defines a receiver of messages of type T. More...
#include <flow_graph.h>
Public Member Functions | |
bool | try_put (const typename internal::async_helpers< T >::filtered_type &t) |
Put an item to the receiver. More... | |
bool | try_put (const typename internal::async_helpers< T >::async_type &t) |
Public Attributes | |
__TBB_DEPRECATED typedef T | input_type |
The input type of this receiver. More... | |
__TBB_DEPRECATED typedef internal::async_helpers< T >::filtered_type | filtered_type |
Protected Member Functions | |
virtual task * | try_put_task_wrapper (const void *p, bool is_async) __TBB_override |
virtual task * | try_put_task (const T &t)=0 |
Put item to successor; return task to run the successor if possible. More... | |
Friends | |
template<typename > | |
class | internal::async_storage |
template<typename , typename > | |
struct | internal::async_helpers |
Pure virtual template class that defines a receiver of messages of type T.
Definition at line 461 of file flow_graph.h.
|
inline |
Definition at line 475 of file flow_graph.h.
|
inline |
Put an item to the receiver.
Definition at line 471 of file flow_graph.h.
|
protectedpure virtual |
Put item to successor; return task to run the successor if possible.
Implemented in tbb::flow::interface11::split_node< TupleType, Allocator >, tbb::flow::interface11::write_once_node< T >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::buffer_node< T, __TBB_DEFAULT_NODE_ALLOCATOR(T) >, tbb::flow::interface11::broadcast_node< T >, tbb::flow::interface11::overwrite_node< T >, internal::function_input_base< Input, Policy, A, ImplType >, internal::function_input_base< Input, queueing, cache_aligned_allocator< Input >, function_input< Input, continue_msg, queueing, cache_aligned_allocator< Input > > >, internal::function_input_base< Input, Policy, A, function_input< Input, Output, Policy, A > >, internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >, internal::function_input_base< Input, queueing, cache_aligned_allocator< Input >, multifunction_input< Input, internal::wrap_tuple_elements< tbb::flow::tuple_size< Output >::value, internal::multifunction_output, Output >::type, queueing, cache_aligned_allocator< Input > > >, and internal::function_input_base< Input, queueing_lightweight, cache_aligned_allocator< Input >, multifunction_input< Input, internal::wrap_tuple_elements< tbb::flow::tuple_size< tuple< Output > >::value, internal::multifunction_output, tuple< Output > >::type, queueing_lightweight, cache_aligned_allocator< Input > > >.
Referenced by tbb::flow::interface11::internal::async_helpers< Output >::try_put_task_wrapper_impl(), and tbb::flow::interface11::internal::async_helpers< T, typename std::enable_if< std::is_base_of< async_msg< typename T::async_msg_data_type >, T >::value >::type >::try_put_task_wrapper_impl().
|
inlineprotectedvirtual |
Definition at line 480 of file flow_graph.h.
Definition at line 463 of file flow_graph.h.
Definition at line 462 of file flow_graph.h.
__TBB_DEPRECATED typedef internal::async_helpers<T>::filtered_type tbb::flow::interface11::receiver< T >::filtered_type |
Definition at line 468 of file flow_graph.h.
__TBB_DEPRECATED typedef T tbb::flow::interface11::receiver< T >::input_type |
The input type of this receiver.
Definition at line 466 of file flow_graph.h.