SourceXtractorPlusPlus
0.16
Please provide a description of the project.
|
#include <MeasurementFactory.h>
Public Member Functions | |
MeasurementFactory (std::shared_ptr< OutputRegistry > output_registry) | |
std::unique_ptr< Measurement > | getMeasurement () const |
void | configure (Euclid::Configuration::ConfigManager &manager) override |
Method which should initialize the object. More... | |
void | reportConfigDependencies (Euclid::Configuration::ConfigManager &manager) const override |
Registers all the Configuration dependencies. More... | |
![]() | |
virtual | ~Configurable ()=default |
Destructor. More... | |
Private Attributes | |
std::vector< std::string > | m_output_properties |
std::shared_ptr< OutputRegistry > | m_output_registry |
std::shared_ptr< Euclid::ThreadPool > | m_thread_pool |
unsigned int | m_threads_nb |
unsigned int | m_max_queue |
Definition at line 39 of file MeasurementFactory.h.
|
inlineexplicit |
Definition at line 43 of file MeasurementFactory.h.
|
overridevirtual |
Method which should initialize the object.
The given manager is guaranteed to already be in the initialized state, so all the required Configurations can be accessed using its getConfiguration() method.
manager | The manager to get the Configurations from |
Implements SourceXtractor::Configurable.
Definition at line 48 of file MeasurementFactory.cpp.
References Euclid::Configuration::ConfigManager::getConfiguration(), m_max_queue, m_output_properties, m_thread_pool, and m_threads_nb.
std::unique_ptr< Measurement > SourceXtractor::MeasurementFactory::getMeasurement | ( | ) | const |
Definition at line 34 of file MeasurementFactory.cpp.
References m_max_queue, m_output_properties, m_output_registry, m_thread_pool, and m_threads_nb.
|
overridevirtual |
Registers all the Configuration dependencies.
Configurable implementations should implement this method to register to the given ConfigManager (using the registerConfiguration() method) all the Configurations they are going to use
manager | The manager to register the dependencies to |
Implements SourceXtractor::Configurable.
Definition at line 43 of file MeasurementFactory.cpp.
References Euclid::Configuration::ConfigManager::registerConfiguration().
|
private |
Definition at line 58 of file MeasurementFactory.h.
Referenced by configure(), and getMeasurement().
|
private |
Definition at line 54 of file MeasurementFactory.h.
Referenced by configure(), and getMeasurement().
|
private |
Definition at line 55 of file MeasurementFactory.h.
Referenced by getMeasurement().
|
private |
Definition at line 56 of file MeasurementFactory.h.
Referenced by configure(), and getMeasurement().
|
private |
Definition at line 58 of file MeasurementFactory.h.
Referenced by configure(), and getMeasurement().