TPIE

v1.1rc1-6-g0c97303
tpie::pipelining::serialization_bits::passive_sorter_factory< Traits > Class Template Reference

Factory for the passive sorter input node. More...

#include <tpie/pipelining/serialization_sort.h>

Inherits tpie::pipelining::factory_base.

Public Types

typedef sort_pull_output_t
< Traits > 
output_t
 
typedef sort_calc_t< Traits > calc_t
 
typedef sort_input_t< Traits > input_t
 
typedef input_t constructed_type
 
typedef Traits::sorter_t sorter_t
 
typedef Traits::sorterptr sorterptr
 

Public Member Functions

 passive_sorter_factory (output_t &output)
 
constructed_type construct () const
 
void memory (double amount)
 
double memory () const
 
void hook_initialization (factory_init_hook *hook)
 Add a node initialization hook. More...
 
void copy_hooks_to (factory_base &other) const
 Copy the hooks that have been added to this factory to another. More...
 
void init_segment (node &r) const
 
void init_node (node &r) const
 
void init_sub_node (node &r) const
 
void name (const std::string &n, priority_type p)
 
void push_breadcrumb (const std::string &n)
 

Detailed Description

template<typename Traits>
class tpie::pipelining::serialization_bits::passive_sorter_factory< Traits >

Factory for the passive sorter input node.

Definition at line 416 of file serialization_sort.h.

Member Function Documentation

void tpie::pipelining::factory_base::copy_hooks_to ( factory_base other) const
inlineinherited

Copy the hooks that have been added to this factory to another.

Definition at line 63 of file factory_base.h.

63  {
64  for (size_t i = 0; i < m_hooks.size(); ++i) {
65  other.m_hooks.push_back(m_hooks[i]);
66  }
67  }
void tpie::pipelining::factory_base::hook_initialization ( factory_init_hook hook)
inlineinherited

Add a node initialization hook.

When a node is instantiated in construct(), the given hook will get a chance to do some additional initialization.

Definition at line 56 of file factory_base.h.

56  {
57  m_hooks.push_back(hook);
58  }

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