SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
TaskFactoryRegistry.cpp
Go to the documentation of this file.
1
17/*
18 * TaskFactoryRegistry.cpp
19 *
20 * Created on: Aug 3, 2016
21 * Author: mschefer
22 */
23
26
27namespace SourceXtractor {
28
30 // Reports the config dependencies for every TaskFactory that was registered
31 for (auto& factory : m_task_factories) {
32 factory->reportConfigDependencies(manager);
33 }
34}
35
37 for (auto& factory : m_task_factories) {
38 factory->configure(manager);
39 }
40}
41
43 for (auto& factory : m_task_factories) {
44 factory->registerPropertyInstances(output_registry);
45 }
46}
47
48}
std::unordered_set< std::shared_ptr< TaskFactory > > m_task_factories
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
void registerPropertyInstances(OutputRegistry &output_registry)
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.