Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > > Class Template Reference

#include <flow_graph.h>

Inheritance diagram for tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >:
Collaboration diagram for tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >:

Public Types

typedef wrap_key_tuple_elements< 2, key_matching_port, key_matching< K, KHash >, OutputTuple >::type input_ports_type
 
typedef OutputTuple output_type
 
- Public Types inherited from tbb::flow::interface11::internal::join_node_base< JP, InputTuple, OutputTuple >
typedef OutputTuple output_type
 
typedef sender< output_type >::successor_type successor_type
 
typedef join_node_FE< JP, InputTuple, OutputTuple > input_ports_type
 
- Public Types inherited from tbb::flow::interface11::internal::untyped_sender
typedef untyped_receiver successor_type
 The successor type for this node. More...
 

Public Member Functions

 unfolded_join_node (graph &g)
 
template<typename Body0 , typename Body1 >
 unfolded_join_node (graph &g, Body0 body0, Body1 body1)
 
 unfolded_join_node (const unfolded_join_node &other)
 
- Public Member Functions inherited from tbb::flow::interface11::internal::join_node_base< JP, InputTuple, OutputTuple >
 join_node_base (graph &g)
 
 join_node_base (const join_node_base &other)
 
template<typename FunctionTuple >
 join_node_base (graph &g, FunctionTuple f)
 
bool register_successor (successor_type &r) __TBB_override
 Add a new successor to this node. More...
 
bool remove_successor (successor_type &r) __TBB_override
 Removes a successor from this node. More...
 
bool try_get (output_type &v) __TBB_override
 Request an item from the sender. More...
 
- Public Member Functions inherited from tbb::flow::interface11::graph_node
 graph_node (graph &g)
 
virtual ~graph_node ()
 
- Public Member Functions inherited from tbb::flow::interface11::sender< OutputTuple >
virtual bool try_reserve (OutputTuple &)
 Reserves an item in the sender. More...
 
- Public Member Functions inherited from tbb::flow::interface11::internal::untyped_sender
virtual ~untyped_sender ()
 
virtual bool try_release ()
 Releases the reserved item. More...
 
virtual bool try_consume ()
 Consumes the reserved item. More...
 

Private Types

typedef tbb::flow::tuple_element< 0, OutputTuple >::type T0
 
typedef tbb::flow::tuple_element< 1, OutputTuple >::type T1
 
typedef join_node_base< key_matching< K, KHash >, input_ports_type, output_typebase_type
 
typedef internal::type_to_key_function_body< T0, K > * f0_p
 
typedef internal::type_to_key_function_body< T1, K > * f1_p
 
typedef tbb::flow::tuple< f0_p, f1_pfunc_initializer_type
 

Additional Inherited Members

- Public Attributes inherited from tbb::flow::interface11::sender< OutputTuple >
__TBB_DEPRECATED typedef OutputTuple output_type
 The output type of this sender. More...
 
__TBB_DEPRECATED typedef internal::async_helpers< OutputTuple >::filtered_type filtered_type
 
- Protected Member Functions inherited from tbb::flow::interface11::internal::join_node_base< JP, InputTuple, OutputTuple >
void reset_node (reset_flags f) __TBB_override
 
- Protected Member Functions inherited from tbb::flow::interface11::sender< OutputTuple >
virtual bool try_get_wrapper (void *p, bool is_async) __TBB_override
 
virtual bool try_reserve_wrapper (void *p, bool is_async) __TBB_override
 
- Protected Member Functions inherited from tbb::flow::interface11::internal::untyped_sender
template<typename X >
bool try_get (X &t)
 Request an item from the sender. More...
 
template<typename X >
bool try_reserve (X &t)
 Reserves an item in the sender. More...
 
- Protected Attributes inherited from tbb::flow::interface11::internal::join_node_base< JP, InputTuple, OutputTuple >
graphmy_graph
 
