Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Forwards messages in sequence order. More...
#include <flow_graph.h>
Public 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.") | |
template<typename Sequencer > | |
__TBB_NOINLINE_SYM | sequencer_node (graph &g, const Sequencer &s) |
Constructor. More... | |
__TBB_NOINLINE_SYM | sequencer_node (const sequencer_node &src) |
Copy constructor. More... | |
~sequencer_node () | |
Destructor. More... | |
![]() | |
__TBB_NOINLINE_SYM | queue_node (graph &g) |
Constructor. More... | |
__TBB_NOINLINE_SYM | queue_node (const queue_node &src) |
Copy constructor. More... | |
![]() | |
__TBB_STATIC_ASSERT ((tbb::internal::is_same_type< __TBB_DEFAULT_NODE_ALLOCATOR(T), null_type >::value), "__TBB_DEFAULT_NODE_ALLOCATOR(T) 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... | |
![]() | |
graph_node (graph &g) | |
virtual | ~graph_node () |
![]() | |
reservable_item_buffer () | |
void | reset () |
![]() | |
item_buffer () | |
Constructor. More... | |
~item_buffer () | |
void | reset () |
![]() | |
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) |
![]() | |
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... | |
![]() | |
virtual | ~untyped_sender () |
Protected Types | |
typedef buffer_node< T, Allocator >::size_type | size_type |
typedef buffer_node< T, Allocator >::buffer_operation | sequencer_operation |
![]() | |
typedef buffer_node< T, __TBB_DEFAULT_NODE_ALLOCATOR(T) > | base_type |
typedef base_type::size_type | size_type |
typedef base_type::buffer_operation | queue_operation |
typedef queue_node | class_type |
![]() | |
enum | op_type |
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 tbb::internal::allocator_rebind< cache_aligned_allocator< T >, buffer_item_type >::type | allocator_type |
Private Member Functions | |
bool | internal_push (sequencer_operation *op) __TBB_override |
Private Attributes | |
internal::function_body< T, size_t > * | my_sequencer |
Forwards messages in sequence order.
Definition at line 2668 of file flow_graph.h.
typedef T tbb::flow::interface11::sequencer_node< T, Allocator >::input_type |
Definition at line 2680 of file flow_graph.h.
typedef T tbb::flow::interface11::sequencer_node< T, Allocator >::output_type |
Definition at line 2681 of file flow_graph.h.
typedef receiver<input_type>::predecessor_type tbb::flow::interface11::sequencer_node< T, Allocator >::predecessor_type |
Definition at line 2682 of file flow_graph.h.
|
protected |
Definition at line 2721 of file flow_graph.h.
|
protected |
Definition at line 2720 of file flow_graph.h.
typedef sender<output_type>::successor_type tbb::flow::interface11::sequencer_node< T, Allocator >::successor_type |
Definition at line 2683 of file flow_graph.h.
|
inline |
Constructor.
Definition at line 2687 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 2703 of file flow_graph.h.
References CODEPTR, tbb::internal::fgt_node(), and tbb::flow::interface11::graph_node::my_graph.
|
inline |
Destructor.
Definition at line 2711 of file flow_graph.h.
References tbb::flow::interface11::sequencer_node< T, Allocator >::my_sequencer.
tbb::flow::interface11::sequencer_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." | |||
) |
|
inlineprivate |
Definition at line 2724 of file flow_graph.h.
References tbb::internal::__TBB_store_with_release(), internal::item_buffer< T, cache_aligned_allocator< T > >::capacity(), internal::FAILED, internal::item_buffer< T, cache_aligned_allocator< T > >::grow_my_array(), internal::item_buffer< T, cache_aligned_allocator< T > >::my_head, internal::item_buffer< T, cache_aligned_allocator< T > >::my_tail, internal::item_buffer< T, cache_aligned_allocator< T > >::place_item(), internal::item_buffer< T, cache_aligned_allocator< T > >::size(), and internal::SUCCEEDED.
|
private |
Definition at line 2669 of file flow_graph.h.
Referenced by tbb::flow::interface11::sequencer_node< T, Allocator >::~sequencer_node().