- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# tbb::priority_queue_node< T, Compare > Class Template Reference

Forwards messages in priority order. More...

`#include <graph.h>`

Inheritance diagram for tbb::priority_queue_node< T, Compare >:

List of all members.

## Public Types
typedef T | input_type
| The input type of this receiver.
typedef T | output_type
| The output type of this sender.
typedef sender< input_type > | predecessor_type
| The predecessor type for this node.
typedef receiver< output_type > | successor_type
| The successor type for this node.
## Public Member Functions
| priority_queue_node (graph &g)
| Constructor.
## Protected Types
typedef buffer_node< T >::size_type | size_type
typedef buffer_node< T >::item_type | item_type
typedef buffer_node< T >::buffer_operation | prio_operation
| WAIT = 0
| SUCCEEDED
| FAILED
enum | op_stat { WAIT = 0, SUCCEEDED, FAILED }
## Protected Member Functions
void | handle_operations (prio_operation *op_list)
void | internal_forward (prio_operation *op)
| Tries to forward valid items to successors.
void | internal_push (prio_operation *op)
void | internal_pop (prio_operation *op)
void | internal_reserve (prio_operation *op)
void | internal_consume (prio_operation *op)
void | internal_release (prio_operation *op)

## Detailed Description

### template<typename T, typename Compare = std::less<T>>
class tbb::priority_queue_node< T, Compare >

Forwards messages in priority order.

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

- graph.h

Copyright © 2005-2011 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.