SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
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
30
31namespace SourceXtractor {
32
33class Output : public PipelineReceiver<SourceGroupInterface> {
34
35public:
36 virtual ~Output() = default;
37
43
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_ */
void receiveSource(std::unique_ptr< SourceGroupInterface > source_group) override
Definition Output.h:38
virtual void outputSource(const SourceInterface &source)=0
virtual void nextPart()=0
void receiveProcessSignal(const ProcessSourcesEvent &) override
Definition Output.h:44
virtual size_t flush()=0
virtual ~Output()=default
The SourceInterface is an abstract "source" that has properties attached to it.
Event received by SourceGrouping to request the processing of some of the Sources stored.