SourceXtractorPlusPlus 0.19.2
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
PartitionFactory.h
Go to the documentation of this file.
1
17/*
18 * @file PartitionFactory.h
19 * @author nikoapos
20 */
21
22#ifndef _SEIMPLEMENTATION_PARTITIONFACTORY_H
23#define _SEIMPLEMENTATION_PARTITIONFACTORY_H
24
28
30
31namespace SourceXtractor {
32
34
35public:
36
37 explicit PartitionFactory(std::shared_ptr<SourceFactory> source_factory) :m_source_factory{source_factory} {
38 }
39
40 virtual ~PartitionFactory() = default;
41
44 }
45
48 }
49
51 return std::make_shared<Partition>(m_steps);
52 }
53
54private:
55
58
59};
60
61} /* namespace SourceXtractor */
62
63#endif /* _SEIMPLEMENTATION_PARTITIONFACTORY_H */
64
Interface of objects which can be configured.
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
PartitionFactory(std::shared_ptr< SourceFactory > source_factory)
std::shared_ptr< SourceFactory > m_source_factory
std::shared_ptr< Partition > getPartition() const
virtual ~PartitionFactory()=default
std::vector< std::shared_ptr< PartitionStep > > m_steps
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.