SourceXtractorPlusPlus
1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEFramework
SEFramework
Output
Output.h
Go to the documentation of this file.
1
17
/*
18
* Output.h
19
*
20
* Created on: Jun 23, 2016
21
* Author: mschefer
22
*/
23
24
#ifndef _SEFRAMEWORK_PIPELINE_OUTPUT_H_
25
#define _SEFRAMEWORK_PIPELINE_OUTPUT_H_
26
27
#include "
SEFramework/Pipeline/PipelineStage.h
"
28
#include "
SEFramework/Source/SourceGroupInterface.h
"
29
#include "
SEFramework/Source/SourceInterface.h
"
30
31
namespace
SourceXtractor
{
32
33
class
Output
:
public
PipelineReceiver
<SourceGroupInterface> {
34
35
public
:
36
virtual
~Output
() =
default
;
37
38
void
receiveSource
(
std::unique_ptr<SourceGroupInterface>
source_group)
override
{
39
for
(
auto
& source : *source_group) {
40
outputSource
(source);
41
}
42
}
43
44
void
receiveProcessSignal
(
const
ProcessSourcesEvent
&)
override
{
45
// pass
46
}
47
48
virtual
void
outputSource
(
const
SourceInterface
& source) = 0;
49
51
virtual
size_t
flush
() = 0;
52
53
virtual
void
nextPart
() = 0;
54
};
55
56
}
57
58
#endif
/* _SEFRAMEWORK_PIPELINE_OUTPUT_H_ */
PipelineStage.h
SourceGroupInterface.h
SourceInterface.h
SourceXtractor::Output
Definition
Output.h:33
SourceXtractor::Output::receiveSource
void receiveSource(std::unique_ptr< SourceGroupInterface > source_group) override
Definition
Output.h:38
SourceXtractor::Output::outputSource
virtual void outputSource(const SourceInterface &source)=0
SourceXtractor::Output::nextPart
virtual void nextPart()=0
SourceXtractor::Output::receiveProcessSignal
void receiveProcessSignal(const ProcessSourcesEvent &) override
Definition
Output.h:44
SourceXtractor::Output::flush
virtual size_t flush()=0
SourceXtractor::Output::~Output
virtual ~Output()=default
SourceXtractor::PipelineReceiver
Definition
PipelineStage.h:46
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition
SourceInterface.h:46
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.15.0