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 139 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 147 of file _flow_graph_join_impl.h.

147  {
148  tbb::flow::get<0>( my_input ).consume();
149  }

◆ 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 193 of file _flow_graph_join_impl.h.

193  {
194  if(tbb::flow::get<0>(other_inputs).get_my_key_func()) {
195  tbb::flow::get<0>(my_inputs).set_my_key_func(tbb::flow::get<0>(other_inputs).get_my_key_func()->clone());
196  }
197  }

◆ get_items()

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

Definition at line 172 of file _flow_graph_join_impl.h.

172  {
173  return get_my_item(my_input, out);
174  }
static bool get_my_item(InputTuple &my_input, OutputTuple &out)

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

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 167 of file _flow_graph_join_impl.h.

167  {
168  return tbb::flow::get<0>(my_input).get_item(tbb::flow::get<0>(out));
169  }

◆ release_my_reservation()

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

Definition at line 152 of file _flow_graph_join_impl.h.

152  {
153  tbb::flow::get<0>( my_input ).release();
154  }

◆ release_reservations()

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

Definition at line 157 of file _flow_graph_join_impl.h.

157  {
158  release_my_reservation(my_input);
159  }
static void release_my_reservation(TupleType &my_input)

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

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 162 of file _flow_graph_join_impl.h.

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

◆ reset_inputs()

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

Definition at line 199 of file _flow_graph_join_impl.h.

199  {
200  tbb::flow::get<0>(my_input).reset_receiver(f);
201  }

◆ reset_my_port()

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

Definition at line 177 of file _flow_graph_join_impl.h.

177  {
178  tbb::flow::get<0>(my_input).reset_port();
179  }

◆ reset_ports()

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

Definition at line 182 of file _flow_graph_join_impl.h.

182  {
183  reset_my_port(my_input);
184  }
static void reset_my_port(InputTuple &my_input)

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

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 142 of file _flow_graph_join_impl.h.

142  {
143  tbb::flow::get<0>( my_input ).set_join_node_pointer(port);
144  }

◆ 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 187 of file _flow_graph_join_impl.h.

187  {
188  tbb::flow::get<0>(my_input).set_my_key_func(tbb::flow::get<0>(my_key_funcs));
189  tbb::flow::get<0>(my_key_funcs) = NULL;
190  }

The documentation for this struct was generated from the following file:

Copyright © 2005-2019 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.