SourceXtractorPlusPlus
0.11
Please provide a description of the project.
SEImplementation
SEImplementation
Background
BackgroundAnalyzerFactory.h
Go to the documentation of this file.
1
17
/*
18
* BackgroundAnalyzerFactory.h
19
*
20
* Created on: Mar 29, 2017
21
* Author: mschefer
22
*/
23
24
#ifndef _SEIMPLEMENTATION_BACKGROUND_BACKGROUNDANALYZERFACTORY_H_
25
#define _SEIMPLEMENTATION_BACKGROUND_BACKGROUNDANALYZERFACTORY_H_
26
27
#include "
SEImplementation/Configuration/SE2BackgroundConfig.h
"
28
#include "
SEImplementation/Configuration/WeightImageConfig.h
"
29
30
#include "
SEFramework/Configuration/Configurable.h
"
31
#include "
SEFramework/Background/BackgroundAnalyzer.h
"
32
33
namespace
SourceXtractor
{
34
35
class
BackgroundAnalyzerFactory
:
public
Configurable
{
36
public
:
38
virtual
~BackgroundAnalyzerFactory
() =
default
;
39
BackgroundAnalyzerFactory
():
m_legacy
(false) {}
40
41
std::shared_ptr<BackgroundAnalyzer>
createBackgroundAnalyzer
()
const
;
42
std::shared_ptr<BackgroundAnalyzer>
createBackgroundAnalyzer
(
WeightImageConfig::WeightType
weight_type)
const
;
43
44
// Implementation of the Configurable interface
45
void
configure
(
Euclid::Configuration::ConfigManager
& manager)
override
;
46
void
reportConfigDependencies
(
Euclid::Configuration::ConfigManager
& manager)
const override
;
47
48
private
:
49
std::vector<int>
m_cell_size
;
50
std::vector<int>
m_smoothing_box
;
51
bool
m_legacy
;
52
WeightImageConfig::WeightType
m_weight_type
;
53
};
54
55
}
56
57
58
59
#endif
/* _SEIMPLEMENTATION_BACKGROUND_BACKGROUNDANALYZERFACTORY_H_ */
SourceXtractor::BackgroundAnalyzerFactory::m_weight_type
WeightImageConfig::WeightType m_weight_type
Definition:
BackgroundAnalyzerFactory.h:52
std::shared_ptr
STL class.
SourceXtractor::BackgroundAnalyzerFactory::reportConfigDependencies
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
Definition:
BackgroundAnalyzerFactory.cpp:51
SourceXtractor::BackgroundAnalyzerFactory::m_smoothing_box
std::vector< int > m_smoothing_box
Definition:
BackgroundAnalyzerFactory.h:50
Euclid::Configuration::ConfigManager
std::vector< int >
SourceXtractor::WeightImageConfig::WeightType
WeightType
Definition:
WeightImageConfig.h:36
WeightImageConfig.h
SourceXtractor::BackgroundAnalyzerFactory::createBackgroundAnalyzer
std::shared_ptr< BackgroundAnalyzer > createBackgroundAnalyzer() const
Definition:
BackgroundAnalyzerFactory.cpp:33
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::BackgroundAnalyzerFactory::BackgroundAnalyzerFactory
BackgroundAnalyzerFactory()
Definition:
BackgroundAnalyzerFactory.h:39
BackgroundAnalyzer.h
SourceXtractor::BackgroundAnalyzerFactory::~BackgroundAnalyzerFactory
virtual ~BackgroundAnalyzerFactory()=default
Destructor.
Configurable.h
SE2BackgroundConfig.h
SourceXtractor::BackgroundAnalyzerFactory::configure
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
Definition:
BackgroundAnalyzerFactory.cpp:56
SourceXtractor::BackgroundAnalyzerFactory::m_legacy
bool m_legacy
Definition:
BackgroundAnalyzerFactory.h:51
SourceXtractor::BackgroundAnalyzerFactory
Definition:
BackgroundAnalyzerFactory.h:35
SourceXtractor::BackgroundAnalyzerFactory::m_cell_size
std::vector< int > m_cell_size
Definition:
BackgroundAnalyzerFactory.h:49
SourceXtractor::Configurable
Interface of objects which can be configured.
Definition:
Configurable.h:37
Generated by
1.8.18