|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
#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. | |
| void | reportConfigDependencies (Euclid::Configuration::ConfigManager &manager) const override |
| Registers all the Configuration dependencies. | |
| Public Member Functions inherited from SourceXtractor::Configurable | |
| virtual | ~Configurable ()=default |
| Destructor. | |
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.
References m_max_queue, m_output_registry, and m_threads_nb.
|
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(), getMeasurement(), and MeasurementFactory().
|
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(), and MeasurementFactory().
|
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(), getMeasurement(), and MeasurementFactory().