Pipelined sorter with push input and pull output. More...
#include <tpie/pipelining/serialization_sort.h>
Public Types | |
typedef T | item_type |
Type of items sorted. More... | |
typedef Traits::sorter_t | sorter_t |
Type of the merge sort implementation used. More... | |
typedef Traits::sorterptr | sorterptr |
Smart pointer to sorter_t. More... | |
typedef serialization_bits::sort_pull_output_t < Traits > | output_t |
Type of pipe sorter output. More... | |
typedef pipe_end < serialization_bits::passive_sorter_factory_input < Traits > > | input_pipe_t |
typedef pullpipe_begin < serialization_bits::passive_sorter_factory_output < Traits > > | output_pipe_t |
Public Member Functions | |
serialization_passive_sorter (pred_t pred=pred_t()) | |
serialization_passive_sorter (const serialization_passive_sorter &)=delete | |
serialization_passive_sorter & | operator= (const serialization_passive_sorter &)=delete |
serialization_passive_sorter (serialization_passive_sorter &&)=default | |
serialization_passive_sorter & | operator= (serialization_passive_sorter &&)=default |
input_pipe_t | input () |
Get the input push node. More... | |
output_pipe_t | output () |
Get the output pull node. More... | |
Pipelined sorter with push input and pull output.
Get the input pipe with input()
and the output pullpipe with output()
. input() must not be called after output().
T | The type of item to sort |
pred_t | The predicate (e.g. std::less<T>) indicating the predicate on which to order an item before another. |
Definition at line 440 of file serialization_sort.h.
typedef T tpie::pipelining::serialization_passive_sorter< T, pred_t >::item_type |
Type of items sorted.
Definition at line 516 of file serialization_sort.h.
typedef serialization_bits::sort_pull_output_t<Traits> tpie::pipelining::serialization_passive_sorter< T, pred_t >::output_t |
Type of pipe sorter output.
Definition at line 522 of file serialization_sort.h.
typedef Traits::sorter_t tpie::pipelining::serialization_passive_sorter< T, pred_t >::sorter_t |
Type of the merge sort implementation used.
Definition at line 518 of file serialization_sort.h.
typedef Traits::sorterptr tpie::pipelining::serialization_passive_sorter< T, pred_t >::sorterptr |
Smart pointer to sorter_t.
Definition at line 520 of file serialization_sort.h.
|
inline |
Get the input push node.
Definition at line 541 of file serialization_sort.h.
|
inline |
Get the output pull node.
Definition at line 549 of file serialization_sort.h.