|
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 34 of file _flow_graph_cache_impl.h.
|
protected |
Definition at line 93 of file _flow_graph_cache_impl.h.
| typedef size_t internal::node_cache< T, M >::size_type |
Definition at line 37 of file _flow_graph_cache_impl.h.
|
inline |
Definition at line 44 of file _flow_graph_cache_impl.h.
Referenced by internal::predecessor_cache< input_type, null_mutex >::get_item(), internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::handle_operations(), and internal::reservable_predecessor_cache< T, null_mutex >::try_reserve().
|
inline |
Definition at line 58 of file _flow_graph_cache_impl.h.
Referenced by internal::reservable_predecessor_cache< T, null_mutex >::clear(), and internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::reset_receiver().
|
inline |
Definition at line 39 of file _flow_graph_cache_impl.h.
Referenced by internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::reset_receiver().
|
inlineprotected |
Definition at line 101 of file _flow_graph_cache_impl.h.
Referenced by internal::node_cache< sender< T >, M >::empty(), internal::predecessor_cache< input_type, null_mutex >::get_item(), internal::predecessor_cache< input_type, null_mutex >::reset(), and internal::reservable_predecessor_cache< T, null_mutex >::try_reserve().
|
inlineprotected |
Definition at line 116 of file _flow_graph_cache_impl.h.
Referenced by internal::predecessor_cache< input_type, null_mutex >::get_item(), internal::node_cache< sender< T >, M >::remove(), internal::predecessor_cache< input_type, null_mutex >::reset(), and internal::reservable_predecessor_cache< T, null_mutex >::try_reserve().
|
inlineprotected |
Definition at line 111 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 106 of file _flow_graph_cache_impl.h.
Referenced by internal::node_cache< sender< T >, M >::remove().
|
inline |
Definition at line 49 of file _flow_graph_cache_impl.h.
Referenced by internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::handle_operations().
|
protected |
Definition at line 94 of file _flow_graph_cache_impl.h.
Referenced by internal::node_cache< sender< T >, M >::add(), internal::node_cache< sender< T >, M >::clear(), internal::node_cache< sender< T >, M >::empty(), internal::predecessor_cache< input_type, null_mutex >::get_item(), internal::node_cache< sender< T >, M >::remove(), internal::round_robin_cache< T, M >::size(), internal::broadcast_cache< output_type >::try_put_task(), internal::round_robin_cache< T, M >::try_put_task(), and internal::reservable_predecessor_cache< T, null_mutex >::try_reserve().
|
protected |
Definition at line 95 of file _flow_graph_cache_impl.h.
Referenced by internal::node_cache< sender< T >, M >::clear().