Public Types | Public Member Functions | List of all members
tbb::flow::interface7::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::interface7::sender< T >:
tbb::flow::interface7::broadcast_node< T > tbb::flow::interface7::buffer_node< T, A > tbb::flow::interface7::limiter_node< T > tbb::flow::interface7::overwrite_node< T > tbb::flow::interface7::priority_queue_node< T, Compare, A > tbb::flow::interface7::queue_node< T, A > tbb::flow::interface7::write_once_node< T > tbb::flow::interface7::sequencer_node< T, A >

Public Types

typedef T output_type
 The output type of this sender.
 
typedef receiver< T > successor_type
 The successor type for this node.
 

Public Member Functions

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.
 

Detailed Description

template<typename T>
class tbb::flow::interface7::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:

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