SourceXtractorPlusPlus
0.8
Please provide a description of the project.
|
#include <OutputFactory.h>
Public Member Functions | |
OutputFactory (std::shared_ptr< OutputRegistry > output_registry) | |
virtual | ~OutputFactory ()=default |
Destructor. More... | |
std::unique_ptr< Output > | getOutput () 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::shared_ptr< OutputRegistry > | m_output_registry |
TableOutput::TableHandler | m_table_handler |
std::vector< std::string > | m_output_properties |
size_t | m_flush_size |
Definition at line 37 of file OutputFactory.h.
|
inline |
Definition at line 41 of file OutputFactory.h.
|
virtualdefault |
Destructor.
|
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 51 of file OutputFactory.cpp.
References SourceXtractor::OutputConfig::ASCII, e, SourceXtractor::OutputConfig::FITS, Euclid::Configuration::ConfigManager::getConfiguration(), m_flush_size, m_output_properties, m_table_handler, std::move(), Euclid::Table::FitsWriter::setHduName(), and std::system_category().
std::unique_ptr< Output > SourceXtractor::OutputFactory::getOutput | ( | ) | const |
Definition at line 42 of file OutputFactory.cpp.
References m_flush_size, m_output_properties, m_output_registry, and m_table_handler.
|
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 47 of file OutputFactory.cpp.
References Euclid::Configuration::ConfigManager::registerConfiguration().
|
private |
Definition at line 59 of file OutputFactory.h.
Referenced by configure(), and getOutput().
|
private |
Definition at line 58 of file OutputFactory.h.
Referenced by configure(), and getOutput().
|
private |
Definition at line 56 of file OutputFactory.h.
Referenced by getOutput().
|
private |
Definition at line 57 of file OutputFactory.h.
Referenced by configure(), and getOutput().