Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::flow::interface11::internal::untyped_sender Class Referenceabstract

#include <flow_graph.h>

Inheritance diagram for tbb::flow::interface11::internal::untyped_sender:
Collaboration diagram for tbb::flow::interface11::internal::untyped_sender:

Public Types

typedef untyped_receiver successor_type
 The successor type for this node. More...
 

Public Member Functions

virtual ~untyped_sender ()
 
virtual bool register_successor (successor_type &r)=0
 Add a new successor to this node. More...
 
virtual bool remove_successor (successor_type &r)=0
 Removes a successor from this node. More...
 
virtual bool try_release ()
 Releases the reserved item. More...
 
virtual bool try_consume ()
 Consumes the reserved item. More...
 

Protected Member Functions

template<typename X >
bool try_get (X &t)
 Request an item from the sender. More...
 
template<typename X >
bool try_reserve (X &t)
 Reserves an item in the sender. More...
 
virtual bool try_get_wrapper (void *p, bool is_async)=0
 
virtual bool try_reserve_wrapper (void *p, bool is_async)=0
 

Friends

template<typename , typename >
class internal::predecessor_cache
 
template<typename , typename >
class internal::reservable_predecessor_cache
 

Detailed Description

Definition at line 306 of file flow_graph.h.

Member Typedef Documentation

◆ successor_type

The successor type for this node.

Definition at line 311 of file flow_graph.h.

Constructor & Destructor Documentation

◆ ~untyped_sender()

virtual tbb::flow::interface11::internal::untyped_sender::~untyped_sender ( )
inlinevirtual

Definition at line 313 of file flow_graph.h.

313 {}

Member Function Documentation

◆ register_successor()

◆ remove_successor()

◆ try_consume()

virtual bool tbb::flow::interface11::internal::untyped_sender::try_consume ( )
inlinevirtual

◆ try_get()

template<typename X >
bool tbb::flow::interface11::internal::untyped_sender::try_get ( X &  t)
inlineprotected

Request an item from the sender.

Definition at line 344 of file flow_graph.h.

◆ try_get_wrapper()

virtual bool tbb::flow::interface11::internal::untyped_sender::try_get_wrapper ( void p,
bool  is_async 
)
protectedpure virtual

◆ try_release()

virtual bool tbb::flow::interface11::internal::untyped_sender::try_release ( )
inlinevirtual

◆ try_reserve()

template<typename X >
bool tbb::flow::interface11::internal::untyped_sender::try_reserve ( X &  t)
inlineprotected

Reserves an item in the sender.

Definition at line 350 of file flow_graph.h.

◆ try_reserve_wrapper()

virtual bool tbb::flow::interface11::internal::untyped_sender::try_reserve_wrapper ( void p,
bool  is_async 
)
protectedpure virtual

Friends And Related Function Documentation

◆ internal::predecessor_cache

template<typename , typename >
friend class internal::predecessor_cache
friend

Definition at line 307 of file flow_graph.h.

◆ internal::reservable_predecessor_cache

template<typename , typename >
friend class internal::reservable_predecessor_cache
friend

Definition at line 308 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.