SourceXtractorPlusPlus  0.13
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
31 namespace SourceXtractor {
32 
34 
35 public:
36 
38  }
39 
40  virtual ~PartitionFactory() = default;
41 
44  }
45 
48  }
49 
51  return std::make_shared<Partition>(m_steps);
52  }
53 
54 private:
55 
58 
59 };
60 
61 } /* namespace SourceXtractor */
62 
63 #endif /* _SEIMPLEMENTATION_PARTITIONFACTORY_H */
64 
virtual ~PartitionFactory()=default
Interface of objects which can be configured.
Definition: Configurable.h:37
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
std::vector< std::shared_ptr< PartitionStep > > m_steps
STL class.
std::shared_ptr< SourceFactory > m_source_factory
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
std::shared_ptr< Partition > getPartition() const
PartitionFactory(std::shared_ptr< SourceFactory > source_factory)