TPIE

v1.1rc1-6-g0c97303
tpie::pipelining::bits::pipeline_base Class Reference

Virtual superclass for pipelines implementing the function call operator. More...

#include <tpie/pipelining/pipeline.h>

Inherited by tpie::pipelining::bits::pipeline_impl< fact_t >, and tpie::pipelining::bits::virtual_chunk_base.

Public Member Functions

void operator() (stream_size_type items, progress_indicator_base &pi, memory_size_type mem)
 Invoke the pipeline. More...
 
void plot (std::ostream &out)
 Generate a GraphViz plot of the actor graph. More...
 
double memory () const
 
virtual ~pipeline_base ()
 Virtual dtor. More...
 
node_map::ptr get_node_map () const
 
void forward_any (std::string key, const boost::any &value)
 
bool can_fetch (std::string key)
 
boost::any fetch_any (std::string key)
 

Protected Attributes

node_map::ptr m_segmap
 
double m_memory
 

Detailed Description

Virtual superclass for pipelines implementing the function call operator.

Definition at line 39 of file pipeline.h.

Constructor & Destructor Documentation

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

Virtual dtor.

Definition at line 65 of file pipeline.h.

65 {}

Member Function Documentation

void tpie::pipelining::bits::pipeline_base::operator() ( stream_size_type  items,
progress_indicator_base pi,
memory_size_type  mem 
)

Invoke the pipeline.

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

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).


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