Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
internal::apply_body_task_bypass< NodeType, Input > Class Template Reference

A task that calls a node's apply_body_bypass function, passing in an input of type Input. More...

#include <_flow_graph_body_impl.h>

Inheritance diagram for internal::apply_body_task_bypass< NodeType, Input >:
Collaboration diagram for internal::apply_body_task_bypass< NodeType, Input >:

Public Member Functions

 apply_body_task_bypass (NodeType &n, const Input &i)
 
taskexecute () __TBB_override
 

Private Attributes

NodeType & my_node
 
Input my_input
 

Detailed Description

template<typename NodeType, typename Input>
class internal::apply_body_task_bypass< NodeType, Input >

A task that calls a node's apply_body_bypass function, passing in an input of type Input.

Definition at line 295 of file _flow_graph_body_impl.h.

Constructor & Destructor Documentation

◆ apply_body_task_bypass()

template<typename NodeType , typename Input >
internal::apply_body_task_bypass< NodeType, Input >::apply_body_task_bypass ( NodeType &  n,
const Input &  i 
)
inline

Definition at line 302 of file _flow_graph_body_impl.h.

305  : graph_task(node_priority),
306 #else
307  ) :
308 #endif
309  my_node(n), my_input(i) {}

Member Function Documentation

◆ execute()

template<typename NodeType , typename Input >
task* internal::apply_body_task_bypass< NodeType, Input >::execute ( )
inline

Definition at line 311 of file _flow_graph_body_impl.h.

311  {
312  task * next_task = my_node.apply_body_bypass( my_input );
313  if(next_task == SUCCESSFULLY_ENQUEUED) next_task = NULL;
314  return next_task;
315  }

References internal::apply_body_task_bypass< NodeType, Input >::my_input, internal::apply_body_task_bypass< NodeType, Input >::my_node, tbb::flow::internal::SUCCESSFULLY_ENQUEUED, and task.

Member Data Documentation

◆ my_input

template<typename NodeType , typename Input >
Input internal::apply_body_task_bypass< NodeType, Input >::my_input
private

◆ my_node

template<typename NodeType , typename Input >
NodeType& internal::apply_body_task_bypass< NodeType, Input >::my_node
private

The documentation for this class was generated from the following file:
tbb::flow::internal::SUCCESSFULLY_ENQUEUED
static tbb::task *const SUCCESSFULLY_ENQUEUED
Definition: _flow_graph_impl.h:61
internal::apply_body_task_bypass::my_node
NodeType & my_node
Definition: _flow_graph_body_impl.h:297
task
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task * task
Definition: ittnotify_static.h:119
internal::apply_body_task_bypass::my_input
Input my_input
Definition: _flow_graph_body_impl.h:298

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.