Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::flow::interface10::join_node< OutputTuple, reserving > Class Template Reference

#include <flow_graph.h>

Inheritance diagram for tbb::flow::interface10::join_node< OutputTuple, reserving >:
Collaboration diagram for tbb::flow::interface10::join_node< OutputTuple, reserving >:

Public Types

typedef OutputTuple output_type
 
typedef unfolded_type::input_ports_type input_ports_type
 
- Public Types inherited from tbb::flow::interface10::internal::unfolded_join_node< tbb::flow::tuple_size< OutputTuple >::value, reserving_port, OutputTuple, reserving >
typedef wrap_tuple_elements< N, reserving_port, OutputTuple >::type input_ports_type
 
typedef OutputTuple output_type
 
- Public Types inherited from tbb::flow::interface10::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::interface10::sender< OutputTuple >
typedef OutputTuple output_type
 The output type of this sender. More...
 
typedef internal::async_helpers< OutputTuple >::filtered_type filtered_type
 
- Public Types inherited from tbb::flow::interface10::internal::untyped_sender
typedef untyped_receiver successor_type
 The successor type for this node. More...
 

Public Member Functions

 join_node (graph &g)
 
 join_node (const join_node &other)
 
- Public Member Functions inherited from tbb::flow::interface10::internal::unfolded_join_node< tbb::flow::tuple_size< OutputTuple >::value, reserving_port, OutputTuple, reserving >
 unfolded_join_node (graph &g)
 
 unfolded_join_node (const unfolded_join_node &other)
 
- Public Member Functions inherited from tbb::flow::interface10::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::interface10::graph_node
 graph_node (graph &g)
 
virtual ~graph_node ()
 
- Public Member Functions inherited from tbb::flow::interface10::sender< OutputTuple >
virtual bool try_reserve (OutputTuple &)
 Reserves an item in the sender. More...
 
- Public Member Functions inherited from tbb::flow::interface10::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 internal::unfolded_join_node< N, reserving_port, OutputTuple, reservingunfolded_type
 

Static Private Attributes

static const int N = tbb::flow::tuple_size<OutputTuple>::value
 

Additional Inherited Members

- Protected Member Functions inherited from tbb::flow::interface10::internal::join_node_base< JP, InputTuple, OutputTuple >
void reset_node (reset_flags f) __TBB_override
 
- Protected Member Functions inherited from tbb::flow::interface10::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::interface10::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::interface10::internal::join_node_base< JP, InputTuple, OutputTuple >
graphmy_graph
 
- Protected Attributes inherited from tbb::flow::interface10::graph_node
graphmy_graph
 
graph_nodenext
 
graph_nodeprev
 

Detailed Description

template<typename OutputTuple>
class tbb::flow::interface10::join_node< OutputTuple, reserving >

Definition at line 2690 of file flow_graph.h.

Member Typedef Documentation

◆ input_ports_type

template<typename OutputTuple >
typedef unfolded_type::input_ports_type tbb::flow::interface10::join_node< OutputTuple, reserving >::input_ports_type

Definition at line 2696 of file flow_graph.h.

◆ output_type

template<typename OutputTuple >
typedef OutputTuple tbb::flow::interface10::join_node< OutputTuple, reserving >::output_type

Definition at line 2695 of file flow_graph.h.

◆ unfolded_type

template<typename OutputTuple >
typedef internal::unfolded_join_node<N, reserving_port, OutputTuple, reserving> tbb::flow::interface10::join_node< OutputTuple, reserving >::unfolded_type
private

Definition at line 2693 of file flow_graph.h.

Constructor & Destructor Documentation

◆ join_node() [1/2]

template<typename OutputTuple >
tbb::flow::interface10::join_node< OutputTuple, reserving >::join_node ( graph g)
inlineexplicit

Definition at line 2697 of file flow_graph.h.

2697  : unfolded_type(g) {
2698  tbb::internal::fgt_multiinput_node<N>( tbb::internal::FLOW_JOIN_NODE_RESERVING, &this->my_graph,
2699  this->input_ports(), static_cast< sender< output_type > *>(this) );
2700  }
internal::unfolded_join_node< N, reserving_port, OutputTuple, reserving > unfolded_type
Definition: flow_graph.h:2693

◆ join_node() [2/2]

template<typename OutputTuple >
tbb::flow::interface10::join_node< OutputTuple, reserving >::join_node ( const join_node< OutputTuple, reserving > &  other)
inline

Definition at line 2701 of file flow_graph.h.

2701  : unfolded_type(other) {
2702  tbb::internal::fgt_multiinput_node<N>( tbb::internal::FLOW_JOIN_NODE_RESERVING, &this->my_graph,
2703  this->input_ports(), static_cast< sender< output_type > *>(this) );
2704  }
internal::unfolded_join_node< N, reserving_port, OutputTuple, reserving > unfolded_type
Definition: flow_graph.h:2693

Member Data Documentation

◆ N

template<typename OutputTuple >
const int tbb::flow::interface10::join_node< OutputTuple, reserving >::N = tbb::flow::tuple_size<OutputTuple>::value
staticprivate

Definition at line 2692 of file flow_graph.h.


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