SourceXtractorPlusPlus
0.15
Please provide a description of the project.
|
Interface of objects which can be configured. More...
#include <Configurable.h>
Public Member Functions | |
virtual | ~Configurable ()=default |
Destructor. More... | |
virtual void | reportConfigDependencies (Euclid::Configuration::ConfigManager &manager) const =0 |
Registers all the Configuration dependencies. More... | |
virtual void | configure (Euclid::Configuration::ConfigManager &manager)=0 |
Method which should initialize the object. More... | |
Interface of objects which can be configured.
This interface is introduced to allow the dynamic determination of the available program options, so introduction of new tasks or component implementations will not require modifications of other parts of the system.
Definition at line 37 of file Configurable.h.
|
virtualdefault |
Destructor.
|
pure virtual |
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 |
Implemented in SourceXtractor::SegmentationFactory, SourceXtractor::VignetTaskFactory, SourceXtractor::SourceFlagsTaskFactory, SourceXtractor::PsfTaskFactory, SourceXtractor::OnnxTaskFactory, SourceXtractor::MultiframeModelFittingTaskFactory, SourceXtractor::MoffatModelFittingTaskFactory, SourceXtractor::MeasurementFrameTaskFactory, SourceXtractor::IsophotalFluxTaskFactory, SourceXtractor::GrowthCurveTaskFactory, SourceXtractor::GroupInfoTaskFactory, SourceXtractor::FluxRadiusTaskFactory, SourceXtractor::FlexibleModelFittingTaskFactory, SourceXtractor::ExternalFlagTaskFactory, SourceXtractor::AutoPhotometryTaskFactory, SourceXtractor::AssocModeTaskFactory, SourceXtractor::AperturePhotometryTaskFactory, SourceXtractor::PartitionFactory, SourceXtractor::OutputFactory, SourceXtractor::MeasurementFactory, SourceXtractor::GroupingFactory, SourceXtractor::DeblendingFactory, SourceXtractor::CheckImages, SourceXtractor::TaskFactoryRegistry, SourceXtractor::CoreThresholdPartitionTaskFactory, and SourceXtractor::TaskFactory.
|
pure virtual |
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 |
Implemented in SourceXtractor::SegmentationFactory, SourceXtractor::VignetTaskFactory, SourceXtractor::SourceFlagsTaskFactory, SourceXtractor::PsfTaskFactory, SourceXtractor::OnnxTaskFactory, SourceXtractor::MultiframeModelFittingTaskFactory, SourceXtractor::MoffatModelFittingTaskFactory, SourceXtractor::MeasurementFrameTaskFactory, SourceXtractor::IsophotalFluxTaskFactory, SourceXtractor::GrowthCurveTaskFactory, SourceXtractor::GroupInfoTaskFactory, SourceXtractor::FluxRadiusTaskFactory, SourceXtractor::FlexibleModelFittingTaskFactory, SourceXtractor::ExternalFlagTaskFactory, SourceXtractor::AutoPhotometryTaskFactory, SourceXtractor::AssocModeTaskFactory, SourceXtractor::AperturePhotometryTaskFactory, SourceXtractor::PartitionFactory, SourceXtractor::OutputFactory, SourceXtractor::MeasurementFactory, SourceXtractor::GroupingFactory, SourceXtractor::DeblendingFactory, SourceXtractor::CheckImages, SourceXtractor::TaskFactoryRegistry, SourceXtractor::CoreThresholdPartitionTaskFactory, and SourceXtractor::TaskFactory.