SourceXtractorPlusPlus
0.10
Please provide a description of the project.
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
}
SourceXtractor::TaskFactoryRegistry::registerTaskFactory
void registerTaskFactory()
Definition:
TaskFactoryRegistry.h:51
std::string
STL class.
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::PsfTaskFactory
Definition:
PsfTaskFactory.h:35
StaticPlugin.h
SourceXtractor::PluginAPI
This interface is given to the plugin to let it access object instances from the framework.
Definition:
PluginAPI.h:39
SourceXtractor::StaticPlugin
Used to register compile-time (static) plugins with the PluginManager.
Definition:
StaticPlugin.h:38
SourceXtractor::psf_plugin
static StaticPlugin< PsfPlugin > psf_plugin
Definition:
PsfPlugin.cpp:37
SourceXtractor::PsfProperty
Definition:
PsfProperty.h:32
PsfPlugin.h
SourceXtractor::PluginAPI::getTaskFactoryRegistry
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
SourceXtractor::PsfPlugin::getIdString
virtual std::string getIdString() const override
Definition:
PsfPlugin.cpp:33
SourceXtractor::PsfPlugin::registerPlugin
virtual void registerPlugin(PluginAPI &plugin_api) override
Definition:
PsfPlugin.cpp:29
Generated by
1.8.15