SourceXtractorPlusPlus
0.11
Please provide a description of the project.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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_ */
std::shared_ptr
WeightImageConfig.h
SourceXtractor::BackgroundAnalyzerFactory::m_weight_type
WeightImageConfig::WeightType m_weight_type
Definition:
BackgroundAnalyzerFactory.h:52
SourceXtractor::Configurable
Interface of objects which can be configured.
Definition:
Configurable.h:37
SE2BackgroundConfig.h
BackgroundAnalyzer.h
SourceXtractor::BackgroundAnalyzerFactory
Definition:
BackgroundAnalyzerFactory.h:35
SourceXtractor::BackgroundAnalyzerFactory::BackgroundAnalyzerFactory
BackgroundAnalyzerFactory()
Definition:
BackgroundAnalyzerFactory.h:39
SourceXtractor::BackgroundAnalyzerFactory::m_cell_size
std::vector< int > m_cell_size
Definition:
BackgroundAnalyzerFactory.h:49
SourceXtractor::WeightImageConfig::WeightType
WeightType
Definition:
WeightImageConfig.h:36
SourceXtractor::BackgroundAnalyzerFactory::configure
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
Definition:
BackgroundAnalyzerFactory.cpp:56
Euclid::Configuration::ConfigManager
std::vector< int >
SourceXtractor::BackgroundAnalyzerFactory::createBackgroundAnalyzer
std::shared_ptr< BackgroundAnalyzer > createBackgroundAnalyzer() const
Definition:
BackgroundAnalyzerFactory.cpp:33
SourceXtractor::BackgroundAnalyzerFactory::m_smoothing_box
std::vector< int > m_smoothing_box
Definition:
BackgroundAnalyzerFactory.h:50
SourceXtractor::BackgroundAnalyzerFactory::reportConfigDependencies
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
Definition:
BackgroundAnalyzerFactory.cpp:51
SourceXtractor::BackgroundAnalyzerFactory::m_legacy
bool m_legacy
Definition:
BackgroundAnalyzerFactory.h:51
Configurable.h
SourceXtractor::BackgroundAnalyzerFactory::~BackgroundAnalyzerFactory
virtual ~BackgroundAnalyzerFactory()=default
Destructor.
Generated by
1.8.5