Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::flow::interface11::internal::multifunction_output< Output > Class Template Reference

#include <flow_graph.h>

Inheritance diagram for tbb::flow::interface11::internal::multifunction_output< Output >:
Collaboration diagram for tbb::flow::interface11::internal::multifunction_output< Output >:

Public Types

typedef Output output_type
 
typedef function_output< output_typebase_type
 
- Public Types inherited from tbb::flow::interface11::internal::function_output< Output >
typedef Output output_type
 
typedef sender< output_type >::successor_type successor_type
 
typedef broadcast_cache< output_typebroadcast_cache_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

 multifunction_output (graph &g)
 
 multifunction_output (const multifunction_output &other)
 
bool try_put (const output_type &i)
 
graphgraph_reference () const
 
- Public Member Functions inherited from tbb::flow::interface11::internal::function_output< Output >
 function_output (graph &g)
 
 function_output (const function_output &other)
 
bool register_successor (successor_type &r) __TBB_override
 Adds a new successor to this node. More...
 
bool remove_successor (successor_type &r) __TBB_override
 Removes a successor from this node. More...
 
tasktry_put_task (const output_type &i)
 
broadcast_cache_typesuccessors ()
 
graphgraph_reference () const
 
- Public Member Functions inherited from tbb::flow::interface11::sender< Output >
virtual bool try_get (Output &)
 Request an item from the sender. More...
 
virtual bool try_reserve (Output &)
 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...
 

Public Attributes

broadcast_cache_type my_successors
 
- Public Attributes inherited from tbb::flow::interface11::sender< Output >
__TBB_DEPRECATED typedef Output output_type
 The output type of this sender. More...
 
__TBB_DEPRECATED typedef internal::async_helpers< Output >::filtered_type filtered_type
 

Protected Member Functions

tasktry_put_task (const output_type &i)
 
- Protected Member Functions inherited from tbb::flow::interface11::sender< Output >
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...
 

Friends

template<int N>
struct emit_element
 

Additional Inherited Members

- Protected Attributes inherited from tbb::flow::interface11::internal::function_output< Output >
broadcast_cache_type my_successors
 
graphmy_graph_ref
 

Detailed Description

template<typename Output>
class tbb::flow::interface11::internal::multifunction_output< Output >

Definition at line 925 of file flow_graph.h.

Member Typedef Documentation

◆ base_type

Definition at line 928 of file flow_graph.h.

◆ output_type

template<typename Output>
typedef Output tbb::flow::interface11::internal::multifunction_output< Output >::output_type

Definition at line 927 of file flow_graph.h.

Constructor & Destructor Documentation

◆ multifunction_output() [1/2]

template<typename Output>
tbb::flow::interface11::internal::multifunction_output< Output >::multifunction_output ( graph g)
inline

Definition at line 931 of file flow_graph.h.

◆ multifunction_output() [2/2]

template<typename Output>
tbb::flow::interface11::internal::multifunction_output< Output >::multifunction_output ( const multifunction_output< Output > &  other)
inline

Definition at line 932 of file flow_graph.h.

Member Function Documentation

◆ graph_reference()

template<typename Output>
graph& tbb::flow::interface11::internal::function_output< Output >::graph_reference
inline

Definition at line 918 of file flow_graph.h.

923 : graph_node(g), my_active(false),

◆ try_put()

template<typename Output>
bool tbb::flow::interface11::internal::multifunction_output< Output >::try_put ( const output_type i)
inline

Definition at line 934 of file flow_graph.h.

936  : input_node(successors.graph_reference(), body) {
937  make_edges(*this, successors);
938  }
939 #endif
940 

Referenced by tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::try_put_functor::operator()().

Here is the caller graph for this function:

◆ try_put_task()

template<typename Output>
task* tbb::flow::interface11::internal::multifunction_output< Output >::try_put_task ( const output_type i)
inlineprotected

Definition at line 947 of file flow_graph.h.

947  {
948  my_successors.set_owner(this);
949  tbb::internal::fgt_node_with_body(CODEPTR(), tbb::internal::FLOW_SOURCE_NODE, &this->my_graph,
#define CODEPTR()
static void fgt_node_with_body(void *, string_index, void *, void *, void *)

Friends And Related Function Documentation

◆ emit_element

template<typename Output>
template<int N>
friend struct emit_element
friend

Definition at line 951 of file flow_graph.h.

Member Data Documentation

◆ my_successors

template<typename Output>
broadcast_cache_type tbb::flow::interface11::internal::function_output< Output >::my_successors

Definition at line 920 of file flow_graph.h.


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.