Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Forwards messages in FIFO order. More...
#include <flow_graph.h>
Public Types | |
typedef T | input_type |
typedef T | output_type |
typedef receiver< input_type >::predecessor_type | predecessor_type |
typedef sender< output_type >::successor_type | successor_type |
![]() | |
typedef T | input_type |
typedef T | output_type |
typedef receiver< input_type >::predecessor_type | predecessor_type |
typedef sender< output_type >::successor_type | successor_type |
typedef buffer_node< T, A > | class_type |
![]() | |
enum | buffer_item_state { no_item =0, has_item =1, reserved_item =2 } |
typedef T | item_type |
![]() | |
typedef untyped_sender | predecessor_type |
The predecessor type for this node. More... | |
![]() | |
typedef untyped_receiver | successor_type |
The successor type for this node. More... | |
Protected Types | |
typedef buffer_node< T, A > | base_type |
typedef base_type::size_type | size_type |
typedef base_type::buffer_operation | queue_operation |
typedef queue_node | class_type |
![]() | |
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 | |
bool | is_item_valid () |
void | try_put_and_add_task (task *&last_task) |
Friends | |
template<typename , typename > | |
class | buffer_node |
Forwards messages in FIFO order.
Definition at line 2204 of file flow_graph.h.
|
protected |
Definition at line 2206 of file flow_graph.h.
|
protected |
Definition at line 2209 of file flow_graph.h.
typedef T tbb::flow::interface11::queue_node< T, A >::input_type |
Definition at line 2257 of file flow_graph.h.
typedef T tbb::flow::interface11::queue_node< T, A >::output_type |
Definition at line 2258 of file flow_graph.h.
typedef receiver<input_type>::predecessor_type tbb::flow::interface11::queue_node< T, A >::predecessor_type |
Definition at line 2259 of file flow_graph.h.
|
protected |
Definition at line 2208 of file flow_graph.h.
|
protected |
Definition at line 2207 of file flow_graph.h.
typedef sender<output_type>::successor_type tbb::flow::interface11::queue_node< T, A >::successor_type |
Definition at line 2260 of file flow_graph.h.
|
inlineexplicit |
Constructor.
Definition at line 2263 of file flow_graph.h.
References CODEPTR, and tbb::internal::fgt_node().
|
inline |
Copy constructor.
Definition at line 2277 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 2251 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 2229 of file flow_graph.h.
|
inlineprotectedvirtual |
Reimplemented from tbb::flow::interface11::buffer_node< T, A >.
Definition at line 2233 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 2242 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 2214 of file flow_graph.h.
|
inlineprotectedvirtual |
Reimplemented from tbb::flow::interface11::buffer_node< T, A >.
Definition at line 2290 of file flow_graph.h.
|
inlineprivate |
Definition at line 2218 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 2212 of file flow_graph.h.