Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
A cache of predecessors that only supports try_get. More...
#include <_flow_graph_cache_impl.h>
Public Types | |
typedef M | mutex_type |
typedef T | output_type |
typedef sender< output_type > | predecessor_type |
typedef receiver< output_type > | 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 (sender< T > &n) |
void | remove (sender< T > &n) |
void | clear () |
Protected Attributes | |
successor_type * | my_owner |
![]() | |
mutex_type | my_mutex |
std::queue< sender< T > * > | my_q |
Additional Inherited Members | |
![]() | |
typedef M | mutex_type |
![]() | |
bool | internal_empty () |
size_type | internal_size () |
void | internal_push (sender< T > &n) |
sender< T > & | internal_pop () |
A cache of predecessors that only supports try_get.
Definition at line 126 of file _flow_graph_cache_impl.h.
typedef M internal::predecessor_cache< T, M >::mutex_type |
Definition at line 129 of file _flow_graph_cache_impl.h.
typedef T internal::predecessor_cache< T, M >::output_type |
Definition at line 130 of file _flow_graph_cache_impl.h.
typedef sender<output_type> internal::predecessor_cache< T, M >::predecessor_type |
Definition at line 135 of file _flow_graph_cache_impl.h.
typedef receiver<output_type> internal::predecessor_cache< T, M >::successor_type |
Definition at line 136 of file _flow_graph_cache_impl.h.
|
inline |
Definition at line 139 of file _flow_graph_cache_impl.h.
|
inline |
Definition at line 143 of file _flow_graph_cache_impl.h.
Referenced by internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::perform_queued_requests().
|
inline |
Definition at line 173 of file _flow_graph_cache_impl.h.
Referenced by internal::reservable_predecessor_cache< T, null_mutex >::reset(), and internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::reset_receiver().
|
inline |
Definition at line 141 of file _flow_graph_cache_impl.h.
Referenced by internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::function_input_base(), and internal::reserving_port< T >::reserving_port().
|
protected |
Definition at line 191 of file _flow_graph_cache_impl.h.
Referenced by internal::predecessor_cache< input_type, null_mutex >::get_item(), internal::successor_cache< continue_msg, M >::register_successor(), internal::successor_cache< continue_msg, M >::remove_successor(), internal::predecessor_cache< input_type, null_mutex >::reset(), internal::predecessor_cache< input_type, null_mutex >::set_owner(), internal::successor_cache< output_type, null_rw_mutex >::set_owner(), internal::successor_cache< continue_msg, M >::set_owner(), and internal::reservable_predecessor_cache< T, null_mutex >::try_reserve().