Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::flow::interface11::async_msg< T > Class Template Reference

#include <flow_graph.h>

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

Public Types

typedef T async_msg_data_type
 

Public Member Functions

 async_msg ()
 
 async_msg (const T &t)
 
 async_msg (T &&t)
 
virtual ~async_msg ()
 
void set (const T &t)
 
void set (T &&t)
 

Protected Member Functions

virtual void finalize () const
 

Private Types

typedef std::shared_ptr< internal::async_storage< T > > async_storage_ptr
 

Private Attributes

async_storage_ptr my_storage
 

Friends

template<typename >
class receiver
 
template<typename , typename >
struct internal::async_helpers
 

Detailed Description

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

Definition at line 122 of file flow_graph.h.

Member Typedef Documentation

◆ async_msg_data_type

template<typename T>
typedef T tbb::flow::interface11::async_msg< T >::async_msg_data_type

Definition at line 126 of file flow_graph.h.

◆ async_storage_ptr

template<typename T>
typedef std::shared_ptr< internal::async_storage<T> > tbb::flow::interface11::async_msg< T >::async_storage_ptr
private

Definition at line 150 of file flow_graph.h.

Constructor & Destructor Documentation

◆ async_msg() [1/3]

template<typename T>
tbb::flow::interface11::async_msg< T >::async_msg ( )
inline

Definition at line 128 of file flow_graph.h.

134 {

◆ async_msg() [2/3]

template<typename T>
tbb::flow::interface11::async_msg< T >::async_msg ( const T &  t)
inline

Definition at line 130 of file flow_graph.h.

134 {

◆ async_msg() [3/3]

template<typename T>
tbb::flow::interface11::async_msg< T >::async_msg ( T &&  t)
inline

Definition at line 132 of file flow_graph.h.

134 {

◆ ~async_msg()

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

Definition at line 134 of file flow_graph.h.

134 {

Member Function Documentation

◆ finalize()

template<typename T>
virtual void tbb::flow::interface11::async_msg< T >::finalize ( ) const
inlineprotectedvirtual

Reimplemented in tbb::flow::interface11::opencl_async_msg< T, Factory >.

Definition at line 147 of file flow_graph.h.

147 :
148  typedef std::list<C *, tbb::tbb_allocator<C *> > edge_list_type;

◆ set() [1/2]

template<typename T>
void tbb::flow::interface11::async_msg< T >::set ( const T &  t)
inline

Definition at line 136 of file flow_graph.h.

145  {

Referenced by tbb::flow::interface11::opencl_async_msg< T, Factory >::finalize().

Here is the caller graph for this function:

◆ set() [2/2]

template<typename T>
void tbb::flow::interface11::async_msg< T >::set ( T &&  t)
inline

Definition at line 140 of file flow_graph.h.

145  {

Friends And Related Function Documentation

◆ internal::async_helpers

template<typename T>
template<typename , typename >
friend struct internal::async_helpers
friend

Definition at line 124 of file flow_graph.h.

◆ receiver

template<typename T>
template<typename >
friend class receiver
friend

Definition at line 123 of file flow_graph.h.

Member Data Documentation

◆ my_storage

template<typename T>
async_storage_ptr tbb::flow::interface11::async_msg< T >::my_storage
private

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