Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
The two-phase join port. More...
#include <flow_graph.h>
Classes | |
class | reserving_port_operation |
Public Types | |
typedef T | input_type |
typedef receiver< input_type >::predecessor_type | predecessor_type |
![]() | |
typedef untyped_sender | predecessor_type |
The predecessor type for this node. More... | |
Public Member Functions | |
reserving_port () | |
Constructor. More... | |
reserving_port (const reserving_port &) | |
void | set_join_node_pointer (forwarding_base *join) |
bool | register_predecessor (predecessor_type &src) __TBB_override |
Add a predecessor. More... | |
bool | remove_predecessor (predecessor_type &src) __TBB_override |
Remove a predecessor. More... | |
bool | reserve (T &v) |
Reserve an item from the port. More... | |
void | release () |
Release the port. More... | |
void | consume () |
Complete use of the port. More... | |
void | reset_receiver (reset_flags f) __TBB_override |
put receiver back in initial state More... | |
![]() | |
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) |
![]() | |
virtual | ~untyped_receiver () |
Destructor. More... | |
template<typename X > | |
bool | try_put (const X &t) |
Put an item to the receiver. More... | |
Protected Member Functions | |
task * | try_put_task (const T &) __TBB_override |
Put item to successor; return task to run the successor if possible. More... | |
graph & | graph_reference () const __TBB_override |
![]() | |
virtual task * | try_put_task_wrapper (const void *p, bool is_async) __TBB_override |
![]() | |
template<typename X > | |
task * | try_put_task (const X &t) |
virtual bool | is_continue_receiver () |
Private Types | |
enum | op_type { reg_pred, rem_pred, res_item, rel_res, con_res } |
typedef reserving_port< T > | class_type |
typedef internal::aggregating_functor< class_type, reserving_port_operation > | handler_type |
Private Member Functions | |
void | handle_operations (reserving_port_operation *op_list) |
Private Attributes | |
aggregator< handler_type, reserving_port_operation > | my_aggregator |
forwarding_base * | my_join |
reservable_predecessor_cache< T, null_mutex > | my_predecessors |
bool | reserved |
Friends | |
class | internal::aggregating_functor< class_type, reserving_port_operation > |
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 | |
![]() | |
__TBB_DEPRECATED typedef T | input_type |
The input type of this receiver. More... | |
__TBB_DEPRECATED typedef internal::async_helpers< T >::filtered_type | filtered_type |
The two-phase join port.
Definition at line 210 of file flow_graph.h.
|
private |
Definition at line 225 of file flow_graph.h.
|
private |
Definition at line 245 of file flow_graph.h.
typedef T tbb::flow::interface11::internal::reserving_port< T >::input_type |
Definition at line 212 of file flow_graph.h.
typedef receiver<input_type>::predecessor_type tbb::flow::interface11::internal::reserving_port< T >::predecessor_type |
Definition at line 213 of file flow_graph.h.
|
private |
Enumerator | |
---|---|
reg_pred | |
rem_pred | |
res_item | |
rel_res | |
con_res |
Definition at line 220 of file flow_graph.h.
|
inline |
|
inline |
Definition at line 337 of file flow_graph.h.
|
inline |
Complete use of the port.
Definition at line 376 of file flow_graph.h.
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::internal::untyped_receiver.
Definition at line 323 of file flow_graph.h.
|
inlineprivate |
Definition at line 249 of file flow_graph.h.
|
inlinevirtual |
Add a predecessor.
Reimplemented from tbb::flow::interface11::internal::untyped_receiver.
Definition at line 349 of file flow_graph.h.
|
inline |
|
inlinevirtual |
Remove a predecessor.
Reimplemented from tbb::flow::interface11::internal::untyped_receiver.
Definition at line 356 of file flow_graph.h.
|
inline |
|
inlinevirtual |
put receiver back in initial state
Implements tbb::flow::interface11::internal::untyped_receiver.
Definition at line 411 of file flow_graph.h.
|
inline |
Definition at line 344 of file flow_graph.h.
|
inlineprotectedvirtual |
Put item to successor; return task to run the successor if possible.
Implements tbb::flow::interface11::receiver< T >.
Definition at line 319 of file flow_graph.h.
|
friend |
Definition at line 246 of file flow_graph.h.
|
friend |
Definition at line 317 of file flow_graph.h.
|
friend |
Definition at line 318 of file flow_graph.h.
Definition at line 316 of file flow_graph.h.
|
private |
Definition at line 247 of file flow_graph.h.
|
private |
Definition at line 424 of file flow_graph.h.
|
private |
Definition at line 425 of file flow_graph.h.
|
private |
Definition at line 426 of file flow_graph.h.