Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::flow::interface10::internal::indexer_input_port< T > Class Template Reference

#include <flow_graph.h>

Inheritance diagram for tbb::flow::interface10::internal::indexer_input_port< T >:
Collaboration diagram for tbb::flow::interface10::internal::indexer_input_port< T >:

Public Member Functions

void set_up (void *p, forward_function_ptr f, graph &g)
 
void reset_receiver (reset_flags) __TBB_override
 put receiver back in initial state More...
 
- Public Member Functions inherited from tbb::flow::interface10::receiver< T >
bool try_put (const typename internal::async_helpers< T >::filtered_type &t)
 Put an item to the receiver. More...
 
bool try_put (const typename internal::async_helpers< T >::async_type &t)
 
- Public Member Functions inherited from tbb::flow::interface10::internal::untyped_receiver
virtual ~untyped_receiver ()
 Destructor. More...
 
template<typename X >
bool try_put (const X &t)
 Put an item to the receiver. More...
 
virtual bool register_predecessor (predecessor_type &)
 Add a predecessor to the node. More...
 
virtual bool remove_predecessor (predecessor_type &)
 Remove a predecessor from the node. More...
 

Protected Member Functions

tasktry_put_task (const T &v) __TBB_override
 Put item to successor; return task to run the successor if possible. More...
 
graphgraph_reference () __TBB_override
 
- Protected Member Functions inherited from tbb::flow::interface10::receiver< T >
virtual tasktry_put_task_wrapper (const void *p, bool is_async) __TBB_override
 
- Protected Member Functions inherited from tbb::flow::interface10::internal::untyped_receiver
template<typename X >
tasktry_put_task (const X &t)
 
virtual bool is_continue_receiver ()
 

Private Types

typedef task *(* forward_function_ptr) (T const &, void *)
 

Private Attributes

voidmy_indexer_ptr
 
forward_function_ptr my_try_put_task
 
graphmy_graph
 

Friends

template<typename R , typename B >
class run_and_put_task
 
template<typename X , typename Y >
class internal::broadcast_cache
 
template<typename X , typename Y >
class internal::round_robin_cache
 

Additional Inherited Members

- Public Types inherited from tbb::flow::interface10::receiver< T >
typedef T input_type
 The input type of this receiver. More...
 
typedef internal::async_helpers< T >::filtered_type filtered_type
 
- Public Types inherited from tbb::flow::interface10::internal::untyped_receiver
typedef untyped_sender predecessor_type
 The predecessor type for this node. More...
 

Detailed Description

template<typename T>
class tbb::flow::interface10::internal::indexer_input_port< T >

Definition at line 87 of file flow_graph.h.

Member Typedef Documentation

◆ forward_function_ptr

template<typename T >
typedef task*(* tbb::flow::interface10::internal::indexer_input_port< T >::forward_function_ptr) (T const &, void *)
private

Definition at line 90 of file flow_graph.h.

Member Function Documentation

◆ graph_reference()

template<typename T >
graph& tbb::flow::interface10::internal::indexer_input_port< T >::graph_reference ( )
inlineprotectedvirtual

Implements tbb::flow::interface10::internal::untyped_receiver.

Definition at line 140 of file flow_graph.h.

143  {

◆ reset_receiver()

template<typename T >
void tbb::flow::interface10::internal::indexer_input_port< T >::reset_receiver ( reset_flags  f)
inlinevirtual

put receiver back in initial state

Implements tbb::flow::interface10::internal::untyped_receiver.

Definition at line 148 of file flow_graph.h.

152 :
153  edge_list_type built_edges;

◆ set_up()

template<typename T >
void tbb::flow::interface10::internal::indexer_input_port< T >::set_up ( void p,
forward_function_ptr  f,
graph g 
)
inline

Definition at line 104 of file flow_graph.h.

105  {
106 
107 template<typename T, typename M> class successor_cache;
108 template<typename T, typename M> class broadcast_cache;

◆ try_put_task()

template<typename T >
task* tbb::flow::interface10::internal::indexer_input_port< T >::try_put_task ( const T &  t)
inlineprotectedvirtual

Put item to successor; return task to run the successor if possible.

Implements tbb::flow::interface10::receiver< T >.

Definition at line 136 of file flow_graph.h.

139  {

Friends And Related Function Documentation

◆ internal::broadcast_cache

template<typename T >
template<typename X , typename Y >
friend class internal::broadcast_cache
friend

Definition at line 134 of file flow_graph.h.

◆ internal::round_robin_cache

template<typename T >
template<typename X , typename Y >
friend class internal::round_robin_cache
friend

Definition at line 135 of file flow_graph.h.

◆ run_and_put_task

template<typename T >
template<typename R , typename B >
friend class run_and_put_task
friend

Definition at line 133 of file flow_graph.h.

Member Data Documentation

◆ my_graph

template<typename T >
graph* tbb::flow::interface10::internal::indexer_input_port< T >::my_graph
private

Definition at line 97 of file flow_graph.h.

◆ my_indexer_ptr

template<typename T >
void* tbb::flow::interface10::internal::indexer_input_port< T >::my_indexer_ptr
private

Definition at line 89 of file flow_graph.h.

◆ my_try_put_task

template<typename T >
forward_function_ptr tbb::flow::interface10::internal::indexer_input_port< T >::my_try_put_task
private

Definition at line 91 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.