BRE12
Public Types | Public Member Functions | Protected Attributes | List of all members
internal::predecessor_cache< T, M > Class Template Reference

A cache of predecessors that only supports try_get. More...

#include <_flow_graph_impl.h>

Inheritance diagram for internal::predecessor_cache< T, M >:
internal::node_cache< sender< T >, M > internal::reservable_predecessor_cache< T, M >

Public Types

typedef M mutex_type
 
typedef T output_type
 
typedef sender< output_type > predecessor_type
 
typedef receiver< output_type > successor_type
 
- Public Types inherited from internal::node_cache< sender< T >, M >
typedef size_t size_type
 

Public Member Functions

void set_owner (successor_type *owner)
 
bool get_item (output_type &v)
 
void reset ()
 
- Public Member Functions inherited from internal::node_cache< sender< T >, M >
bool empty ()
 
void add (sender< T > &n)
 
void remove (sender< T > &n)
 
void clear ()
 

Protected Attributes

successor_type * my_owner
 
- Protected Attributes inherited from internal::node_cache< sender< T >, M >
mutex_type my_mutex
 
std::queue< sender< T > * > my_q
 

Additional Inherited Members

- Protected Types inherited from internal::node_cache< sender< T >, M >
typedef M mutex_type
 
- Protected Member Functions inherited from internal::node_cache< sender< T >, M >
bool internal_empty ()
 
size_type internal_size ()
 
void internal_push (sender< T > &n)
 
sender< T > & internal_pop ()
 

Detailed Description

template<typename T, typename M = spin_mutex>
class internal::predecessor_cache< T, M >

A cache of predecessors that only supports try_get.


The documentation for this class was generated from the following file: