Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::flow::interface11::graph_node Class Referenceabstract

The base of all graph nodes. More...

#include <_flow_graph_impl.h>

Inheritance diagram for tbb::flow::interface11::graph_node:
Collaboration diagram for tbb::flow::interface11::graph_node:

Public Member Functions

 graph_node (graph &g)
 
virtual ~graph_node ()
 

Protected Member Functions

virtual void reset_node (reset_flags f=rf_reset_protocol)=0
 

Protected Attributes

graphmy_graph
 
graph_nodenext
 
graph_nodeprev
 

Friends

class graph
 
template<typename C , typename N >
class graph_iterator
 

Additional Inherited Members

- Private Member Functions inherited from tbb::internal::no_copy
 no_copy (const no_copy &)=delete
 
 no_copy ()=default
 

Detailed Description

The base of all graph nodes.

Definition at line 454 of file _flow_graph_impl.h.

Constructor & Destructor Documentation

graph_node::~graph_node ( )
inlinevirtual

Definition at line 892 of file flow_graph.h.

References my_graph, and tbb::flow::interface10::graph::remove_node().

892  {
893  my_graph.remove_node(this);
894 }
void remove_node(tbb::flow::interface11::graph_node *n)
Definition: flow_graph.h:831

Here is the call graph for this function:

Member Function Documentation

virtual void tbb::flow::interface11::graph_node::reset_node ( reset_flags  f = rf_reset_protocol)
protectedpure virtual

Implemented in tbb::flow::interface11::overwrite_node< T >, tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >, tbb::flow::interface11::composite_node< tbb::flow::tuple<>, tbb::flow::tuple< OutputTypes... > >, tbb::flow::interface11::composite_node< tbb::flow::tuple< InputTypes... >, tbb::flow::tuple<> >, tbb::flow::interface11::composite_node< tbb::flow::tuple< InputTypes... >, tbb::flow::tuple< OutputTypes... > >, tbb::flow::interface11::limiter_node< T, DecrementType >, tbb::flow::interface11::priority_queue_node< T, Compare, Allocator >, tbb::flow::interface11::queue_node< T, Allocator >, tbb::flow::interface11::buffer_node< T, Allocator >, tbb::flow::interface11::broadcast_node< T >, tbb::flow::interface11::continue_node< Output, Policy >, tbb::flow::interface11::split_node< TupleType, Allocator >, tbb::flow::interface11::multifunction_node< Input, Output, Policy, Allocator >, tbb::flow::interface11::multifunction_node< Input, tuple< Output >, Policy, Allocator >, tbb::flow::interface11::multifunction_node< kernel_input_tuple, output_tuple >, tbb::flow::interface11::multifunction_node< indexer_node_output_type, kernel_input_tuple >, tbb::flow::interface11::function_node< Input, Output, Policy, Allocator >, tbb::flow::interface11::internal::join_node_base< JP, InputTuple, OutputTuple >, tbb::flow::interface11::source_node< Output >, tbb::flow::interface11::input_node< Output >, and tbb::flow::interface11::internal::indexer_node_base< InputTuple, OutputType, StructTypes >.

Friends And Related Function Documentation

friend class graph
friend

Definition at line 455 of file _flow_graph_impl.h.

template<typename C , typename N >
friend class graph_iterator
friend

Definition at line 457 of file _flow_graph_impl.h.

Member Data Documentation

graph& tbb::flow::interface11::graph_node::my_graph
protected

Definition at line 464 of file _flow_graph_impl.h.

