SourceXtractorPlusPlus
0.19
SourceXtractor++, the next generation SExtractor
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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_ */
SourceXtractor::Output::flush
virtual size_t flush()=0
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::ProcessSourcesEvent
Event received by SourceGrouping to request the processing of some of the Sources stored...
Definition:
PipelineStage.h:33
PipelineStage.h
SourceXtractor::Output
Definition:
Output.h:33
SourceGroupInterface.h
SourceXtractor::PipelineReceiver
Definition:
PipelineStage.h:46
SourceXtractor::Output::~Output
virtual ~Output()=default
SourceXtractor::Output::nextPart
virtual void nextPart()=0
SourceInterface.h
std::unique_ptr
STL class.
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition:
SourceInterface.h:46
SourceXtractor::Output::receiveProcessSignal
void receiveProcessSignal(const ProcessSourcesEvent &) override
Definition:
Output.h:44
Generated by
1.8.5