Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <flow_graph.h>
Public Types | |
typedef untyped_receiver | successor_type |
The successor type for this node. More... | |
Public Member Functions | |
virtual | ~untyped_sender () |
virtual bool | register_successor (successor_type &r)=0 |
Add a new successor to this node. More... | |
virtual bool | remove_successor (successor_type &r)=0 |
Removes a successor from this node. More... | |
virtual bool | try_release () |
Releases the reserved item. More... | |
virtual bool | try_consume () |
Consumes the reserved item. More... | |
Protected Member Functions | |
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... | |
virtual bool | try_get_wrapper (void *p, bool is_async)=0 |
virtual bool | try_reserve_wrapper (void *p, bool is_async)=0 |
Friends | |
template<typename , typename > | |
class | internal::predecessor_cache |
template<typename , typename > | |
class | internal::reservable_predecessor_cache |
Definition at line 306 of file flow_graph.h.
The successor type for this node.
Definition at line 311 of file flow_graph.h.
|
inlinevirtual |
Definition at line 313 of file flow_graph.h.
|
pure virtual |
Add a new successor to this node.
Implemented in tbb::flow::interface11::overwrite_node< T >, tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >, tbb::flow::interface11::limiter_node< T, DecrementType >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::broadcast_node< T >, tbb::flow::interface11::internal::join_node_base< JP, InputTuple, OutputTuple >, internal::join_node_base< JP, InputTuple, OutputTuple >, tbb::flow::interface11::source_node< Output >, tbb::flow::interface11::input_node< Output >, tbb::flow::interface11::internal::function_output< Output >, internal::function_output< Output >, tbb::flow::interface11::internal::indexer_node_base< InputTuple, OutputType, StructTypes >, and internal::indexer_node_base< InputTuple, OutputType, StructTypes >.
|
pure virtual |
Removes a successor from this node.
Implemented in tbb::flow::interface11::overwrite_node< T >, tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >, tbb::flow::interface11::limiter_node< T, DecrementType >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::broadcast_node< T >, tbb::flow::interface11::internal::join_node_base< JP, InputTuple, OutputTuple >, internal::join_node_base< JP, InputTuple, OutputTuple >, tbb::flow::interface11::source_node< Output >, tbb::flow::interface11::input_node< Output >, tbb::flow::interface11::internal::function_output< Output >, internal::function_output< Output >, tbb::flow::interface11::internal::indexer_node_base< InputTuple, OutputType, StructTypes >, and internal::indexer_node_base< InputTuple, OutputType, StructTypes >.
|
inlinevirtual |
Consumes the reserved item.
Reimplemented in tbb::flow::interface11::overwrite_node< T >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::source_node< Output >, and tbb::flow::interface11::input_node< Output >.
Definition at line 329 of file flow_graph.h.
|
inlineprotected |
Request an item from the sender.
Definition at line 344 of file flow_graph.h.
|
protectedpure virtual |
|
inlinevirtual |
Releases the reserved item.
Reimplemented in tbb::flow::interface11::overwrite_node< T >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::source_node< Output >, and tbb::flow::interface11::input_node< Output >.
Definition at line 326 of file flow_graph.h.
|
inlineprotected |
Reserves an item in the sender.
Definition at line 350 of file flow_graph.h.
|
protectedpure virtual |
|
friend |
Definition at line 307 of file flow_graph.h.
|
friend |
Definition at line 308 of file flow_graph.h.