Virtual chunk that has no output (that is, virtual consumer). More...
#include <tpie/pipelining/virtual.h>
Inherits tpie::pipelining::bits::virtual_chunk_base.
Public Member Functions | |
virtual_chunk_end () | |
Constructor that leaves the virtual chunk unassigned. More... | |
template<typename fact_t > | |
virtual_chunk_end (const pipe_end< fact_t > &pipe, virtual_container *ctr=0) | |
Constructor that recursively constructs a node and takes ownership of it. More... | |
template<typename Mid > | |
virtual_chunk_end (const virtual_chunk< Input, Mid > &left, const virtual_chunk_end< Mid > &right) | |
Constructor that combines two virtual chunks. More... | |
template<typename fact_t > | |
virtual_chunk_end & | operator= (const pipe_end< fact_t > &pipe) |
Construct a node and assign it to this virtual chunk. More... | |
virt_node::ptr | get_node () const |
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 |
Friends | |
class | bits::access |
Virtual chunk that has no output (that is, virtual consumer).
|
inline |
|
inline |
tpie::pipelining::virtual_chunk_end< Input >::virtual_chunk_end | ( | const virtual_chunk< Input, Mid > & | left, |
const virtual_chunk_end< Mid > & | right | ||
) |
Constructor that combines two virtual chunks.
Assumes that the virtual nodes are already connected. You should not use this constructor directly; instead, use the pipe operator.
Definition at line 455 of file virtual.h.
|
inherited |
Invoke the pipeline.
|
inline |
Construct a node and assign it to this virtual chunk.
Definition at line 347 of file virtual.h.
References tpie::pipelining::node::get_node_map(), tpie::log_error(), and tpie::pipelining::bits::virt_node::take_own().
|
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).