Public Types | |
typedef untyped_sender | predecessor_type |
The predecessor type for this node. | |
typedef internal::edge_container < predecessor_type > | built_predecessors_type |
typedef built_predecessors_type::edge_list_type | predecessor_list_type |
Public Member Functions | |
virtual | ~untyped_receiver () |
Destructor. | |
template<typename X > | |
bool | try_put (const X &t) |
Put an item to the receiver. | |
virtual bool | register_predecessor (predecessor_type &) |
Add a predecessor to the node. | |
virtual bool | remove_predecessor (predecessor_type &) |
Remove a predecessor from the node. | |
virtual built_predecessors_type & | built_predecessors ()=0 |
virtual void | internal_add_built_predecessor (predecessor_type &)=0 |
virtual void | internal_delete_built_predecessor (predecessor_type &)=0 |
virtual void | copy_predecessors (predecessor_list_type &)=0 |
virtual size_t | predecessor_count ()=0 |
Protected Member Functions | |
template<typename X > | |
task * | try_put_task (const X &t) |
virtual task * | try_put_task_wrapper (const void *p, bool is_async)=0 |
virtual void | reset_receiver (reset_flags f=rf_reset_protocol)=0 |
put receiver back in initial state | |
virtual bool | is_continue_receiver () |