tbb::internal::join_port< T, JoinNodeType > Class Template Reference

The type of a join port. More...

#include <graph.h>

Inheritance diagram for tbb::internal::join_port< T, JoinNodeType >:

tbb::receiver< T > List of all members.

Public Types

typedef T input_type
 The input type of this receiver.
typedef sender< T > predecessor_type
 The predecessor type.

Public Member Functions

 join_port ()
 Constructor.
 join_port (const join_port &)
void set_port_counter (forwarding_base *join)
bool try_put (T)
 Put to the join port.
bool register_predecessor (sender< T > &src)
 Add a predecessor.
bool remove_predecessor (sender< T > &src)
 Remove a predecessor.
bool reserve (T &v)
 Reserve an item from the port.
void release ()
 Release the port.
void consume ()
 Complete use of the port.

Detailed Description

template<typename T, typename JoinNodeType>
class tbb::internal::join_port< T, JoinNodeType >

The type of a join port.


Member Function Documentation

template<typename T, typename JoinNodeType>
bool tbb::internal::join_port< T, JoinNodeType >::try_put (  )  [inline, virtual]

Put to the join port.

It always rejects. Its purpose is to simply cause the sender to register as a predecessor

Implements tbb::receiver< T >.


The documentation for this class was generated from the following file:

Copyright © 2005-2010 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.