tbb::flow::interface9::sender< T > Class Template Referenceabstract

Pure virtual template class that defines a sender of messages of type T. More...

`#include <flow_graph.h>`

Inheritance diagram for tbb::flow::interface9::sender< T >:

## Public Types

typedef T | output_type
| The output type of this sender.
typedef internal::async_helpers< T > ::filtered_type | filtered_type
typedef T | output_type
| The output type of this sender.
typedef receiver< T > | successor_type
| The successor type for this node.
typedef internal::edge_container < successor_type > | built_successors_type
| interface to record edges for traversal & deletion
typedef built_successors_type::edge_list_type | successor_list_type
Public Types inherited from tbb::flow::interface9::internal::untyped_sender
typedef untyped_receiver | successor_type
| The successor type for this node.
typedef internal::edge_container < successor_type > | built_successors_type
| interface to record edges for traversal & deletion
typedef built_successors_type::edge_list_type | successor_list_type

## Public Member Functions

virtual bool | try_get (T &)
| Request an item from the sender.
virtual bool | try_reserve (T &)
| Reserves an item in the sender.
virtual bool | register_successor (successor_type &r)=0
| Add a new successor to this node.
virtual bool | remove_successor (successor_type &r)=0
| Removes a successor from this node.
virtual bool | try_get (T &)
| Request an item from the sender.
virtual bool | try_reserve (T &)
| Reserves an item in the sender.
virtual bool | try_release ()
| Releases the reserved item.
virtual bool | try_consume ()
| Consumes the reserved item.
virtual built_successors_type & | built_successors ()=0
virtual void | internal_add_built_successor (successor_type &)=0
virtual void | internal_delete_built_successor (successor_type &)=0
virtual void | copy_successors (successor_list_type &)=0
virtual size_t | successor_count ()=0

## 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
Protected Member Functions inherited from tbb::flow::interface9::internal::untyped_sender
template<typename X >
bool | try_get (X &t)
| Request an item from the sender.
template<typename X >
bool | try_reserve (X &t)
| Reserves an item in the sender.

## Detailed Description

### template<typename T>
class tbb::flow::interface9::sender< T >

Pure virtual template class that defines a sender of messages of type T.

The documentation for this class was generated from the following file:

- flow_graph.h

Copyright © 2005-2017 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.