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

An abstract cache of successors. More...

#include <_flow_graph_impl.h>

Inheritance diagram for internal::successor_cache< T, M >:
internal::broadcast_cache< T, M > internal::round_robin_cache< T, M >

Public Member Functions

void set_owner (owner_type *owner)
 
void register_successor (successor_type &r)
 
void remove_successor (successor_type &r)
 
bool empty ()
 
void clear ()
 
virtual task * try_put_task (const T &t)=0
 

Protected Types

typedef M mutex_type
 
typedef receiver< T > successor_type
 
typedef receiver< T > * pointer_type
 
typedef sender< T > owner_type
 
typedef std::list< pointer_type > successors_type
 

Protected Attributes

mutex_type my_mutex
 
successors_type my_successors
 
owner_type * my_owner
 

Detailed Description

template<typename T, typename M = spin_rw_mutex>
class internal::successor_cache< T, M >

An abstract cache of successors.


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