SourceXtractorPlusPlus
1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
src
lib
Plugin
Psf
PsfPlugin.cpp
Go to the documentation of this file.
1
17
/*
18
* PsfPlugin.cpp
19
*
20
* Created on: Jun 25, 2018
21
* Author: Alejandro Álvarez Ayllón
22
*/
23
24
#include <
SEFramework/Plugin/StaticPlugin.h
>
25
#include "
SEImplementation/Plugin/Psf/PsfPlugin.h
"
26
27
namespace
SourceXtractor
{
28
29
void
PsfPlugin::registerPlugin
(
SourceXtractor::PluginAPI
&plugin_api) {
30
plugin_api.
getTaskFactoryRegistry
().
registerTaskFactory
<
PsfTaskFactory
,
PsfProperty
>();
31
}
32
33
std::string
PsfPlugin::getIdString
()
const
{
34
return
"psf"
;
35
}
36
37
static
StaticPlugin<PsfPlugin>
psf_plugin
;
38
}
PsfPlugin.h
StaticPlugin.h
std::string
SourceXtractor::PluginAPI
This interface is given to the plugin to let it access object instances from the framework.
Definition
PluginAPI.h:40
SourceXtractor::PluginAPI::getTaskFactoryRegistry
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
SourceXtractor::PsfPlugin::registerPlugin
void registerPlugin(PluginAPI &plugin_api) override
Definition
PsfPlugin.cpp:29
SourceXtractor::PsfPlugin::getIdString
std::string getIdString() const override
Definition
PsfPlugin.cpp:33
SourceXtractor::PsfProperty
Definition
PsfProperty.h:32
SourceXtractor::PsfTaskFactory
Definition
PsfTaskFactory.h:35
SourceXtractor::StaticPlugin
Used to register compile-time (static) plugins with the PluginManager.
Definition
StaticPlugin.h:38
SourceXtractor::TaskFactoryRegistry::registerTaskFactory
void registerTaskFactory()
Definition
TaskFactoryRegistry.h:51
SourceXtractor
Definition
Aperture.h:30
SourceXtractor::psf_plugin
static StaticPlugin< PsfPlugin > psf_plugin
Definition
PsfPlugin.cpp:37
Generated by
1.15.0