- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# tbb::receiver< T > Class Template Reference

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

`#include <graph.h>`

Inheritance diagram for tbb::receiver< T >:

List of all members.

## Public Types
typedef T | input_type
| The input type of this receiver.
typedef sender< T > | predecessor_type
| The predecessor type for this node.
## Public Member Functions
virtual | ~receiver ()
| Destructor.
virtual bool | try_put (T t)=0
| Put an item to the receiver.
virtual bool | register_predecessor (predecessor_type &)
| Add a predecessor to the node.
virtual bool | remove_predecessor (predecessor_type &)
| Remove a predecessor from the node.

## Detailed Description

### template<typename T>
class tbb::receiver< T >

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

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

- graph.h

Copyright © 2005-2011 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.