SourceXtractorPlusPlus  0.13
Please provide a description of the project.
IsophotalFluxTaskFactory.cpp
Go to the documentation of this file.
1 
17 /*
18  * IsophotalFluxTaskFactory.cpp
19  *
20  * Created on: Sep 28, 2016
21  * Author: mschefer
22  */
23 
25 
29 
30 namespace SourceXtractor {
31 
34 }
35 
37  m_magnitude_zero_point = manager.getConfiguration<MagnitudeConfig>().getMagnitudeZeroPoint();
38 }
39 
41  if (property_id == PropertyId::create<IsophotalFlux>()) {
42  return std::make_shared<IsophotalFluxTask>(m_magnitude_zero_point);
43  } else {
44  return nullptr;
45  }
46 }
47 
48 }
49 
50 
Euclid::Configuration::ConfigManager::registerConfiguration
void registerConfiguration()
SourceXtractor::MagnitudeConfig
Definition: MagnitudeConfig.h:32
std::shared_ptr
STL class.
Euclid::Configuration::ConfigManager
SourceXtractor::IsophotalFluxTaskFactory::m_magnitude_zero_point
SeFloat m_magnitude_zero_point
Definition: IsophotalFluxTaskFactory.h:49
Euclid::Configuration::ConfigManager::getConfiguration
T & getConfiguration()
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition: PropertyId.h:40
SourceXtractor
Definition: Aperture.h:30
IsophotalFlux.h
MagnitudeConfig.h
SourceXtractor::IsophotalFluxTaskFactory::configure
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
Definition: IsophotalFluxTaskFactory.cpp:36
SourceXtractor::IsophotalFluxTaskFactory::createTask
virtual std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
Definition: IsophotalFluxTaskFactory.cpp:40
IsophotalFluxTask.h
SourceXtractor::IsophotalFluxTaskFactory::reportConfigDependencies
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
Definition: IsophotalFluxTaskFactory.cpp:32
IsophotalFluxTaskFactory.h