Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Implements an executable node that supports continue_msg -> Output. More...
#include <flow_graph.h>
Public Member Functions | |
template<typename Body > | |
continue_node (graph &g,) | |
Constructor for executable node with continue_msg -> Output. More... | |
template<typename Body > | |
continue_node (graph &g, int number_of_predecessors,) | |
Constructor for executable node with continue_msg -> Output. More... | |
continue_node (const continue_node &src) | |
Copy constructor. More... | |
![]() | |
graph_node (graph &g) | |
virtual | ~graph_node () |
![]() | |
template<typename Body > | |
continue_input (graph &g, __TBB_FLOW_GRAPH_PRIORITY_ARG1(Body &body, node_priority_t priority)) | |
template<typename Body > | |
continue_input (graph &g, int number_of_predecessors,) | |
continue_input (const continue_input &src) | |
~continue_input () | |
template<typename Body > | |
Body | copy_function_object () |
void | reset_receiver (reset_flags f) __TBB_override |
put receiver back in initial state More... | |
![]() | |
continue_receiver (__TBB_FLOW_GRAPH_PRIORITY_ARG1(int number_of_predecessors, node_priority_t priority)) | |
Constructor. More... | |
continue_receiver (const continue_receiver &src) | |
Copy constructor. More... | |
bool | register_predecessor (predecessor_type &) __TBB_override |
Increments the trigger threshold. More... | |
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... | |
![]() | |
function_output () | |
function_output (const function_output &) | |
bool | register_successor (successor_type &r) __TBB_override |
Adds a new successor to this node. More... | |
bool | remove_successor (successor_type &r) __TBB_override |
Removes a successor from this node. More... | |
task * | try_put_task (const output_type &i) |
broadcast_cache_type & | successors () |
![]() | |
virtual bool | try_get (Output &) |
Request an item from the sender. More... | |
virtual bool | try_reserve (Output &) |
Reserves an item in the sender. More... | |
![]() | |
virtual | ~untyped_sender () |
virtual bool | try_release () |
Releases the reserved item. More... | |
virtual bool | try_consume () |
Consumes the reserved item. More... | |
Protected Member Functions | |
internal::broadcast_cache< output_type > & | successors () __TBB_override |
void | reset_node (reset_flags f) __TBB_override |
![]() | |
task * | apply_body_bypass (input_type) |
Applies the body to the provided input. More... | |
task * | execute () __TBB_override |
Does whatever should happen when the threshold is reached. More... | |
graph & | graph_reference () __TBB_override |
![]() | |
task * | try_put_task (const input_type &) __TBB_override |
Put item to successor; return task to run the successor if possible. More... | |
bool | is_continue_receiver () __TBB_override |
![]() | |
virtual task * | try_put_task_wrapper (const void *p, bool is_async) __TBB_override |
![]() | |
template<typename X > | |
task * | try_put_task (const X &t) |
![]() | |
virtual bool | try_get_wrapper (void *p, bool is_async) __TBB_override |
virtual bool | try_reserve_wrapper (void *p, bool is_async) __TBB_override |
![]() | |
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... | |
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 | |
![]() | |
graph & | my_graph |
graph_node * | next |
graph_node * | prev |
![]() | |
graph & | my_graph_ref |
function_body_type * | my_body |
function_body_type * | my_init_body |
![]() | |
spin_mutex | my_mutex |
int | my_predecessor_count |
int | my_current_count |
int | my_initial_predecessor_count |
![]() | |
broadcast_cache_type | my_successors |
Implements an executable node that supports continue_msg -> Output.
Definition at line 1338 of file flow_graph.h.
typedef internal::function_output<output_type> tbb::flow::interface10::continue_node< Output, Policy >::fOutput_type |
Definition at line 1344 of file flow_graph.h.
typedef internal::continue_input<Output, Policy> tbb::flow::interface10::continue_node< Output, Policy >::input_impl_type |
Definition at line 1343 of file flow_graph.h.
typedef continue_msg tbb::flow::interface10::continue_node< Output, Policy >::input_type |
Definition at line 1341 of file flow_graph.h.
typedef Output tbb::flow::interface10::continue_node< Output, Policy >::output_type |
Definition at line 1342 of file flow_graph.h.
typedef input_impl_type::predecessor_type tbb::flow::interface10::continue_node< Output, Policy >::predecessor_type |
Definition at line 1345 of file flow_graph.h.
typedef fOutput_type::successor_type tbb::flow::interface10::continue_node< Output, Policy >::successor_type |
Definition at line 1346 of file flow_graph.h.
|
inline |
Constructor for executable node with continue_msg -> Output.
Definition at line 1350 of file flow_graph.h.
References tbb::internal::fgt_node_with_body().
|
inline |
Constructor for executable node with continue_msg -> Output.
Definition at line 1361 of file flow_graph.h.
References tbb::internal::fgt_node_with_body().
|
inline |
Copy constructor.
Definition at line 1372 of file flow_graph.h.
References __TBB_override, tbb::internal::fgt_node_desc(), and tbb::internal::fgt_node_with_body().
|
inlineprotectedvirtual |
Implements tbb::flow::interface10::graph_node.
Definition at line 1400 of file flow_graph.h.
|
inlineprotectedvirtual |
Implements tbb::flow::interface10::internal::continue_input< Output, Policy >.
Definition at line 1398 of file flow_graph.h.
|
friend |
Definition at line 1395 of file flow_graph.h.
|
friend |
Definition at line 1396 of file flow_graph.h.
|
friend |
Definition at line 1394 of file flow_graph.h.