TPIE

2362a60
tpie::pipelining::parallel_bits::threads< Input, Output > Class Template Reference

Class containing an array of node instances. More...

#include <tpie/pipelining/parallel/base.h>

Inherited by tpie::pipelining::parallel_bits::threads_impl< Input, Output, fact_t >.

Classes

class  progress_indicator_hook
 Factory hook that sets the progress indicator of the nodes run in parallel to the null progress indicator. More...
 

Public Member Functions

before_toperator[] (size_t idx)
 
stream_size_type sum_steps ()
 

Protected Types

typedef progress_indicator_null pi_t
 Progress indicator type. More...
 

Protected Attributes

aligned_array< pi_t, alignment > m_progressIndicators
 
std::vector< before_t * > m_dests
 

Static Protected Attributes

static const size_t alignment = 64
 

Friends

class progress_indicator_hook
 

Detailed Description

template<typename Input, typename Output>
class tpie::pipelining::parallel_bits::threads< Input, Output >

Class containing an array of node instances.

We cannot use tpie::array or similar, since we need to construct the elements in a special way. This class is non-copyable since it resides in the refcounted state class.

Template Parameters
fact_tType of factory constructing the worker
OutputType of output items

Definition at line 57 of file base.h.

Member Typedef Documentation

template<typename Input, typename Output>
typedef progress_indicator_null tpie::pipelining::parallel_bits::threads< Input, Output >::pi_t
protected

Progress indicator type.

Definition at line 64 of file base.h.


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