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... | |
Public Member Functions | |
serialization_passive_sorter (pred_t pred=pred_t()) | |
pipe_end < serialization_bits::passive_sorter_factory < Traits > > | input () |
Get the input push node. More... | |
pullpipe_begin < serialization_bits::passive_sorter_factory_2 < Traits > > | output () |
Get the output pull node. More... | |
Friends | |
class | serialization_bits::passive_sorter_factory_2< Traits > |
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 408 of file serialization_sort.h.
typedef T tpie::pipelining::serialization_passive_sorter< T, pred_t >::item_type |
Type of items sorted.
Definition at line 478 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 484 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 480 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 482 of file serialization_sort.h.
|
inline |
Get the input push node.
Definition at line 496 of file serialization_sort.h.
|
inline |
Get the output pull node.
Definition at line 503 of file serialization_sort.h.