| 
    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 | 
  Public Types inherited from tbb::flow::interface11::buffer_node< T, Allocator > | |
| 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, Allocator > | class_type | 
  Public Types inherited from tbb::flow::interface11::internal::item_buffer< T, cache_aligned_allocator< T > > | |
| enum | buffer_item_state | 
| typedef T | item_type | 
  Public Types inherited from tbb::flow::interface11::internal::untyped_receiver | |
| typedef untyped_sender | predecessor_type | 
| The predecessor type for this node.  More... | |
  Public Types inherited from tbb::flow::interface11::internal::untyped_sender | |
| typedef untyped_receiver | successor_type | 
| The successor type for this node.  More... | |
Public Member Functions | |
| __TBB_NOINLINE_SYM | queue_node (graph &g) | 
| Constructor.  More... | |
| __TBB_NOINLINE_SYM | queue_node (const queue_node &src) | 
| Copy constructor.  More... | |
  Public Member Functions inherited from tbb::flow::interface11::buffer_node< T, Allocator > | |
| __TBB_STATIC_ASSERT ((tbb::internal::is_same_type< Allocator, null_type >::value), "Allocator template parameter for flow graph nodes is deprecated and will be removed. " "Specify TBB_DEPRECATED_FLOW_NODE_ALLOCATOR to temporary enable the deprecated interface.") | |
| __TBB_NOINLINE_SYM | buffer_node (graph &g) | 
| Constructor.  More... | |
| __TBB_NOINLINE_SYM | buffer_node (const buffer_node &src) | 
| Copy constructor.  More... | |
| bool | register_successor (successor_type &r) __TBB_override | 
| Adds a new successor.  More... | |
| bool | remove_successor (successor_type &r) __TBB_override | 
| Removes a successor.  More... | |
| bool | try_get (T &v) __TBB_override | 
| Request an item from the buffer_node.  More... | |
| bool | try_reserve (T &v) __TBB_override | 
| Reserves an item.  More... | |
| bool | try_release () __TBB_override | 
| Release a reserved item.  More... | |
| bool | try_consume () __TBB_override | 
| Consumes a reserved item.  More... | |
  Public Member Functions inherited from tbb::flow::interface11::graph_node | |
| graph_node (graph &g) | |
| virtual | ~graph_node () | 
  Public Member Functions inherited from tbb::flow::interface11::internal::reservable_item_buffer< T, cache_aligned_allocator< T > > | |
| reservable_item_buffer () | |
| void | reset () | 
  Public Member Functions inherited from tbb::flow::interface11::internal::item_buffer< T, cache_aligned_allocator< T > > | |
| item_buffer () | |
| Constructor.  More... | |
| ~item_buffer () | |
| void | reset () | 
  Public Member Functions inherited from tbb::flow::interface11::receiver< T > | |
| bool | try_put (const typename internal::async_helpers< T >::filtered_type &t) | 
| Put an item to the receiver.  More... | |
| bool | try_put (const typename internal::async_helpers< T >::async_type &t) | 
  Public Member Functions inherited from tbb::flow::interface11::internal::untyped_receiver | |
| virtual | ~untyped_receiver () | 
| Destructor.  More... | |
| template<typename X > | |
| bool | try_put (const X &t) | 
| Put an item to the receiver.  More... | |
| virtual bool | register_predecessor (predecessor_type &) | 
| Add a predecessor to the node.  More... | |
| virtual bool | remove_predecessor (predecessor_type &) | 
| Remove a predecessor from the node.  More... | |
  Public Member Functions inherited from tbb::flow::interface11::internal::untyped_sender | |
| virtual | ~untyped_sender () | 
Protected Types | |
| typedef buffer_node< T, Allocator > | base_type | 
| typedef base_type::size_type | size_type | 
| typedef base_type::buffer_operation | queue_operation | 
| typedef queue_node | class_type | 
  Protected Types inherited from tbb::flow::interface11::buffer_node< T, Allocator > | |
| 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 | 
  Protected Types inherited from tbb::flow::interface11::internal::item_buffer< T, cache_aligned_allocator< T > > | |
| typedef size_t | size_type | 
| typedef aligned_pair< item_type, buffer_item_state >::type | buffer_item_type | 
| typedef tbb::internal::allocator_rebind< cache_aligned_allocator< T >, buffer_item_type >::type | allocator_type | 
Private Member Functions | |
| __TBB_STATIC_ASSERT ((tbb::internal::is_same_type< Allocator, null_type >::value), "Allocator template parameter for flow graph nodes is deprecated and will be removed. " "Specify TBB_DEPRECATED_FLOW_NODE_ALLOCATOR to temporary enable the deprecated interface.") | |
| 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 2568 of file flow_graph.h.
      
  | 
  protected | 
Definition at line 2577 of file flow_graph.h.
      
  | 
  protected | 
Definition at line 2580 of file flow_graph.h.
| typedef T tbb::flow::interface11::queue_node< T, Allocator >::input_type | 
Definition at line 2628 of file flow_graph.h.
| typedef T tbb::flow::interface11::queue_node< T, Allocator >::output_type | 
Definition at line 2629 of file flow_graph.h.
| typedef receiver<input_type>::predecessor_type tbb::flow::interface11::queue_node< T, Allocator >::predecessor_type | 
Definition at line 2630 of file flow_graph.h.
      
  | 
  protected | 
Definition at line 2579 of file flow_graph.h.
      
  | 
  protected | 
Definition at line 2578 of file flow_graph.h.
| typedef sender<output_type>::successor_type tbb::flow::interface11::queue_node< T, Allocator >::successor_type | 
Definition at line 2631 of file flow_graph.h.
      
  | 
  inlineexplicit | 
Constructor.
Definition at line 2634 of file flow_graph.h.
References CODEPTR, tbb::internal::fgt_node(), and tbb::flow::interface11::graph_node::my_graph.
      
  | 
  inline | 
Copy constructor.
Definition at line 2648 of file flow_graph.h.
References CODEPTR, tbb::internal::fgt_node(), and tbb::flow::interface11::graph_node::my_graph.
      
  | 
  private | 
      
  | 
  inlineprotectedvirtual | 
Reimplemented from tbb::flow::interface11::buffer_node< T, Allocator >.
Definition at line 2622 of file flow_graph.h.
References tbb::internal::__TBB_store_with_release(), tbb::flow::interface11::internal::reservable_item_buffer< T, cache_aligned_allocator< T > >::consume_front(), and tbb::flow::interface11::internal::SUCCEEDED.
      
  | 
  inlineprotectedvirtual | 
Tries to forward valid items to successors.
Reimplemented from tbb::flow::interface11::buffer_node< T, Allocator >.
Definition at line 2600 of file flow_graph.h.
References tbb::flow::interface11::buffer_node< T, Allocator >::internal_forward_task_impl().
      
  | 
  inlineprotectedvirtual | 
Reimplemented from tbb::flow::interface11::buffer_node< T, Allocator >.
Definition at line 2604 of file flow_graph.h.
References tbb::internal::__TBB_store_with_release(), tbb::flow::interface11::internal::FAILED, tbb::flow::interface11::internal::item_buffer< T, cache_aligned_allocator< T > >::my_head, tbb::flow::interface11::internal::item_buffer< T, cache_aligned_allocator< T > >::my_item_valid(), tbb::flow::interface11::internal::item_buffer< T, cache_aligned_allocator< T > >::pop_front(), and tbb::flow::interface11::internal::SUCCEEDED.
      
  | 
  inlineprotectedvirtual | 
Reimplemented from tbb::flow::interface11::buffer_node< T, Allocator >.
Definition at line 2613 of file flow_graph.h.
References tbb::internal::__TBB_store_with_release(), tbb::flow::interface11::internal::FAILED, tbb::flow::interface11::internal::item_buffer< T, cache_aligned_allocator< T > >::my_head, tbb::flow::interface11::internal::item_buffer< T, cache_aligned_allocator< T > >::my_item_valid(), tbb::flow::interface11::internal::reservable_item_buffer< T, cache_aligned_allocator< T > >::reserve_front(), and tbb::flow::interface11::internal::SUCCEEDED.
      
  | 
  inlineprivate | 
Definition at line 2585 of file flow_graph.h.
References tbb::flow::interface11::internal::item_buffer< T, cache_aligned_allocator< T > >::my_head, and tbb::flow::interface11::internal::item_buffer< T, cache_aligned_allocator< T > >::my_item_valid().
      
  | 
  inlineprotectedvirtual | 
Reimplemented from tbb::flow::interface11::buffer_node< T, Allocator >.
Definition at line 2661 of file flow_graph.h.
References tbb::flow::interface11::buffer_node< T, Allocator >::reset_node().
      
  | 
  inlineprivate | 
Definition at line 2589 of file flow_graph.h.
References tbb::flow::interface11::combine_tasks(), tbb::flow::interface11::internal::item_buffer< T, cache_aligned_allocator< T > >::destroy_front(), tbb::flow::interface11::internal::item_buffer< T, cache_aligned_allocator< T > >::front(), tbb::flow::interface11::buffer_node< T, Allocator >::graph_reference(), and tbb::flow::interface11::internal::round_robin_cache< T, M >::try_put_task().
      
  | 
  friend | 
Definition at line 2583 of file flow_graph.h.