Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
internal::clear_element< N > Struct Template Reference

#include <_flow_graph_node_impl.h>

Collaboration diagram for internal::clear_element< N >:

Static Public Member Functions

template<typename P >
static void clear_this (P &p)
 
template<typename P >
static bool this_empty (P &p)
 

Detailed Description

template<int N>
struct internal::clear_element< N >

Definition at line 525 of file _flow_graph_node_impl.h.

Member Function Documentation

◆ clear_this()

template<int N>
template<typename P >
static void internal::clear_element< N >::clear_this ( P &  p)
inlinestatic

Definition at line 526 of file _flow_graph_node_impl.h.

526  {
527  (void)tbb::flow::get<N-1>(p).successors().clear();
529  }
void const char const char int ITT_FORMAT __itt_group_sync p

References p, and void.

Referenced by internal::multifunction_input< Input, OutputPortSet, Policy, A >::reset().

Here is the caller graph for this function:

◆ this_empty()

template<int N>
template<typename P >
static bool internal::clear_element< N >::this_empty ( P &  p)
inlinestatic

Definition at line 530 of file _flow_graph_node_impl.h.

530  {
531  if(tbb::flow::get<N-1>(p).successors().empty())
533  return false;
534  }
void const char const char int ITT_FORMAT __itt_group_sync p

References p.


The documentation for this struct 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.