SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OutputFactory.h
Go to the documentation of this file.
1 
23 #ifndef _SEIMPLEMENTATION_OUTPUT_OUTPUTFACTORY_H
24 #define _SEIMPLEMENTATION_OUTPUT_OUTPUTFACTORY_H
25 
29 
30 namespace SourceXtractor {
31 
37 class OutputFactory : public Configurable {
38 
39 public:
40 
42  : m_output_registry(output_registry), m_flush_size(100), m_output_format(OutputConfig::OutputFileFormat::ASCII) {
43  }
44 
46  virtual ~OutputFactory() = default;
47 
49 
50  // Implementation of the Configurable interface
51  void configure(Euclid::Configuration::ConfigManager& manager) override;
53 
54 private:
57  size_t m_flush_size;
58 
61 
62 }; /* End of OutputFactory class */
63 
64 } /* namespace SourceXtractor */
65 
66 
67 #endif
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
std::shared_ptr< Output > createOutput() const
Interface of objects which can be configured.
Definition: Configurable.h:37
std::shared_ptr< OutputRegistry > m_output_registry
Definition: OutputFactory.h:55
STL class.
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
std::vector< std::string > m_output_properties
Definition: OutputFactory.h:56
virtual ~OutputFactory()=default
Destructor.
OutputConfig::OutputFileFormat m_output_format
Definition: OutputFactory.h:59
OutputFactory(std::shared_ptr< OutputRegistry > output_registry)
Definition: OutputFactory.h:41