TPIE

11a2c2d
tpie::pipelining::bits::pipeline_base_base Class Reference

Inherited by tpie::pipelining::bits::pipeline_base, and tpie::pipelining::bits::subpipeline_base.

Public Member Functions

 pipeline_base_base (const pipeline_base_base &)=default
 
pipeline_base_baseoperator= (const pipeline_base_base &)=default
 
 pipeline_base_base (pipeline_base_base &&)=default
 
pipeline_base_baseoperator= (pipeline_base_base &&)=default
 
void plot (std::ostream &out)
 Generate a GraphViz plot of the pipeline. More...
 
void plot_full (std::ostream &out)
 Generate a GraphViz plot of the actor graph. More...
 
virtual ~pipeline_base_base ()
 Virtual dtor. More...
 
void forward_any (std::string key, any_noncopyable value)
 
bool can_fetch (std::string key)
 
any_noncopyablefetch_any (std::string key)
 
node_map::ptr get_node_map () const
 
void output_memory (std::ostream &o) const
 
size_t uid () const
 

Protected Attributes

node_map::ptr m_nodeMap
 
size_t m_uid
 

Detailed Description

Definition at line 41 of file pipeline.h.

Constructor & Destructor Documentation

◆ ~pipeline_base_base()

virtual tpie::pipelining::bits::pipeline_base_base::~pipeline_base_base ( )
inlinevirtual

Virtual dtor.

Definition at line 81 of file pipeline.h.

81 {}

Member Function Documentation

◆ plot()

void tpie::pipelining::bits::pipeline_base_base::plot ( std::ostream &  out)
inline

Generate a GraphViz plot of the pipeline.

When rendered with dot, GraphViz will place the nodes in the topological order of the item flow graph with items flowing from the top downwards.

Thus, a downwards arrow in the plot is a push edge, and an upwards arrow is a pull edge (assuming no cycles in the item flow graph).

Compared to plot_full, sorts, buffers and reversers will be represented as one node in the graph as apposed to 3 or 2. Nodes added by virtual wrapping will not be showed at all

Definition at line 64 of file pipeline.h.

64 {plot_impl(out, false);}

◆ plot_full()

void tpie::pipelining::bits::pipeline_base_base::plot_full ( std::ostream &  out)
inline

Generate a GraphViz plot of the actor graph.

When rendered with dot, GraphViz will place the nodes in the topological order of the item flow graph with items flowing from the top downwards.

Thus, a downwards arrow in the plot is a push edge, and an upwards arrow is a pull edge (assuming no cycles in the item flow graph).

Definition at line 76 of file pipeline.h.

76 {plot_impl(out, true);}

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