SourceXtractorPlusPlus
1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
SEImplementation
Grouping
AssocGrouping.h
Go to the documentation of this file.
1
17
18
#ifndef _SEIMPLEMENTATION_GROUPING_ASSOCGROUPING_H_
19
#define _SEIMPLEMENTATION_GROUPING_ASSOCGROUPING_H_
20
21
#include <map>
22
23
#include "
SEFramework/Pipeline/SourceGrouping.h
"
24
25
namespace
SourceXtractor
{
26
27
class
AssocGrouping
:
public
SourceGroupingInterface
{
28
public
:
29
30
AssocGrouping
(
std::shared_ptr<SourceGroupFactory>
group_factory,
unsigned
int
hard_limit);
31
virtual
~AssocGrouping
() =
default
;
32
33
std::set<PropertyId>
requiredProperties
()
const override
;
34
36
void
receiveSource
(
std::unique_ptr<SourceInterface>
source)
override
;
37
39
void
receiveProcessSignal
(
const
ProcessSourcesEvent
& event)
override
;
40
41
private
:
42
std::shared_ptr<SourceGroupFactory>
m_group_factory
;
43
std::map<unsigned int, std::unique_ptr<SourceGroupInterface>
>
m_source_groups
;
44
unsigned
int
m_hard_limit
;
45
46
};
47
48
}
49
50
#endif
/* _SEIMPLEMENTATION_GROUPING_ASSOCGROUPING_H_ */
SourceGrouping.h
SourceXtractor::AssocGrouping::m_source_groups
std::map< unsigned int, std::unique_ptr< SourceGroupInterface > > m_source_groups
Definition
AssocGrouping.h:43
SourceXtractor::AssocGrouping::m_hard_limit
unsigned int m_hard_limit
Definition
AssocGrouping.h:44
SourceXtractor::AssocGrouping::AssocGrouping
AssocGrouping(std::shared_ptr< SourceGroupFactory > group_factory, unsigned int hard_limit)
Definition
AssocGrouping.cpp:23
SourceXtractor::AssocGrouping::receiveProcessSignal
void receiveProcessSignal(const ProcessSourcesEvent &event) override
Handles a ProcessSourcesEvent to trigger the processing of some of the Sources stored in SourceGroupi...
Definition
AssocGrouping.cpp:55
SourceXtractor::AssocGrouping::m_group_factory
std::shared_ptr< SourceGroupFactory > m_group_factory
Definition
AssocGrouping.h:42
SourceXtractor::AssocGrouping::receiveSource
void receiveSource(std::unique_ptr< SourceInterface > source) override
Handles a new Source.
Definition
AssocGrouping.cpp:33
SourceXtractor::AssocGrouping::~AssocGrouping
virtual ~AssocGrouping()=default
SourceXtractor::AssocGrouping::requiredProperties
std::set< PropertyId > requiredProperties() const override
Returns the set of required properties to compute the grouping.
Definition
AssocGrouping.cpp:28
SourceXtractor::SourceGroupingInterface
Definition
SourceGrouping.h:85
std::map
SourceXtractor
Definition
Aperture.h:30
std::set
std::shared_ptr
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