SourceXtractorPlusPlus
0.12
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 |
unsigned int | m_threads_nb |
Definition at line 38 of file MeasurementFactory.h.
|
inline |
Definition at line 42 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 49 of file MeasurementFactory.cpp.
References Euclid::Configuration::ConfigManager::getConfiguration(), m_output_properties, and m_threads_nb.
std::unique_ptr< Measurement > SourceXtractor::MeasurementFactory::getMeasurement | ( | ) | const |
Definition at line 35 of file MeasurementFactory.cpp.
References m_output_properties, m_output_registry, 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 44 of file MeasurementFactory.cpp.
References Euclid::Configuration::ConfigManager::registerConfiguration().
|
private |
Definition at line 53 of file MeasurementFactory.h.
Referenced by configure(), and getMeasurement().
|
private |
Definition at line 54 of file MeasurementFactory.h.
Referenced by getMeasurement().
|
private |
Definition at line 56 of file MeasurementFactory.h.
Referenced by configure(), and getMeasurement().