Pure virtual template class that defines a sender of messages of type T. More...
#include <flow_graph.h>
Public Types | |
typedef T | output_type |
The output type of this sender. | |
typedef receiver< T > | successor_type |
The successor type for this node. | |
Public Member Functions | |
virtual bool | register_successor (successor_type &r)=0 |
Add a new successor to this node. | |
virtual bool | remove_successor (successor_type &r)=0 |
Removes a successor from this node. | |
virtual bool | try_get (T &) |
Request an item from the sender. | |
virtual bool | try_reserve (T &) |
Reserves an item in the sender. | |
virtual bool | try_release () |
Releases the reserved item. | |
virtual bool | try_consume () |
Consumes the reserved item. | |
Pure virtual template class that defines a sender of messages of type T.