Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <flow_graph.h>
Public Types | |
typedef continue_msg | input_type |
typedef continue_msg | output_type |
![]() | |
typedef untyped_sender | predecessor_type |
The predecessor type for this node. More... | |
Public Member Functions | |
decrementer (int number_of_predecessors=0) | |
void | set_owner (T *node) |
![]() | |
__TBB_DEPRECATED | continue_receiver (__TBB_FLOW_GRAPH_PRIORITY_ARG1(int number_of_predecessors, node_priority_t priority)) |
Constructor. More... | |
__TBB_DEPRECATED | continue_receiver (const continue_receiver &src) |
Copy constructor. More... | |
__TBB_DEPRECATED bool | register_predecessor (predecessor_type &) __TBB_override |
Increments the trigger threshold. More... | |
__TBB_DEPRECATED bool | remove_predecessor (predecessor_type &) __TBB_override |
Decrements the trigger threshold. More... | |
![]() | |
bool | try_put (const typename internal::async_helpers< continue_msg >::filtered_type &t) |
Put an item to the receiver. More... | |
bool | try_put (const typename internal::async_helpers< continue_msg >::async_type &t) |
![]() | |
virtual | ~untyped_receiver () |
Destructor. More... | |
template<typename X > | |
bool | try_put (const X &t) |
Put an item to the receiver. More... | |
Protected Member Functions | |
graph & | graph_reference () const __TBB_override |
![]() | |
task * | try_put_task (const input_type &) __TBB_override |
void | reset_receiver (reset_flags f) __TBB_override |
put receiver back in initial state More... | |
bool | is_continue_receiver () __TBB_override |
![]() | |
virtual task * | try_put_task_wrapper (const void *p, bool is_async) __TBB_override |
virtual task * | try_put_task (const continue_msg &t)=0 |
Put item to successor; return task to run the successor if possible. More... | |
![]() | |
template<typename X > | |
task * | try_put_task (const X &t) |
Private Member Functions | |
task * | execute () __TBB_override |
Does whatever should happen when the threshold is reached. More... | |
![]() | |
no_copy (const no_copy &)=delete | |
no_copy ()=default | |
Private Attributes | |
T * | my_node |
Additional Inherited Members | |
![]() | |
__TBB_DEPRECATED typedef continue_msg | input_type |
The input type. More... | |
__TBB_DEPRECATED typedef receiver< input_type >::predecessor_type | predecessor_type |
The predecessor type for this node. More... | |
![]() | |
__TBB_DEPRECATED typedef continue_msg | input_type |
The input type of this receiver. More... | |
__TBB_DEPRECATED typedef internal::async_helpers< continue_msg >::filtered_type | filtered_type |
![]() | |
spin_mutex | my_mutex |
int | my_predecessor_count |
int | my_current_count |
int | my_initial_predecessor_count |
Definition at line 475 of file flow_graph.h.
typedef continue_msg tbb::flow::interface11::internal::decrementer< T, continue_msg, void >::input_type |
Definition at line 491 of file flow_graph.h.
typedef continue_msg tbb::flow::interface11::internal::decrementer< T, continue_msg, void >::output_type |
Definition at line 492 of file flow_graph.h.
|
inline |
Definition at line 493 of file flow_graph.h.
|
inlineprivatevirtual |
Does whatever should happen when the threshold is reached.
This should be very fast or else spawn a task. This is called while the sender is blocked in the try_put().
Implements tbb::flow::interface11::continue_receiver.
Definition at line 479 of file flow_graph.h.
|
inlineprotectedvirtual |
Implements tbb::flow::interface11::internal::untyped_receiver.
Definition at line 485 of file flow_graph.h.
|
inline |
Definition at line 502 of file flow_graph.h.
|
private |
Definition at line 477 of file flow_graph.h.