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

An cache of predecessors that supports requests and reservations. More...

#include <_flow_graph_impl.h>

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

Public Types

typedef M mutex_type
 
typedef T output_type
 
typedef sender< T > predecessor_type
 
typedef receiver< T > successor_type
 
- Public Types inherited from internal::predecessor_cache< T, M >
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

bool try_reserve (output_type &v)
 
bool try_release ()
 
bool try_consume ()
 
void reset ()
 
void clear ()
 
- Public Member Functions inherited from internal::predecessor_cache< T, M >
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 ()
 

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 ()
 
- Protected Attributes inherited from internal::predecessor_cache< T, M >
successor_type * my_owner
 
- Protected Attributes inherited from internal::node_cache< sender< T >, M >
mutex_type my_mutex
 
std::queue< sender< T > * > my_q
 

Detailed Description

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

An cache of predecessors that supports requests and reservations.


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