Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::flow::interface11::sender< T > Class Template Referenceabstract

Forward declaration section. More...

#include <flow_graph.h>

Inheritance diagram for tbb::flow::interface11::sender< T >:
Collaboration diagram for tbb::flow::interface11::sender< T >:

Public Member Functions

virtual ~sender ()
 
virtual __TBB_DEPRECATED bool register_successor (successor_type &r)=0
 Add a new successor to this node. More...
 
virtual __TBB_DEPRECATED bool remove_successor (successor_type &r)=0
 Removes a successor from this node. More...
 
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 bool try_release ()
 Releases the reserved item. More...
 
virtual bool try_consume ()
 Consumes the reserved item. More...
 

Public Attributes

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

Detailed Description

template<typename T>
class tbb::flow::interface11::sender< T >

Forward declaration section.

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

Definition at line 116 of file flow_graph.h.

Constructor & Destructor Documentation

◆ ~sender()

template<typename T >
virtual tbb::flow::interface11::sender< T >::~sender ( )
inlinevirtual

Definition at line 501 of file flow_graph.h.

501 {}

Member Function Documentation

◆ register_successor()

template<typename T >
virtual __TBB_DEPRECATED bool tbb::flow::interface11::sender< T >::register_successor ( successor_type r)
pure virtual

Add a new successor to this node.

◆ remove_successor()

template<typename T >
virtual __TBB_DEPRECATED bool tbb::flow::interface11::sender< T >::remove_successor ( successor_type r)
pure virtual

Removes a successor from this node.

◆ try_consume()

◆ try_get()

◆ try_release()

◆ try_reserve()

Member Data Documentation

◆ output_type

template<typename T >
__TBB_DEPRECATED typedef T tbb::flow::interface11::sender< T >::output_type

The output type of this sender.

Definition at line 496 of file flow_graph.h.

◆ successor_type

template<typename T >
__TBB_DEPRECATED typedef receiver<T> tbb::flow::interface11::sender< T >::successor_type

The successor type for this node.

Definition at line 499 of file flow_graph.h.


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

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