Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
internal::join_helper< 1 > Struct Template Reference

#include <_flow_graph_join_impl.h>

Collaboration diagram for internal::join_helper< 1 >:

Static Public Member Functions

template<typename TupleType , typename PortType >
static void set_join_node_pointer (TupleType &my_input, PortType *port)
 
template<typename TupleType >
static void consume_reservations (TupleType &my_input)
 
template<typename TupleType >
static void release_my_reservation (TupleType &my_input)
 
template<typename TupleType >
static void release_reservations (TupleType &my_input)
 
template<typename InputTuple , typename OutputTuple >
static bool reserve (InputTuple &my_input, OutputTuple &out)
 
template<typename InputTuple , typename OutputTuple >
static bool get_my_item (InputTuple &my_input, OutputTuple &out)
 
template<typename InputTuple , typename OutputTuple >
static bool get_items (InputTuple &my_input, OutputTuple &out)
 
template<typename InputTuple >
static void reset_my_port (InputTuple &my_input)
 
template<typename InputTuple >
static void reset_ports (InputTuple &my_input)
 
template<typename InputTuple , typename KeyFuncTuple >
static void set_key_functors (InputTuple &my_input, KeyFuncTuple &my_key_funcs)
 
template<typename KeyFuncTuple >
static void copy_key_functors (KeyFuncTuple &my_inputs, KeyFuncTuple &other_inputs)
 
template<typename InputTuple >
static void reset_inputs (InputTuple &my_input, reset_flags f)
 

Detailed Description

template<>
struct internal::join_helper< 1 >

Definition at line 135 of file _flow_graph_join_impl.h.

Member Function Documentation

◆ consume_reservations()

template<typename TupleType >
static void internal::join_helper< 1 >::consume_reservations ( TupleType &  my_input)
inlinestatic

Definition at line 143 of file _flow_graph_join_impl.h.

143  {
144  tbb::flow::get<0>( my_input ).consume();
145  }

◆ copy_key_functors()

template<typename KeyFuncTuple >
static void internal::join_helper< 1 >::copy_key_functors ( KeyFuncTuple &  my_inputs,
KeyFuncTuple &  other_inputs 
)
inlinestatic

Definition at line 189 of file _flow_graph_join_impl.h.

189  {
190  if(tbb::flow::get<0>(other_inputs).get_my_key_func()) {
191  tbb::flow::get<0>(my_inputs).set_my_key_func(tbb::flow::get<0>(other_inputs).get_my_key_func()->clone());
192  }
193  }

◆ get_items()

template<typename InputTuple , typename OutputTuple >
static bool internal::join_helper< 1 >::get_items ( InputTuple &  my_input,
OutputTuple &  out 
)
inlinestatic

Definition at line 168 of file _flow_graph_join_impl.h.

References internal::join_helper< N >::get_my_item().

168  {
169  return get_my_item(my_input, out);
170  }
static bool get_my_item(InputTuple &my_input, OutputTuple &out)
Here is the call graph for this function:

◆ get_my_item()

template<typename InputTuple , typename OutputTuple >
static bool internal::join_helper< 1 >::get_my_item ( InputTuple &  my_input,
OutputTuple &  out 
)
inlinestatic

Definition at line 163 of file _flow_graph_join_impl.h.

163  {
164  return tbb::flow::get<0>(my_input).get_item(tbb::flow::get<0>(out));
165  }

◆ release_my_reservation()

template<typename TupleType >
static void internal::join_helper< 1 >::release_my_reservation ( TupleType &  my_input)
inlinestatic

Definition at line 148 of file _flow_graph_join_impl.h.

References tbb::release.

148  {
149  tbb::flow::get<0>( my_input ).release();
150  }
Release.
Definition: atomic.h:59

◆ release_reservations()

template<typename TupleType >
static void internal::join_helper< 1 >::release_reservations ( TupleType &  my_input)
inlinestatic

Definition at line 153 of file _flow_graph_join_impl.h.

References internal::join_helper< N >::release_my_reservation().

153  {
154  release_my_reservation(my_input);
155  }
static void release_my_reservation(TupleType &my_input)
Here is the call graph for this function:

◆ reserve()

template<typename InputTuple , typename OutputTuple >
static bool internal::join_helper< 1 >::reserve ( InputTuple &  my_input,
OutputTuple &  out 
)
inlinestatic

Definition at line 158 of file _flow_graph_join_impl.h.

References internal::join_helper< N >::reserve().

158  {
159  return tbb::flow::get<0>( my_input ).reserve( tbb::flow::get<0>( out ) );
160  }
static bool reserve(InputTuple &my_input, OutputTuple &out)
Here is the call graph for this function:

◆ reset_inputs()

template<typename InputTuple >
static void internal::join_helper< 1 >::reset_inputs ( InputTuple &  my_input,
reset_flags  f 
)
inlinestatic

Definition at line 195 of file _flow_graph_join_impl.h.

195  {
196  tbb::flow::get<0>(my_input).reset_receiver(f);
197  }

◆ reset_my_port()

template<typename InputTuple >
static void internal::join_helper< 1 >::reset_my_port ( InputTuple &  my_input)
inlinestatic

Definition at line 173 of file _flow_graph_join_impl.h.

173  {
174  tbb::flow::get<0>(my_input).reset_port();
175  }

◆ reset_ports()

template<typename InputTuple >
static void internal::join_helper< 1 >::reset_ports ( InputTuple &  my_input)
inlinestatic

Definition at line 178 of file _flow_graph_join_impl.h.

References internal::join_helper< N >::reset_my_port().

178  {
179  reset_my_port(my_input);
180  }
static void reset_my_port(InputTuple &my_input)
Here is the call graph for this function:

◆ set_join_node_pointer()

template<typename TupleType , typename PortType >
static void internal::join_helper< 1 >::set_join_node_pointer ( TupleType &  my_input,
PortType *  port 
)
inlinestatic

Definition at line 138 of file _flow_graph_join_impl.h.

References internal::join_helper< N >::set_join_node_pointer().

138  {
139  tbb::flow::get<0>( my_input ).set_join_node_pointer(port);
140  }
static void set_join_node_pointer(TupleType &my_input, PortType *port)
Here is the call graph for this function:

◆ set_key_functors()

template<typename InputTuple , typename KeyFuncTuple >
static void internal::join_helper< 1 >::set_key_functors ( InputTuple &  my_input,
KeyFuncTuple &  my_key_funcs 
)
inlinestatic

Definition at line 183 of file _flow_graph_join_impl.h.

183  {
184  tbb::flow::get<0>(my_input).set_my_key_func(tbb::flow::get<0>(my_key_funcs));
185  tbb::flow::get<0>(my_key_funcs) = NULL;
186  }

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.