Forwards messages in sequence order. More...
#include <flow_graph.h>
Public Types | |
typedef T | input_type |
typedef T | output_type |
typedef sender< input_type > | predecessor_type |
typedef receiver< output_type > | successor_type |
Public Types inherited from tbb::flow::interface7::queue_node< T, A > | |
typedef T | input_type |
typedef T | output_type |
typedef sender< input_type > | predecessor_type |
typedef receiver< output_type > | successor_type |
Public Types inherited from tbb::flow::interface7::buffer_node< T, A > | |
typedef T | input_type |
typedef T | output_type |
typedef sender< input_type > | predecessor_type |
typedef receiver< output_type > | successor_type |
typedef buffer_node< T, A > | my_class |
Public Types inherited from tbb::flow::interface7::receiver< T > | |
typedef T | input_type |
The input type of this receiver. | |
typedef sender< T > | predecessor_type |
The predecessor type for this node. | |
Public Types inherited from tbb::flow::interface7::sender< T > | |
typedef T | output_type |
The output type of this sender. | |
typedef receiver< T > | successor_type |
The successor type for this node. | |
Public Member Functions | |
template<typename Sequencer > | |
sequencer_node (graph &g, const Sequencer &s) | |
Constructor. | |
sequencer_node (const sequencer_node &src) | |
Copy constructor. | |
~sequencer_node () | |
Destructor. | |
void | set_name (const char *name) |
Public Member Functions inherited from tbb::flow::interface7::queue_node< T, A > | |
queue_node (graph &g) | |
Constructor. | |
queue_node (const queue_node &src) | |
Copy constructor. | |
Public Member Functions inherited from tbb::flow::interface7::buffer_node< T, A > | |
buffer_node (graph &g) | |
Constructor. | |
buffer_node (const buffer_node &src) | |
Copy constructor. | |
bool | register_successor (receiver< output_type > &r) |
Adds a new successor. More... | |
bool | remove_successor (receiver< output_type > &r) |
Removes a successor. More... | |
bool | try_get (T &v) |
Request an item from the buffer_node. More... | |
bool | try_reserve (T &v) |
Reserves an item. More... | |
bool | try_release () |
Release a reserved item. More... | |
bool | try_consume () |
Consumes a reserved item. More... | |
Public Member Functions inherited from tbb::flow::interface7::graph_node | |
graph_node (graph &g) | |
Public Member Functions inherited from tbb::flow::interface7::receiver< T > | |
virtual | ~receiver () |
Destructor. | |
bool | try_put (const T &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. | |
Protected Types | |
enum | op_stat { WAIT =0, SUCCEEDED, FAILED } |
typedef buffer_node< T, A > ::size_type | size_type |
typedef buffer_node< T, A > ::buffer_operation | sequencer_operation |
Protected Types inherited from tbb::flow::interface7::queue_node< T, A > | |
enum | op_stat { WAIT =0, SUCCEEDED, FAILED } |
typedef buffer_node< T, A > ::size_type | size_type |
typedef buffer_node< T, A > ::buffer_operation | queue_operation |
Protected Types inherited from tbb::flow::interface7::buffer_node< T, A > | |
enum | op_type { reg_succ, rem_succ, req_item, res_item, rel_res, con_res, put_item, try_fwd_task } |
enum | op_stat { WAIT =0, SUCCEEDED, FAILED } |
typedef size_t | size_type |
typedef internal::aggregating_functor < my_class, buffer_operation > | my_handler |
Additional Inherited Members | |
Protected Member Functions inherited from tbb::flow::interface7::queue_node< T, A > | |
void | internal_forward_task (queue_operation *op) |
Tries to forward valid items to successors. | |
void | internal_pop (queue_operation *op) |
void | internal_reserve (queue_operation *op) |
void | internal_consume (queue_operation *op) |
Protected Attributes inherited from tbb::flow::interface7::buffer_node< T, A > | |
internal::round_robin_cache< T, null_rw_mutex > | my_successors |
bool | forwarder_busy |
internal::aggregator < my_handler, buffer_operation > | my_aggregator |
Forwards messages in sequence order.