SourceXtractorPlusPlus
0.10
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
SaturateFlag
SaturateFlagPlugin.h
Go to the documentation of this file.
1
17
/*
18
* Copyright (C) 2012-2020 Euclid Science Ground Segment
19
*
20
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General
21
* Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option)
22
* any later version.
23
*
24
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
25
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
26
* details.
27
*
28
* You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to
29
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
30
*/
31
39
#ifndef _SEIMPLEMENTATION_PLUGIN_SATURATEFLAGPLUGIN_H_
40
#define _SEIMPLEMENTATION_PLUGIN_SATURATEFLAGPLUGIN_H_
41
42
#include "
SaturateFlag.h
"
43
#include "
SEFramework/Plugin/Plugin.h
"
44
#include "
SEImplementation/Plugin/SaturateFlag/SaturateFlagTaskFactory.h
"
45
46
namespace
SourceXtractor {
47
48
class
SaturateFlagPlugin
:
public
Plugin
{
49
public
:
50
virtual
~SaturateFlagPlugin
() =
default
;
51
52
virtual
void
registerPlugin
(
PluginAPI
&plugin_api) {
53
plugin_api.
getTaskFactoryRegistry
().
registerTaskFactory
<
SaturateFlagTaskFactory
,
SaturateFlag
>();
54
}
55
56
virtual
std::string
getIdString
()
const
{
57
return
"saturate_flag"
;
58
}
59
60
private
:
61
};
// end of SaturateFlagPlugin class
62
63
}
// namespace SourceXtractor
64
#endif
/* _SEIMPLEMENTATION_PLUGIN_SATURATEFLAGPLUGIN_H_ */
SourceXtractor::SaturateFlag
Definition:
SaturateFlag.h:46
SaturateFlagTaskFactory.h
Plugin.h
SaturateFlag.h
SourceXtractor::TaskFactoryRegistry::registerTaskFactory
void registerTaskFactory()
Definition:
TaskFactoryRegistry.h:51
std::string
STL class.
SourceXtractor::SaturateFlagPlugin
Definition:
SaturateFlagPlugin.h:48
SourceXtractor::PluginAPI
This interface is given to the plugin to let it access object instances from the framework.
Definition:
PluginAPI.h:39
SourceXtractor::SaturateFlagPlugin::registerPlugin
virtual void registerPlugin(PluginAPI &plugin_api)
Definition:
SaturateFlagPlugin.h:52
SourceXtractor::SaturateFlagPlugin::getIdString
virtual std::string getIdString() const
Definition:
SaturateFlagPlugin.h:56
SourceXtractor::Plugin
Plugins must implement this interface.
Definition:
Plugin.h:38
SourceXtractor::SaturateFlagTaskFactory
Definition:
SaturateFlagTaskFactory.h:46
SourceXtractor::SaturateFlagPlugin::~SaturateFlagPlugin
virtual ~SaturateFlagPlugin()=default
SourceXtractor::PluginAPI::getTaskFactoryRegistry
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
Generated by
1.8.5