TPIE

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

Base class of virtual chunks. Owns a virt_node. More...

#include <tpie/pipelining/virtual.h>

Inherits tpie::pipelining::bits::pipeline_base.

Inherited by tpie::pipelining::virtual_chunk< Input, Output >, tpie::pipelining::virtual_chunk_begin< Output >, and tpie::pipelining::virtual_chunk_end< Input >.

Public Member Functions

virt_node::ptr get_node () const
 
 virtual_chunk_base (node_map::ptr segmap, virt_node::ptr ptr)
 
 virtual_chunk_base (node_map::ptr segmap)
 
void set_container (virtual_container *ctr)
 
 operator bool ()
 
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
 
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

virt_node::ptr m_node
 
node_map::ptr m_segmap
 
double m_memory
 

Detailed Description

Base class of virtual chunks. Owns a virt_node.

Definition at line 243 of file virtual.h.

Member Function Documentation

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

Invoke the pipeline.

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

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: