Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
A node_cache maintains a std::queue of elements of type T. Each operation is protected by a lock. More...
#include <_flow_graph_cache_impl.h>
Public Types | |
typedef size_t | size_type |
Public Member Functions | |
bool | empty () |
void | add (T &n) |
void | remove (T &n) |
void | clear () |
Protected Types | |
typedef M | mutex_type |
Protected Member Functions | |
bool | internal_empty () |
size_type | internal_size () |
void | internal_push (T &n) |
T & | internal_pop () |
Protected Attributes | |
mutex_type | my_mutex |
std::queue< T * > | my_q |
A node_cache maintains a std::queue of elements of type T. Each operation is protected by a lock.
Definition at line 30 of file _flow_graph_cache_impl.h.
|
protected |
Definition at line 89 of file _flow_graph_cache_impl.h.
typedef size_t internal::node_cache< T, M >::size_type |
Definition at line 33 of file _flow_graph_cache_impl.h.
|
inline |
Definition at line 40 of file _flow_graph_cache_impl.h.
Referenced by internal::reserving_port< T >::handle_operations(), and internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::handle_operations().
|
inline |
Definition at line 54 of file _flow_graph_cache_impl.h.
Referenced by internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::reset_receiver(), and tbb::flow::interface11::internal::unfolded_join_node< 2, key_matching_port, OutputTuple, key_matching< K, KHash > >::unfolded_join_node().
|
inline |
Definition at line 35 of file _flow_graph_cache_impl.h.
Referenced by internal::reserving_port< T >::handle_operations(), internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::reset_receiver(), and internal::reserving_port< T >::reset_receiver().
|
inlineprotected |
Definition at line 97 of file _flow_graph_cache_impl.h.
Referenced by internal::node_cache< sender< T >, M >::empty().
|
inlineprotected |
Definition at line 112 of file _flow_graph_cache_impl.h.
Referenced by internal::node_cache< sender< T >, M >::remove().
|
inlineprotected |
Definition at line 107 of file _flow_graph_cache_impl.h.
Referenced by internal::node_cache< sender< T >, M >::add(), and internal::node_cache< sender< T >, M >::remove().
|
inlineprotected |
Definition at line 102 of file _flow_graph_cache_impl.h.
Referenced by internal::node_cache< sender< T >, M >::remove().
|
inline |
Definition at line 45 of file _flow_graph_cache_impl.h.
Referenced by internal::reserving_port< T >::handle_operations(), and internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::handle_operations().
|
protected |
Definition at line 90 of file _flow_graph_cache_impl.h.
Referenced by internal::node_cache< sender< T >, M >::add(), internal::node_cache< sender< T >, M >::empty(), and internal::node_cache< sender< T >, M >::remove().
|
protected |
Definition at line 91 of file _flow_graph_cache_impl.h.
Referenced by internal::node_cache< sender< T >, M >::clear(), internal::node_cache< sender< T >, M >::internal_empty(), internal::node_cache< sender< T >, M >::internal_pop(), internal::node_cache< sender< T >, M >::internal_push(), and internal::node_cache< sender< T >, M >::internal_size().