SourceXtractorPlusPlus 0.19
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
Sorter.h
Go to the documentation of this file.
1
17/*
18 * Sorter.h
19 *
20 * Created on: Sep 10, 2018
21 * Author: Alejandro Alvarez Ayllon
22 */
23
24#ifndef _SEMAIN_SORTER_H_
25#define _SEMAIN_SORTER_H_
26
29
30namespace SourceXtractor {
31
32class Sorter: public PipelineReceiver<SourceGroupInterface>, public PipelineEmitter<SourceGroupInterface> {
33public:
34
35 Sorter();
36 virtual ~Sorter() = default;
37
39 void receiveProcessSignal(const ProcessSourcesEvent& event) override;
40
41private:
44};
45
46} // end SourceXtractor
47
48#endif // _SEMAIN_SORTER_H_
std::map< int, std::unique_ptr< SourceGroupInterface > > m_output_buffer
Definition: Sorter.h:42
virtual ~Sorter()=default
void receiveSource(std::unique_ptr< SourceGroupInterface > source) override
Definition: Sorter.cpp:30
void receiveProcessSignal(const ProcessSourcesEvent &event) override
Definition: Sorter.cpp:45
Event received by SourceGrouping to request the processing of some of the Sources stored.
Definition: PipelineStage.h:33