TPIE

v1.1rc1-6-g0c97303
tpie::pipelining::bits::pair_factory_base< child_t > Class Template Reference

Public Member Functions

 pair_factory_base (const pair_factory_base &other)
 
double memory () const
 
void name (const std::string &n, priority_type)
 
void push_breadcrumb (const std::string &n)
 
void hook_initialization (factory_init_hook *hook)
 See factory_base::hook_initialization. More...
 
template<typename pipe_t >
pipe_t record (size_t idx, const pipe_t &pipe) const
 Internal - used by subclasses to record references to node_maps for a later connectivity check. More...
 
void assert_connected () const
 
child_t & final ()
 Signal that this factory is used to instantiate a pipeline_impl, i.e. More...
 

Detailed Description

template<typename child_t>
class tpie::pipelining::bits::pair_factory_base< child_t >

Definition at line 34 of file pair_factory.h.

Member Function Documentation

template<typename child_t>
child_t& tpie::pipelining::bits::pair_factory_base< child_t >::final ( )
inline

Signal that this factory is used to instantiate a pipeline_impl, i.e.

that it was made by piping together a pipe_begin and a pipe_end.

Definition at line 107 of file pair_factory.h.

107  {
108  m_final = true;
109  return self();
110  }
template<typename child_t>
void tpie::pipelining::bits::pair_factory_base< child_t >::hook_initialization ( factory_init_hook hook)
inline

See factory_base::hook_initialization.

Definition at line 66 of file pair_factory.h.

66  {
67  self().hook_initialization_impl(hook);
68  }
template<typename child_t>
template<typename pipe_t >
pipe_t tpie::pipelining::bits::pair_factory_base< child_t >::record ( size_t  idx,
const pipe_t &  pipe 
) const
inline

Internal - used by subclasses to record references to node_maps for a later connectivity check.

Definition at line 75 of file pair_factory.h.

75  {
76  m_maps[idx] = pipe.get_node_map();
77  if (idx == 0 && m_final) {
78  // Now is the opportunity to check that the constructed pipeline is
79  // connected.
80  assert_connected();
81  self().recursive_connected_check();
82  }
83  return pipe;
84  }

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