Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
A cache of predecessors that only supports try_get. More...
#include <flow_graph.h>
Public Types | |
typedef M | mutex_type |
typedef T | output_type |
typedef untyped_sender | predecessor_type |
typedef untyped_receiver | successor_type |
![]() | |
typedef size_t | size_type |
Public Member Functions | |
predecessor_cache () | |
void | set_owner (successor_type *owner) |
bool | get_item (output_type &v) |
void | reset () |
![]() | |
bool | empty () |
void | add (untyped_sender &n) |
void | remove (untyped_sender &n) |
void | clear () |
Protected Attributes | |
successor_type * | my_owner |
![]() | |
mutex_type | my_mutex |
std::queue< untyped_sender * > | my_q |
Additional Inherited Members | |
![]() | |
typedef M | mutex_type |
![]() | |
bool | internal_empty () |
size_type | internal_size () |
void | internal_push (untyped_sender &n) |
untyped_sender & | internal_pop () |
A cache of predecessors that only supports try_get.
Definition at line 130 of file flow_graph.h.
typedef M tbb::flow::interface11::internal::predecessor_cache< T, M >::mutex_type |
Definition at line 130 of file flow_graph.h.
typedef T tbb::flow::interface11::internal::predecessor_cache< T, M >::output_type |
Definition at line 131 of file flow_graph.h.
typedef untyped_sender tbb::flow::interface11::internal::predecessor_cache< T, M >::predecessor_type |
Definition at line 133 of file flow_graph.h.
typedef untyped_receiver tbb::flow::interface11::internal::predecessor_cache< T, M >::successor_type |
Definition at line 134 of file flow_graph.h.
|
inline |
Definition at line 140 of file flow_graph.h.
|
inline |
Definition at line 144 of file flow_graph.h.
|
inline |
Definition at line 174 of file flow_graph.h.
|
inline |
Definition at line 142 of file flow_graph.h.
|
protected |
Definition at line 192 of file flow_graph.h.