- Protected Attributes inherited from tbb::flow::interface11::graph_node
graphmy_graph
 
graph_nodenext
 
graph_nodeprev
 

Detailed Description

template<typename OutputTuple, typename K, typename KHash>
class tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >

Definition at line 1540 of file flow_graph.h.

Member Typedef Documentation

◆ base_type

template<typename OutputTuple , typename K , typename KHash >
typedef join_node_base<key_matching<K,KHash>, input_ports_type, output_type > tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >::base_type
private

Definition at line 1548 of file flow_graph.h.

◆ f0_p

template<typename OutputTuple , typename K , typename KHash >
typedef internal::type_to_key_function_body<T0, K>* tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >::f0_p
private

Definition at line 1549 of file flow_graph.h.

◆ f1_p

template<typename OutputTuple , typename K , typename KHash >
typedef internal::type_to_key_function_body<T1, K>* tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >::f1_p
private

Definition at line 1550 of file flow_graph.h.

◆ func_initializer_type

template<typename OutputTuple , typename K , typename KHash >
typedef tbb::flow::tuple< f0_p, f1_p > tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >::func_initializer_type
private

Definition at line 1551 of file flow_graph.h.

◆ input_ports_type

template<typename OutputTuple , typename K , typename KHash >
typedef wrap_key_tuple_elements<2,key_matching_port,key_matching<K,KHash>,OutputTuple>::type tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >::input_ports_type

Definition at line 1545 of file flow_graph.h.

◆ output_type

template<typename OutputTuple , typename K , typename KHash >
typedef OutputTuple tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >::output_type

Definition at line 1546 of file flow_graph.h.

◆ T0

template<typename OutputTuple , typename K , typename KHash >
typedef tbb::flow::tuple_element<0, OutputTuple>::type tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >::T0
private

Definition at line 1542 of file flow_graph.h.

◆ T1

template<typename OutputTuple , typename K , typename KHash >
typedef tbb::flow::tuple_element<1, OutputTuple>::type tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >::T1
private

Definition at line 1543 of file flow_graph.h.

Constructor & Destructor Documentation

◆ unfolded_join_node() [1/3]

template<typename OutputTuple , typename K , typename KHash >
tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >::unfolded_join_node ( graph g)
inline

Definition at line 1554 of file flow_graph.h.

1557  { return fOutput_type::my_successors; }
1558 
void reset_node(reset_flags f) __TBB_override
Definition: flow_graph.h:1469
#define __TBB_override
Definition: tbb_stddef.h:240

◆ unfolded_join_node() [2/3]

template<typename OutputTuple , typename K , typename KHash >
template<typename Body0 , typename Body1 >
tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >::unfolded_join_node ( graph g,
Body0  body0,
Body1  body1 
)
inline

Definition at line 1562 of file flow_graph.h.

1562  {
1563  successors().clear();
1564  my_predecessors.clear();
1565  }
1566  __TBB_ASSERT(!(f & rf_clear_edges) || successors().empty(), "function_node successors not empty");
1567  __TBB_ASSERT(this->my_predecessors.empty(), "function_node predecessors not empty");
1568  }
#define __TBB_ASSERT(predicate, comment)
No-op version of __TBB_ASSERT.
Definition: tbb_stddef.h:165

References internal::node_cache< T, M >::clear(), tbb::flow::interface11::internal::successor_cache< T, M >::clear(), tbb::flow::interface11::internal::function_input_base< Input, Policy, cache_aligned_allocator< Input >, function_input< Input, Output, Policy, cache_aligned_allocator< Input > > >::my_predecessors, and tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >::successors().

Here is the call graph for this function:

◆ unfolded_join_node() [3/3]

template<typename OutputTuple , typename K , typename KHash >
tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >::unfolded_join_node ( const unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > > &  other)
inline

Definition at line 1569 of file flow_graph.h.

1576 :
1577  public graph_node,

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