Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
internal::multifunction_body_leaf< Input, OutputSet, B > Class Template Reference

leaf for multifunction. OutputSet can be a std::tuple or a vector. More...

#include <_flow_graph_body_impl.h>

Inheritance diagram for internal::multifunction_body_leaf< Input, OutputSet, B >:
Collaboration diagram for internal::multifunction_body_leaf< Input, OutputSet, B >:

Public Member Functions

 multifunction_body_leaf (const B &_body)
 
void operator() (const Input &input, OutputSet &oset) __TBB_override
 
voidget_body_ptr () __TBB_override
 
multifunction_body_leafclone () __TBB_override
 
- Public Member Functions inherited from internal::multifunction_body< Input, OutputSet >
virtual ~multifunction_body ()
 

Private Attributes

body
 

Detailed Description

template<typename Input, typename OutputSet, typename B>
class internal::multifunction_body_leaf< Input, OutputSet, B >

leaf for multifunction. OutputSet can be a std::tuple or a vector.

Definition at line 260 of file _flow_graph_body_impl.h.

Constructor & Destructor Documentation

◆ multifunction_body_leaf()

template<typename Input , typename OutputSet , typename B >
internal::multifunction_body_leaf< Input, OutputSet, B >::multifunction_body_leaf ( const B &  _body)
inline

Definition at line 262 of file _flow_graph_body_impl.h.

Member Function Documentation

◆ clone()

template<typename Input , typename OutputSet , typename B >
multifunction_body_leaf* internal::multifunction_body_leaf< Input, OutputSet, B >::clone ( )
inlinevirtual

Implements internal::multifunction_body< Input, OutputSet >.

Definition at line 267 of file _flow_graph_body_impl.h.

267  {
268  return new multifunction_body_leaf<Input, OutputSet,B>(body);
269  }

References internal::multifunction_body_leaf< Input, OutputSet, B >::body.

◆ get_body_ptr()

template<typename Input , typename OutputSet , typename B >
void* internal::multifunction_body_leaf< Input, OutputSet, B >::get_body_ptr ( )
inlinevirtual

◆ operator()()

template<typename Input , typename OutputSet , typename B >
void internal::multifunction_body_leaf< Input, OutputSet, B >::operator() ( const Input &  input,
OutputSet &  oset 
)
inlinevirtual

Implements internal::multifunction_body< Input, OutputSet >.

Definition at line 263 of file _flow_graph_body_impl.h.

263  {
264  body(input, oset); // body may explicitly put() to one or more of oset.
265  }

References internal::multifunction_body_leaf< Input, OutputSet, B >::body.

Member Data Documentation

◆ body


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.