Referenced by tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::async_node(), tbb::flow::interface11::broadcast_node< T >::broadcast_node(), tbb::flow::interface11::buffer_node< T, Allocator >::buffer_node(), tbb::flow::interface11::composite_node< tbb::flow::tuple< InputTypes... >, tbb::flow::tuple< OutputTypes... > >::composite_node(), tbb::flow::interface11::input_node< Output >::create_put_task(), tbb::flow::interface11::source_node< Output >::create_put_task(), tbb::flow::interface11::buffer_node< T, Allocator >::forward_task(), tbb::flow::interface11::limiter_node< T, DecrementType >::forward_task(), graph_node(), tbb::flow::interface11::broadcast_node< T >::graph_reference(), tbb::flow::interface11::buffer_node< T, Allocator >::graph_reference(), tbb::flow::interface11::limiter_node< T, DecrementType >::graph_reference(), tbb::flow::interface11::overwrite_node< T >::graph_reference(), tbb::flow::interface11::buffer_node< T, Allocator >::handle_operations_impl(), tbb::flow::interface11::indexer_node< T0 >::indexer_node(), tbb::flow::interface11::indexer_node< T0, T1 >::indexer_node(), tbb::flow::interface11::indexer_node< T0, T1, T2 >::indexer_node(), tbb::flow::interface11::indexer_node< T0, T1, T2, T3 >::indexer_node(), tbb::flow::interface11::indexer_node< T0, T1, T2, T3, T4 >::indexer_node(), tbb::flow::interface11::indexer_node< T0, T1, T2, T3, T4, T5 >::indexer_node(), tbb::flow::interface11::indexer_node< T0, T1, T2, T3, T4, T5, T6 >::indexer_node(), tbb::flow::interface11::indexer_node< T0, T1, T2, T3, T4, T5, T6, T7 >::indexer_node(), tbb::flow::interface11::indexer_node< T0, T1, T2, T3, T4, T5, T6, T7, T8 >::indexer_node(), tbb::flow::interface11::indexer_node< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::indexer_node(), tbb::flow::interface11::limiter_node< T, DecrementType >::initialize(), tbb::flow::interface11::join_node< OutputTuple, reserving >::join_node(), tbb::flow::interface11::join_node< OutputTuple, queueing >::join_node(), tbb::flow::interface11::join_node< OutputTuple, key_matching< K, KHash > >::join_node(), tbb::flow::interface11::internal::key_from_message_body< K &, T >::operator()(), tbb::flow::interface11::overwrite_node< T >::overwrite_node(), tbb::flow::interface11::priority_queue_node< T, Compare, Allocator >::priority_queue_node(), tbb::flow::interface11::queue_node< T, Allocator >::queue_node(), tbb::flow::interface11::limiter_node< T, DecrementType >::register_predecessor(), tbb::flow::interface11::limiter_node< T, DecrementType >::register_successor(), tbb::flow::interface11::overwrite_node< T >::register_successor(), tbb::flow::interface11::source_node< Output >::reset_node(), tbb::flow::interface11::composite_node< tbb::flow::tuple< InputTypes... >, tbb::flow::tuple< OutputTypes... > >::reset_node(), tbb::flow::interface11::sequencer_node< T, Allocator >::sequencer_node(), tbb::flow::interface11::source_node< Output >::source_node(), tbb::flow::interface11::input_node< Output >::spawn_put(), tbb::flow::interface11::source_node< Output >::spawn_put(), tbb::flow::interface11::split_node< TupleType, Allocator >::split_node(), tbb::flow::interface11::buffer_node< T, Allocator >::try_put_and_add_task(), tbb::flow::interface11::async_node< Input, Output, Policy, Allocator >::try_put_impl(), tbb::flow::interface11::limiter_node< T, DecrementType >::try_put_task(), tbb::flow::interface11::internal::unfolded_join_node< 7, key_matching_port, OutputTuple, key_matching< K, KHash > >::unfolded_join_node(), tbb::flow::interface11::internal::unfolded_join_node< 8, key_matching_port, OutputTuple, key_matching< K, KHash > >::unfolded_join_node(), tbb::flow::interface11::write_once_node< T >::write_once_node(), and ~graph_node().

graph_node* tbb::flow::interface11::graph_node::next
protected

Definition at line 465 of file _flow_graph_impl.h.

Referenced by tbb::flow::interface10::graph::register_node().

graph_node * tbb::flow::interface11::graph_node::prev
protected

Definition at line 465 of file _flow_graph_impl.h.

Referenced by tbb::flow::interface10::graph::register_node().


The documentation for this class was generated from the following files:

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.