SourceXtractorPlusPlus
0.16
Please provide a description of the project.
SEImplementation
src
lib
Plugin
SourcePsf
SourcePsfPlugin.cpp
Go to the documentation of this file.
1
18
#include <
SEFramework/Plugin/StaticPlugin.h
>
19
#include "
SEImplementation/Plugin/SourcePsf/SourcePsfPlugin.h
"
20
21
namespace
SourceXtractor
{
22
23
void
SourcePsfPlugin::registerPlugin
(
SourceXtractor::PluginAPI
&plugin_api) {
24
plugin_api.
getTaskFactoryRegistry
().
registerTaskFactory
<
SourcePsfTaskFactory
,
SourcePsfProperty
>();
25
}
26
27
std::string
SourcePsfPlugin::getIdString
()
const
{
28
return
"source_psf"
;
29
}
30
31
static
StaticPlugin<SourcePsfPlugin>
psf_plugin
;
32
}
SourcePsfPlugin.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:39
SourceXtractor::PluginAPI::getTaskFactoryRegistry
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
SourceXtractor::SourcePsfPlugin::registerPlugin
void registerPlugin(PluginAPI &plugin_api) override
Definition:
SourcePsfPlugin.cpp:23
SourceXtractor::SourcePsfPlugin::getIdString
std::string getIdString() const override
Definition:
SourcePsfPlugin.cpp:27
SourceXtractor::SourcePsfProperty
Definition:
SourcePsfProperty.h:26
SourceXtractor::SourcePsfTaskFactory
Definition:
SourcePsfTaskFactory.h:29
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.9.1