SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
MeasurementFactory.cpp
Go to the documentation of this file.
1
17/*
18 * MeasurementFactory.cpp
19 *
20 * Created on: May 17, 2018
21 * Author: mschefer
22 */
23
24#include <iostream>
25
31
32namespace SourceXtractor {
33
35 if (m_threads_nb > 0) {
36 auto source_to_row = m_output_registry->getSourceToRowConverter(m_output_properties);
38 } else {
40 }
41}
42
47
49 m_output_properties = manager.getConfiguration<OutputConfig>().getOutputProperties();
50 m_threads_nb = manager.getConfiguration<MultiThreadingConfig>().getThreadsNb();
51 m_thread_pool = manager.getConfiguration<MultiThreadingConfig>().getThreadPool();
52 m_max_queue = manager.getConfiguration<MultiThreadingConfig>().getMaxQueueSize();
53}
54
55}
56
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
std::vector< std::string > m_output_properties
std::shared_ptr< OutputRegistry > m_output_registry
std::shared_ptr< Euclid::ThreadPool > m_thread_pool
std::unique_ptr< Measurement > getMeasurement() const