Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 ( graph g)
inlineexplicit

Definition at line 887 of file flow_graph.h.

887  : my_graph(g) {
888  my_graph.register_node(this);
889 }
void register_node(tbb::flow::interface11::graph_node *n)
Definition: flow_graph.h:819
graph_node::~graph_node ( )
inlinevirtual

Definition at line 891 of file flow_graph.h.

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

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, U >, 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.

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

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.