SourceXtractorPlusPlus
0.15
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
Plugin
AssocMode
AssocModeTaskFactory.h
Go to the documentation of this file.
1
19
#ifndef _SEIMPLEMENTATION_PLUGIN_ASSOCMODE_ASSOCMODETASKFACTORY_H_
20
#define _SEIMPLEMENTATION_PLUGIN_ASSOCMODE_ASSOCMODETASKFACTORY_H_
21
22
#include "
AssocModeConfig.h
"
23
#include "
SEFramework/Task/TaskFactory.h
"
24
25
26
namespace
SourceXtractor {
27
28
class
AssocModeTaskFactory
:
public
TaskFactory
{
29
public
:
30
AssocModeTaskFactory
();
31
33
virtual
~AssocModeTaskFactory
() =
default
;
34
35
void
reportConfigDependencies
(
Euclid::Configuration::ConfigManager
& manager)
const override
;
36
37
void
configure
(
Euclid::Configuration::ConfigManager
& manager)
override
;
38
39
// TaskFactory implementation
40
std::shared_ptr<Task>
createTask
(
const
PropertyId
& property_id)
const override
;
41
42
private
:
43
std::vector<std::pair<std::string, unsigned int>
>
m_auto_names
;
44
45
AssocModeConfig::AssocMode
m_assoc_mode
;
46
double
m_assoc_radius
;
47
std::vector<AssocModeConfig::CatalogEntry>
m_catalog
;
48
};
49
50
}
51
52
53
54
55
#endif
/* _SEIMPLEMENTATION_PLUGIN_ASSOCMODE_ASSOCMODETASKFACTORY_H_ */
std::shared_ptr
SourceXtractor::AssocModeTaskFactory::configure
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
Definition:
AssocModeTaskFactory.cpp:39
SourceXtractor::AssocModeTaskFactory::m_auto_names
std::vector< std::pair< std::string, unsigned int > > m_auto_names
Definition:
AssocModeTaskFactory.h:43
SourceXtractor::AssocModeTaskFactory::reportConfigDependencies
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
Definition:
AssocModeTaskFactory.cpp:35
SourceXtractor::AssocModeTaskFactory::createTask
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
Definition:
AssocModeTaskFactory.cpp:47
SourceXtractor::AssocModeTaskFactory::m_assoc_radius
double m_assoc_radius
Definition:
AssocModeTaskFactory.h:46
SourceXtractor::AssocModeTaskFactory::m_catalog
std::vector< AssocModeConfig::CatalogEntry > m_catalog
Definition:
AssocModeTaskFactory.h:47
SourceXtractor::AssocModeTaskFactory::AssocModeTaskFactory
AssocModeTaskFactory()
Definition:
AssocModeTaskFactory.cpp:33
Euclid::Configuration::ConfigManager
SourceXtractor::TaskFactory
Creates a Task for computing a given property.
Definition:
TaskFactory.h:42
SourceXtractor::AssocModeTaskFactory::~AssocModeTaskFactory
virtual ~AssocModeTaskFactory()=default
Destructor.
SourceXtractor::AssocModeTaskFactory
Definition:
AssocModeTaskFactory.h:28
std::vector
STL class.
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition:
PropertyId.h:40
AssocModeConfig.h
TaskFactory.h
SourceXtractor::AssocModeTaskFactory::m_assoc_mode
AssocModeConfig::AssocMode m_assoc_mode
Definition:
AssocModeTaskFactory.h:45
SourceXtractor::AssocModeConfig::AssocMode
AssocMode
Definition:
AssocModeConfig.h:35
Generated by
1.8.5