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

#include <flow_graph.h>

Inheritance diagram for tbb::flow::interface11::internal::indexer_input_port< T >:
Collaboration diagram for tbb::flow::interface11::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::interface11::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::interface11::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 () const __TBB_override
 
- Protected Member Functions inherited from tbb::flow::interface11::receiver< T >
virtual tasktry_put_task_wrapper (const void *p, bool is_async) __TBB_override
 
- Protected Member Functions inherited from tbb::flow::interface11::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::interface11::internal::untyped_receiver
typedef untyped_sender predecessor_type
 The predecessor type for this node. More...
 
- Public Attributes inherited from tbb::flow::interface11::receiver< T >
__TBB_DEPRECATED typedef T input_type
 The input type of this receiver. More...
 
__TBB_DEPRECATED typedef internal::async_helpers< T >::filtered_type filtered_type
 

Detailed Description

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

Definition at line 83 of file flow_graph.h.

Member Typedef Documentation

◆ forward_function_ptr

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

Definition at line 86 of file flow_graph.h.

Member Function Documentation

◆ graph_reference()

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

Implements tbb::flow::interface11::internal::untyped_receiver.

Definition at line 136 of file flow_graph.h.

145  {

◆ reset_receiver()

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

put receiver back in initial state

Implements tbb::flow::interface11::internal::untyped_receiver.

Definition at line 144 of file flow_graph.h.

145 {

◆ set_up()

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

Definition at line 100 of file flow_graph.h.

102  {
103 namespace flow {
104 

◆ try_put_task()

template<typename T >
task* tbb::flow::interface11::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::interface11::receiver< T >.

Definition at line 132 of file flow_graph.h.

134  {

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 130 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 131 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 129 of file flow_graph.h.

Member Data Documentation

◆ my_graph

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

Definition at line 93 of file flow_graph.h.

◆ my_indexer_ptr

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

Definition at line 85 of file flow_graph.h.

◆ my_try_put_task

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

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