TPIE

2362a60
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 42 of file pipeline.h.

Constructor & Destructor Documentation

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

Virtual dtor.

Definition at line 82 of file pipeline.h.

82 {}

Member Function Documentation

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 65 of file pipeline.h.

65 {plot_impl(out, false);}
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 77 of file pipeline.h.

77 {plot_impl(out, true);}

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