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 305 of file flow_graph.h.
The successor type for this node.
Definition at line 310 of file flow_graph.h.
|
inlinevirtual |
Definition at line 312 of file flow_graph.h.
|
pure virtual |
Add a new successor to this node.
Implemented in tbb::flow::interface11::input_node< Output >, tbb::flow::interface11::source_node< Output >, tbb::flow::interface11::broadcast_node< T >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::buffer_node< T, __TBB_DEFAULT_NODE_ALLOCATOR(T) >, tbb::flow::interface11::limiter_node< T, DecrementType >, tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >, internal::function_output< Output >, and tbb::flow::interface11::overwrite_node< T >.
|
pure virtual |
Removes a successor from this node.
Implemented in tbb::flow::interface11::input_node< Output >, tbb::flow::interface11::source_node< Output >, tbb::flow::interface11::broadcast_node< T >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::buffer_node< T, __TBB_DEFAULT_NODE_ALLOCATOR(T) >, tbb::flow::interface11::limiter_node< T, DecrementType >, tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >, internal::function_output< Output >, and tbb::flow::interface11::overwrite_node< T >.
|
inlinevirtual |
Consumes the reserved item.
Reimplemented in tbb::flow::interface11::input_node< Output >, tbb::flow::interface11::source_node< Output >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::buffer_node< T, __TBB_DEFAULT_NODE_ALLOCATOR(T) >, and tbb::flow::interface11::overwrite_node< T >.
Definition at line 328 of file flow_graph.h.
|
inlineprotected |
Request an item from the sender.
Definition at line 343 of file flow_graph.h.
References try_get_wrapper().
|
protectedpure virtual |
Implemented in tbb::flow::interface11::sender< T >, tbb::flow::interface11::sender< Output >, and tbb::flow::interface11::sender< continue_msg >.
Referenced by try_get().
|
inlinevirtual |
Releases the reserved item.
Reimplemented in tbb::flow::interface11::input_node< Output >, tbb::flow::interface11::source_node< Output >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::buffer_node< T, __TBB_DEFAULT_NODE_ALLOCATOR(T) >, and tbb::flow::interface11::overwrite_node< T >.
Definition at line 325 of file flow_graph.h.
|
inlineprotected |
Reserves an item in the sender.
Definition at line 349 of file flow_graph.h.
References try_reserve_wrapper().
|
protectedpure virtual |
Implemented in tbb::flow::interface11::sender< T >, tbb::flow::interface11::sender< Output >, and tbb::flow::interface11::sender< continue_msg >.
Referenced by try_reserve().
|
friend |
Definition at line 306 of file flow_graph.h.
|
friend |
Definition at line 307 of file flow_graph.h.