PrevUpHomeNext

Class segment<terminated, terminated>

boost::pipeline::segment<terminated, terminated>

Synopsis

// In header: <boost/pipeline/type_erasure.hpp>


class segment<terminated, terminated> {
public:
  // construct/copy/destruct
  segment(const segment< terminated, terminated > &);
  segment(unspecified);

  // public member functions
  execution run(thread_pool &);
};

Description

A complete (left and right-terminated), runnable segment.

segment public construct/copy/destruct

  1. segment(const segment< terminated, terminated > & rhs);

    Copy constructor

  2. segment(unspecified impl);

    Creates a segment from any kind of matching segment of unspecified type.

    segment<terminated, terminated> s = from(lines) | trim | trimmed_lines;
    s.run(pool);
    

    Parameters:

    impl

    Any kind of complete segment

segment public member functions

  1. execution run(thread_pool & pool);

    Schedules the segment on pool.

    Returns:

    An execution instance representing the running pipeline.


PrevUpHomeNext