Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
internal::source_body_leaf< Output, Body > Class Template Reference

The leaf for source_body. More...

#include <_flow_graph_body_impl.h>

Inheritance diagram for internal::source_body_leaf< Output, Body >:
Collaboration diagram for internal::source_body_leaf< Output, Body >:

Public Member Functions

 source_body_leaf (const Body &_body)
 
bool operator() (Output &output) __TBB_override
 
source_body_leafclone () __TBB_override
 
Body get_body ()
 
- Public Member Functions inherited from internal::source_body< Output >
virtual ~source_body ()
 

Private Attributes

Body body
 

Detailed Description

template<typename Output, typename Body>
class internal::source_body_leaf< Output, Body >

The leaf for source_body.

Definition at line 105 of file _flow_graph_body_impl.h.

Constructor & Destructor Documentation

◆ source_body_leaf()

template<typename Output , typename Body >
internal::source_body_leaf< Output, Body >::source_body_leaf ( const Body &  _body)
inline

Definition at line 107 of file _flow_graph_body_impl.h.

107 : body(_body) { }

Member Function Documentation

◆ clone()

template<typename Output , typename Body >
source_body_leaf* internal::source_body_leaf< Output, Body >::clone ( )
inlinevirtual

Implements internal::source_body< Output >.

Definition at line 109 of file _flow_graph_body_impl.h.

109  {
110  return new source_body_leaf< Output, Body >(body);
111  }

References internal::source_body_leaf< Output, Body >::body.

◆ get_body()

template<typename Output , typename Body >
Body internal::source_body_leaf< Output, Body >::get_body ( )
inline

Definition at line 112 of file _flow_graph_body_impl.h.

112 { return body; }

References internal::source_body_leaf< Output, Body >::body.

◆ operator()()

template<typename Output , typename Body >
bool internal::source_body_leaf< Output, Body >::operator() ( Output &  output)
inlinevirtual

Implements internal::source_body< Output >.

Definition at line 108 of file _flow_graph_body_impl.h.

108 { return body( output ); }

References internal::source_body_leaf< Output, Body >::body.

Member Data Documentation

◆ body


The documentation for this class was generated from the following file:
internal::source_body_leaf::body
Body body
Definition: _flow_graph_body_impl.h:114

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.