output_port Template Function

Summary

A template function that given a split_node, multifunction_node or composite_node returns a reference to a specific output port.

Syntax

template<size_t N, typename NT>
typename flow::tuple_element<N, typename NT::output_ports_type>::type&
output_port(NT &n);
        

Header

#include "tbb/flow_graph.h"
For more complete information about compiler optimizations, see our Optimization Notice.