Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Forwards messages in sequence order. More...
#include <flow_graph.h>
Public Member Functions | |
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_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, A >::size_type | size_type |
typedef buffer_node< T, A >::buffer_operation | sequencer_operation |
![]() | |
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 | 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 2299 of file flow_graph.h.
typedef T tbb::flow::interface11::sequencer_node< T, A >::input_type |
Definition at line 2304 of file flow_graph.h.
typedef T tbb::flow::interface11::sequencer_node< T, A >::output_type |
Definition at line 2305 of file flow_graph.h.
typedef receiver<input_type>::predecessor_type tbb::flow::interface11::sequencer_node< T, A >::predecessor_type |
Definition at line 2306 of file flow_graph.h.
|
protected |
Definition at line 2345 of file flow_graph.h.
|
protected |
Definition at line 2344 of file flow_graph.h.
typedef sender<output_type>::successor_type tbb::flow::interface11::sequencer_node< T, A >::successor_type |
Definition at line 2307 of file flow_graph.h.
|
inline |
Constructor.
Definition at line 2311 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 2327 of file flow_graph.h.
References CODEPTR, tbb::internal::fgt_node(), and tbb::flow::interface11::graph_node::my_graph.
|
inline |
Destructor.
Definition at line 2335 of file flow_graph.h.
References tbb::flow::interface11::sequencer_node< T, A >::my_sequencer.
|
inlineprivatevirtual |
Reimplemented from tbb::flow::interface11::buffer_node< T, A >.
Definition at line 2348 of file flow_graph.h.
References tbb::internal::__TBB_store_with_release(), internal::item_buffer< T, A >::capacity(), internal::FAILED, internal::item_buffer< T, A >::grow_my_array(), internal::item_buffer< T, A >::my_head, internal::item_buffer< T, A >::my_tail, internal::item_buffer< T, A >::place_item(), internal::item_buffer< T, A >::size(), and internal::SUCCEEDED.
|
private |
Definition at line 2300 of file flow_graph.h.
Referenced by tbb::flow::interface11::sequencer_node< T, A >::~sequencer_node().