TPIE

v1.1rc1-6-g0c97303
tpie::pipelining::pipe_middle< fact_t > Class Template Reference

A pipe_middle class pushes input down the pipeline. More...

#include <tpie/pipelining/pipe_base.h>

Inherits tpie::pipelining::bits::pipe_nonterm_base< pipe_middle< fact_t > >.

Public Types

typedef fact_t factory_type
 

Public Member Functions

 pipe_middle (const fact_t &factory)
 
template<typename fact2_t >
pipe_middle
< bits::pair_factory< fact_t,
fact2_t > > 
operator| (const pipe_middle< fact2_t > &r)
 The pipe operator combines this generator/filter with another filter. More...
 
template<typename fact2_t >
pipe_end
< bits::termpair_factory
< fact_t, fact2_t > > 
operator| (const pipe_end< fact2_t > &r)
 This pipe operator combines this generator/filter with a terminator to make a pipeline. More...
 
constructed< dest_t >::type construct (const dest_t &dest) const
 
pipe_middle< fact_t > & memory (double amount)
 
double memory () const
 
pipe_middle< fact_t > & name (const std::string &n, priority_type p=PRIORITY_USER)
 
pipe_middle< fact_t > & breadcrumb (const std::string &n)
 

Public Attributes

fact_t factory
 

Protected Member Functions

pipe_middle< fact_t > & self ()
 
const pipe_middle< fact_t > & self () const
 

Detailed Description

template<typename fact_t>
class tpie::pipelining::pipe_middle< fact_t >

A pipe_middle class pushes input down the pipeline.

Template Parameters
fact_tA factory with a construct() method like the factory_0, factory_1, etc. helpers.

Definition at line 119 of file pipe_base.h.

Member Function Documentation

template<typename fact_t>
template<typename fact2_t >
pipe_middle<bits::pair_factory<fact_t, fact2_t> > tpie::pipelining::pipe_middle< fact_t >::operator| ( const pipe_middle< fact2_t > &  r)
inline

The pipe operator combines this generator/filter with another filter.

Definition at line 134 of file pipe_base.h.

134  {
135  return bits::pair_factory<fact_t, fact2_t>(factory, r.factory);
136  }
template<typename fact_t>
template<typename fact2_t >
pipe_end<bits::termpair_factory<fact_t, fact2_t> > tpie::pipelining::pipe_middle< fact_t >::operator| ( const pipe_end< fact2_t > &  r)
inline

This pipe operator combines this generator/filter with a terminator to make a pipeline.

Definition at line 144 of file pipe_base.h.

144  {
145  return bits::termpair_factory<fact_t, fact2_t>(factory, r.factory);
146  }

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