|
Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Implements async node. More...
#include <flow_graph.h>
Classes | |
| class | receiver_gateway_impl |
| struct | try_put_functor |
Public Member Functions | |
| template<typename Body > | |
| __TBB_NOINLINE_SYM | async_node (graph &g, size_t concurrency,) |
| __TBB_NOINLINE_SYM | async_node (const async_node &other) |
| gateway_type & | gateway () |
| bool | register_successor (successor_type &r) __TBB_override |
| Add a new successor to this node. More... | |
| bool | remove_successor (successor_type &r) __TBB_override |
| Removes a successor from this node. More... | |
| template<typename Body > | |
| Body | copy_function_object () |
Public Member Functions inherited from tbb::flow::interface11::multifunction_node< Input, tuple< Output >, Policy, Allocator > | |
| __TBB_NOINLINE_SYM | multifunction_node (graph &g, size_t concurrency,) |
| __TBB_NOINLINE_SYM | multifunction_node (const multifunction_node &other) |
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::sender< Output > | |
| virtual bool | try_get (Output &) |
| Request an item from the sender. More... | |
| virtual bool | try_reserve (Output &) |
| Reserves an item in the sender. More... | |
Public Member Functions inherited from tbb::flow::interface11::internal::untyped_sender | |
| virtual | ~untyped_sender () |
| virtual bool | try_release () |
| Releases the reserved item. More... | |
| virtual bool | try_consume () |
| Consumes the reserved item. More... | |
Protected Member Functions | |
| void | reset_node (reset_flags f) __TBB_override |
Protected Member Functions inherited from tbb::flow::interface11::multifunction_node< Input, tuple< Output >, Policy, Allocator > | |
| void | reset_node (reset_flags f) __TBB_override |
Protected Member Functions inherited from tbb::flow::interface11::sender< Output > | |
| virtual bool | try_get_wrapper (void *p, bool is_async) __TBB_override |
| virtual bool | try_reserve_wrapper (void *p, bool is_async) __TBB_override |
Protected Member Functions inherited from tbb::flow::interface11::internal::untyped_sender | |
| template<typename X > | |
| bool | try_get (X &t) |
| Request an item from the sender. More... | |
| template<typename X > | |
| bool | try_reserve (X &t) |
| Reserves an item in the sender. More... | |
Private Types | |
| typedef multifunction_node< Input, tuple< Output >, Policy, Allocator > | base_type |
| typedef internal::multifunction_input< Input, typename base_type::output_ports_type, Policy, Allocator > | mfn_input_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 removed in the future. ""To temporary enable the deprecated interface specify TBB_ENABLE_DEPRECATED_NODE_ALLOCATOR.") | |
| async_node * | self () |
| bool | try_put_impl (const Output &i) |
| Implements gateway_type::try_put for an external activity to submit a message to FG. More... | |
Private Attributes | |
| tbb::flow::interface11::async_node::receiver_gateway_impl | my_gateway |
Additional Inherited Members | |
Public Attributes inherited from tbb::flow::interface11::sender< Output > | |
| __TBB_DEPRECATED typedef Output | output_type |
| The output type of this sender. More... | |
| __TBB_DEPRECATED typedef internal::async_helpers< Output >::filtered_type | filtered_type |
Protected Attributes inherited from tbb::flow::interface11::graph_node | |
| graph & | my_graph |
| graph_node * | next |
| graph_node * | prev |
Static Protected Attributes inherited from tbb::flow::interface11::multifunction_node< Input, tuple< Output >, Policy, Allocator > | |
| static const int | N |
Implements async node.
Definition at line 4211 of file flow_graph.h.
| typedef internal::async_body_base<gateway_type> tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::async_body_base_type |
Definition at line 4231 of file flow_graph.h.
|
private |
Definition at line 4221 of file flow_graph.h.
| typedef receiver_gateway<output_type> tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::gateway_type |
Definition at line 4230 of file flow_graph.h.
| typedef Input tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::input_type |
Definition at line 4225 of file flow_graph.h.
|
private |
Definition at line 4222 of file flow_graph.h.
| typedef base_type::output_ports_type tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::output_ports_type |
Definition at line 4232 of file flow_graph.h.
| typedef Output tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::output_type |
Definition at line 4226 of file flow_graph.h.
| typedef receiver_type::predecessor_type tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::predecessor_type |
Definition at line 4228 of file flow_graph.h.
| typedef receiver<input_type> tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::receiver_type |
Definition at line 4227 of file flow_graph.h.
| typedef sender<output_type>::successor_type tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::successor_type |
Definition at line 4229 of file flow_graph.h.
|
inline |
Definition at line 4291 of file flow_graph.h.
References __TBB_FLOW_GRAPH_PRIORITY_ARG1, __TBB_NOINLINE_SYM, CODEPTR, tbb::flow::interface11::graph_node::my_graph, and tbb::flow::internal::no_priority.
|
inline |
Definition at line 4331 of file flow_graph.h.
References CODEPTR, and tbb::flow::interface11::graph_node::my_graph.
|
private |
|
inline |
Definition at line 4363 of file flow_graph.h.
References __TBB_override.
|
inline |
Definition at line 4340 of file flow_graph.h.
References __TBB_override, and tbb::internal::fgt_multioutput_node_desc().
|
inlinevirtual |
Add a new successor to this node.
Implements tbb::flow::interface11::internal::untyped_sender.
Definition at line 4353 of file flow_graph.h.
|
inlinevirtual |
Removes a successor from this node.
Implements tbb::flow::interface11::internal::untyped_sender.
Definition at line 4358 of file flow_graph.h.
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::graph_node.
Definition at line 4398 of file flow_graph.h.
|
inlineprivate |
Definition at line 4270 of file flow_graph.h.
|
inlineprivate |
Implements gateway_type::try_put for an external activity to submit a message to FG.
Definition at line 4273 of file flow_graph.h.
References __TBB_ASSERT, tbb::task_list::empty(), tbb::flow::interface11::internal::enqueue_in_graph_arena(), tbb::internal::fgt_async_try_put_begin(), tbb::internal::fgt_async_try_put_end(), tbb::flow::interface11::internal::broadcast_cache< T, M >::gather_successful_try_puts(), tbb::flow::interface11::graph_node::my_graph, tbb::task_list::pop_front(), and tbb::flow::interface11::internal::function_output< Output >::successors().
|
private |