SourceXtractorPlusPlus
0.19
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEMain
SEMain
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
27
#include "
SEFramework/Pipeline/PipelineStage.h
"
28
#include "
SEFramework/Source/SourceGroupInterface.h
"
29
30
namespace
SourceXtractor
{
31
32
class
Sorter
:
public
PipelineReceiver
<SourceGroupInterface>,
public
PipelineEmitter
<SourceGroupInterface> {
33
public
:
34
35
Sorter
();
36
virtual
~Sorter
() =
default
;
37
38
void
receiveSource
(
std::unique_ptr<SourceGroupInterface>
source)
override
;
39
void
receiveProcessSignal
(
const
ProcessSourcesEvent
& event)
override
;
40
41
private
:
42
std::map<int, std::unique_ptr<SourceGroupInterface>
>
m_output_buffer
;
43
int
m_output_next
;
44
};
45
46
}
// end SourceXtractor
47
48
#endif
// _SEMAIN_SORTER_H_
PipelineStage.h
SourceGroupInterface.h
SourceXtractor::PipelineEmitter
Definition:
PipelineStage.h:68
SourceXtractor::PipelineReceiver
Definition:
PipelineStage.h:46
SourceXtractor::Sorter
Definition:
Sorter.h:32
SourceXtractor::Sorter::m_output_buffer
std::map< int, std::unique_ptr< SourceGroupInterface > > m_output_buffer
Definition:
Sorter.h:42
SourceXtractor::Sorter::~Sorter
virtual ~Sorter()=default
SourceXtractor::Sorter::Sorter
Sorter()
Definition:
Sorter.cpp:27
SourceXtractor::Sorter::receiveSource
void receiveSource(std::unique_ptr< SourceGroupInterface > source) override
Definition:
Sorter.cpp:30
SourceXtractor::Sorter::receiveProcessSignal
void receiveProcessSignal(const ProcessSourcesEvent &event) override
Definition:
Sorter.cpp:45
SourceXtractor::Sorter::m_output_next
int m_output_next
Definition:
Sorter.h:43
std::map
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::ProcessSourcesEvent
Event received by SourceGrouping to request the processing of some of the Sources stored.
Definition:
PipelineStage.h:33
std::unique_ptr
Generated by
1.9.5