SourceXtractorPlusPlus  0.14
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
32 namespace 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 
46 }
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 }
53 
54 }
55 
std::shared_ptr< Euclid::ThreadPool > m_thread_pool
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
std::shared_ptr< OutputRegistry > m_output_registry
std::unique_ptr< Measurement > getMeasurement() const
STL class.
std::vector< std::string > m_output_properties
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.