SourceXtractorPlusPlus  0.10
Please provide a description of the project.
 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 
28 #include "TableOutput.h"
29 
30 namespace SourceXtractor {
31 
37 class OutputFactory : public Configurable {
38 
39 public:
40 
41  OutputFactory(std::shared_ptr<OutputRegistry> output_registry) : m_output_registry(output_registry) {
42  }
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:
55 
59  size_t m_flush_size;
60 
61 }; /* End of OutputFactory class */
62 
63 } /* namespace SourceXtractor */
64 
65 
66 #endif
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
Interface of objects which can be configured.
Definition: Configurable.h:37
std::shared_ptr< OutputRegistry > m_output_registry
Definition: OutputFactory.h:56
TableOutput::TableHandler m_table_handler
Definition: OutputFactory.h:57
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
STL class.
std::vector< std::string > m_output_properties
Definition: OutputFactory.h:58
virtual ~OutputFactory()=default
Destructor.
std::unique_ptr< Output > getOutput() const
OutputFactory(std::shared_ptr< OutputRegistry > output_registry)
Definition: OutputFactory.h:41