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::predecessor_cache< input_type, null_mutex >::get_item(), internal::reserving_port< T >::handle_operations(), 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 54 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 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(), 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 112 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 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(), internal::successor_cache< output_type, null_rw_mutex >::empty(), internal::successor_cache< continue_msg >::empty(), internal::predecessor_cache< input_type, null_mutex >::get_item(), internal::successor_cache< output_type, null_rw_mutex >::register_successor(), internal::successor_cache< continue_msg >::register_successor(), internal::node_cache< sender< T >, M >::remove(), internal::successor_cache< output_type, null_rw_mutex >::remove_successor(), internal::successor_cache< continue_msg >::remove_successor(), and internal::reservable_predecessor_cache< T, null_mutex >::try_reserve().
|
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().