SourceXtractorPlusPlus
0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
src
lib
Plugin
AssocMode
AssocModePlugin.cpp
Go to the documentation of this file.
1
19
#include "
SEFramework/Plugin/StaticPlugin.h
"
20
21
#include "
SEImplementation/Plugin/AssocMode/AssocMode.h
"
22
#include "
SEImplementation/Plugin/AssocMode/AssocModeTaskFactory.h
"
23
#include "
SEImplementation/Plugin/AssocMode/AssocModePlugin.h
"
24
25
namespace
SourceXtractor
{
26
27
template
<
typename
T>
28
using
NdArray
=
Euclid::NdArray::NdArray<T>
;
29
30
static
StaticPlugin<AssocModePlugin>
assoc_plugin
;
31
32
void
AssocModePlugin::registerPlugin
(
PluginAPI
&
plugin_api
) {
33
plugin_api
.getTaskFactoryRegistry()
34
.registerTaskFactory<
AssocModeTaskFactory
,
AssocMode
>();
35
36
plugin_api
.getOutputRegistry().registerColumnConverter<
AssocMode
,
bool
>(
37
"assoc_match"
,
38
[](
const
AssocMode
&
prop
){
39
return
prop
.getMatch();
40
},
41
""
,
42
"Assoc match"
43
);
44
45
plugin_api
.getOutputRegistry().enableOutput<
AssocMode
>(
"AssocMode"
);
46
}
47
48
std::string
AssocModePlugin::getIdString
()
const
{
49
return
"AssocModePlugin"
;
50
}
51
52
}
AssocModePlugin.h
AssocModeTaskFactory.h
AssocMode.h
StaticPlugin.h
std::string
Euclid::NdArray::NdArray
SourceXtractor::AssocModePlugin::registerPlugin
void registerPlugin(PluginAPI &plugin_api) override
Definition
AssocModePlugin.cpp:32
SourceXtractor::AssocModePlugin::getIdString
std::string getIdString() const override
Definition
AssocModePlugin.cpp:48
SourceXtractor::AssocModeTaskFactory
Definition
AssocModeTaskFactory.h:28
SourceXtractor::AssocMode
Definition
AssocMode.h:33
SourceXtractor::PluginAPI
This interface is given to the plugin to let it access object instances from the framework.
Definition
PluginAPI.h:40
std::function
Euclid::NdArray
SourceXtractor
Definition
Aperture.h:30
SourceXtractor::assoc_plugin
static StaticPlugin< AssocModePlugin > assoc_plugin
Definition
AssocModePlugin.cpp:30
Generated by
1.10.0