SourceXtractorPlusPlus  0.13
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FlexibleModelFittingTaskFactory.h
Go to the documentation of this file.
1 
17 /*
18  * FlexibleModelFittingTaskFactory.h
19  *
20  * Created on: Sep 17, 2018
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_FLEXIBLEMODELFITTING_FLEXIBLEMODELFITTINGTASKFACTORY_H_
25 #define _SEIMPLEMENTATION_PLUGIN_FLEXIBLEMODELFITTING_FLEXIBLEMODELFITTINGTASKFACTORY_H_
26 
28 
30 
31 namespace SourceXtractor {
32 
34 public:
36 
38  virtual ~FlexibleModelFittingTaskFactory() = default;
39 
40  // TaskFactory implementation
41  std::shared_ptr<Task> createTask(const PropertyId& property_id) const override;
42 
44  void configure(Euclid::Configuration::ConfigManager& manager) override;
46 
47 private:
49  unsigned int m_max_iterations {0};
51 
56 
57  double m_scale_factor {1.0};
58 };
59 
60 }
61 
62 
63 
64 
65 #endif /* _SEIMPLEMENTATION_PLUGIN_FLEXIBLEMODELFITTING_FLEXIBLEMODELFITTINGTASKFACTORY_H_ */
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
virtual ~FlexibleModelFittingTaskFactory()=default
Destructor.
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
std::vector< std::shared_ptr< FlexibleModelFittingFrame > > m_frames
STL class.
std::vector< std::pair< std::string, std::vector< int > > > m_outputs
std::vector< std::shared_ptr< FlexibleModelFittingParameter > > m_parameters
Creates a Task for computing a given property.
Definition: TaskFactory.h:42
std::vector< std::shared_ptr< FlexibleModelFittingPrior > > m_priors
STL class.
Identifier used to set and retrieve properties.
Definition: PropertyId.h:40
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.