SourceXtractorPlusPlus 1.0.3
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#include <map>
30
31namespace SourceXtractor {
32
33class Sorter: public PipelineReceiver<SourceGroupInterface>, public PipelineEmitter<SourceGroupInterface> {
34public:
35
36 Sorter();
37 virtual ~Sorter() = default;
38
40 void receiveProcessSignal(const ProcessSourcesEvent& event) override;
41
42private:
45};
46
47} // end SourceXtractor
48
49#endif // _SEMAIN_SORTER_H_
std::map< int, std::unique_ptr< SourceGroupInterface > > m_output_buffer
Definition Sorter.h:43
virtual ~Sorter()=default
void receiveSource(std::unique_ptr< SourceGroupInterface > source) override
Definition Sorter.cpp:32
void receiveProcessSignal(const ProcessSourcesEvent &event) override
Definition Sorter.cpp:47
Event received by SourceGrouping to request the processing of some of the Sources stored.