Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Forwards messages in priority order. More...
#include <flow_graph.h>
Protected Types | |
typedef buffer_node< T, A >::size_type | size_type |
typedef buffer_node< T, A >::item_type | item_type |
typedef buffer_node< T, A >::buffer_operation | prio_operation |
![]() | |
enum | op_type { reg_succ, rem_succ, req_item, res_item, rel_res, con_res, put_item, try_fwd_task } |
typedef size_t | size_type |
typedef internal::aggregating_functor< class_type, buffer_operation > | handler_type |
![]() | |
typedef size_t | size_type |
typedef aligned_pair< item_type, buffer_item_state >::type | buffer_item_type |
typedef A::template rebind< buffer_item_type >::other | allocator_type |
Private Member Functions | |
void | order () |
bool | is_item_valid () |
void | try_put_and_add_task (task *&last_task) |
bool | prio_use_tail () |
void | prio_push (const T &src) |
void | prio_pop () |
const T & | prio () |
void | heapify () |
void | reheap () |
Private Attributes | |
Compare | compare |
size_type | mark |
input_type | reserved_item |
Friends | |
template<typename , typename > | |
class | buffer_node |
Forwards messages in priority order.
Definition at line 2371 of file flow_graph.h.
typedef buffer_node<T,A> tbb::flow::interface11::priority_queue_node< T, Compare, A >::base_type |
Definition at line 2375 of file flow_graph.h.
typedef priority_queue_node tbb::flow::interface11::priority_queue_node< T, Compare, A >::class_type |
Definition at line 2376 of file flow_graph.h.
typedef T tbb::flow::interface11::priority_queue_node< T, Compare, A >::input_type |
Definition at line 2373 of file flow_graph.h.
|
protected |
Definition at line 2417 of file flow_graph.h.
typedef T tbb::flow::interface11::priority_queue_node< T, Compare, A >::output_type |
Definition at line 2374 of file flow_graph.h.
typedef receiver<input_type>::predecessor_type tbb::flow::interface11::priority_queue_node< T, Compare, A >::predecessor_type |
Definition at line 2377 of file flow_graph.h.
|
protected |
Definition at line 2418 of file flow_graph.h.
|
protected |
Definition at line 2416 of file flow_graph.h.
typedef sender<output_type>::successor_type tbb::flow::interface11::priority_queue_node< T, Compare, A >::successor_type |
Definition at line 2378 of file flow_graph.h.
|
inlineexplicit |
Constructor.
Definition at line 2381 of file flow_graph.h.
References CODEPTR, and tbb::internal::fgt_node().
|
inline |
Copy constructor.
Definition at line 2397 of file flow_graph.h.
References __TBB_override, CODEPTR, tbb::internal::fgt_node(), and tbb::internal::fgt_node_desc().
|
inlineprotectedvirtual |
Reimplemented from tbb::flow::interface11::buffer_node< T, A >.
Definition at line 2425 of file flow_graph.h.
|
inlineprivate |
Definition at line 2547 of file flow_graph.h.
|
inlineprotectedvirtual |
Reimplemented from tbb::flow::interface11::buffer_node< T, A >.
Definition at line 2461 of file flow_graph.h.
References tbb::internal::__TBB_store_with_release(), and tbb::flow::interface11::internal::SUCCEEDED.
|
inlineprotectedvirtual |
Tries to forward valid items to successors.
Reimplemented from tbb::flow::interface11::buffer_node< T, A >.
Definition at line 2421 of file flow_graph.h.
|
inlineprotectedvirtual |
Reimplemented from tbb::flow::interface11::buffer_node< T, A >.
Definition at line 2435 of file flow_graph.h.
References tbb::internal::__TBB_store_with_release(), tbb::flow::interface11::internal::FAILED, and tbb::flow::interface11::internal::SUCCEEDED.
|
inlineprotectedvirtual |
Reimplemented from tbb::flow::interface11::buffer_node< T, A >.
Definition at line 2429 of file flow_graph.h.
References tbb::internal::__TBB_store_with_release(), and tbb::flow::interface11::internal::SUCCEEDED.
|
inlineprotectedvirtual |
Reimplemented from tbb::flow::interface11::buffer_node< T, A >.
Definition at line 2467 of file flow_graph.h.
References tbb::internal::__TBB_store_with_release(), and tbb::flow::interface11::internal::SUCCEEDED.
|
inlineprotectedvirtual |
Reimplemented from tbb::flow::interface11::buffer_node< T, A >.
Definition at line 2449 of file flow_graph.h.
References tbb::internal::__TBB_store_with_release(), tbb::flow::interface11::internal::FAILED, and tbb::flow::interface11::internal::SUCCEEDED.
|
inlineprivate |
Definition at line 2482 of file flow_graph.h.
|
inlineprivate |
Definition at line 2477 of file flow_graph.h.
References __TBB_ASSERT.
|
inlineprivate |
Definition at line 2542 of file flow_graph.h.
|
inlineprivate |
Definition at line 2520 of file flow_graph.h.
References __TBB_ASSERT.
|
inlineprivate |
Definition at line 2509 of file flow_graph.h.
References __TBB_ASSERT, and void.
|
inlineprivate |
Definition at line 2503 of file flow_graph.h.
References __TBB_ASSERT.
|
inlineprivate |
Definition at line 2569 of file flow_graph.h.
|
inlineprotectedvirtual |
Reimplemented from tbb::flow::interface11::buffer_node< T, A >.
Definition at line 2411 of file flow_graph.h.
|
inlineprivate |
Definition at line 2486 of file flow_graph.h.
References tbb::flow::interface11::combine_tasks(), tbb::flow::interface11::internal::function_output< Output >::graph_reference(), and tbb::flow::interface11::internal::round_robin_cache< T, M >::try_put_task().
|
friend |
Definition at line 2475 of file flow_graph.h.
|
private |
Definition at line 2497 of file flow_graph.h.
|
private |
Definition at line 2498 of file flow_graph.h.
|
private |
Definition at line 2500 of file flow_graph.h.