Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <flow_graph.h>
Public Types | |
typedef T | input_type |
typedef T | output_type |
typedef overwrite_node< T > | base_type |
typedef receiver< input_type >::predecessor_type | predecessor_type |
typedef sender< output_type >::successor_type | successor_type |
![]() | |
typedef T | input_type |
typedef T | output_type |
typedef receiver< input_type >::predecessor_type | predecessor_type |
typedef sender< output_type >::successor_type | successor_type |
Public Member Functions | |
__TBB_NOINLINE_SYM | write_once_node (graph &g) |
Constructor. More... | |
__TBB_NOINLINE_SYM | write_once_node (const write_once_node &src) |
Copy constructor: call base class copy constructor. More... | |
![]() | |
__TBB_NOINLINE_SYM | overwrite_node (graph &g) |
__TBB_NOINLINE_SYM | overwrite_node (const overwrite_node &src) |
Copy constructor; doesn't take anything from src; default won't work. More... | |
~overwrite_node () | |
bool | register_successor (successor_type &s) __TBB_override |
bool | remove_successor (successor_type &s) __TBB_override |
bool | try_get (input_type &v) __TBB_override |
Request an item from the sender. More... | |
bool | try_reserve (T &v) __TBB_override |
Reserves an item. More... | |
bool | try_release () __TBB_override |
Releases the reserved item. More... | |
bool | try_consume () __TBB_override |
Consumes the reserved item. More... | |
bool | is_valid () |
void | clear () |
![]() | |
graph_node (graph &g) | |
virtual | ~graph_node () |
![]() | |
virtual | ~receiver () |
Destructor. More... | |
bool | try_put (const T &t) |
Put an item to the receiver. More... | |
virtual __TBB_DEPRECATED bool | register_predecessor (predecessor_type &) |
Add a predecessor to the node. More... | |
virtual __TBB_DEPRECATED bool | remove_predecessor (predecessor_type &) |
Remove a predecessor from the node. More... | |
![]() | |
virtual | ~sender () |
virtual __TBB_DEPRECATED bool | register_successor (successor_type &r)=0 |
Add a new successor to this node. More... | |
virtual __TBB_DEPRECATED bool | remove_successor (successor_type &r)=0 |
Removes a successor from this node. More... | |
Protected Member Functions | |
task * | try_put_task (const T &v) __TBB_override |
![]() | |
task * | try_put_task_impl (const input_type &v) |
graph & | graph_reference () const __TBB_override |
void | reset_receiver (reset_flags) __TBB_override |
put receiver back in initial state More... | |
void | reset_node (reset_flags f) __TBB_override |
![]() | |
virtual bool | is_continue_receiver () |
Friends | |
template<typename R , typename B > | |
class | run_and_put_task |
template<typename X , typename Y > | |
class | internal::broadcast_cache |
template<typename X , typename Y > | |
class | internal::round_robin_cache |
Additional Inherited Members | |
![]() | |
__TBB_DEPRECATED typedef T | input_type |
The input type of this receiver. More... | |
__TBB_DEPRECATED typedef sender< T > | predecessor_type |
The predecessor type for this node. More... | |
![]() | |
__TBB_DEPRECATED typedef T | output_type |
The output type of this sender. More... | |
__TBB_DEPRECATED typedef receiver< T > | successor_type |
The successor type for this node. More... | |
![]() | |
spin_mutex | my_mutex |
internal::broadcast_cache< input_type, null_rw_mutex > | my_successors |
input_type | my_buffer |
bool | my_buffer_is_valid |
![]() | |
graph & | my_graph |
graph_node * | next |
graph_node * | prev |
Definition at line 4614 of file flow_graph.h.
typedef overwrite_node<T> tbb::flow::interface11::write_once_node< T >::base_type |
Definition at line 4618 of file flow_graph.h.
typedef T tbb::flow::interface11::write_once_node< T >::input_type |
Definition at line 4616 of file flow_graph.h.
typedef T tbb::flow::interface11::write_once_node< T >::output_type |
Definition at line 4617 of file flow_graph.h.
typedef receiver<input_type>::predecessor_type tbb::flow::interface11::write_once_node< T >::predecessor_type |
Definition at line 4619 of file flow_graph.h.
typedef sender<output_type>::successor_type tbb::flow::interface11::write_once_node< T >::successor_type |
Definition at line 4620 of file flow_graph.h.
|
inlineexplicit |
Constructor.
Definition at line 4623 of file flow_graph.h.
References CODEPTR, and tbb::internal::fgt_node().
|
inline |
Copy constructor: call base class copy constructor.
Definition at line 4637 of file flow_graph.h.
References CODEPTR, and tbb::internal::fgt_node().
|
inlineprotectedvirtual |
Reimplemented from tbb::flow::interface11::overwrite_node< T >.
Definition at line 4653 of file flow_graph.h.
|
friend |
Definition at line 4651 of file flow_graph.h.
|
friend |
Definition at line 4652 of file flow_graph.h.
Definition at line 4650 of file flow_graph.h.