SourceXtractorPlusPlus
0.12
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
BlendedFlag
BlendedFlagPlugin.h
Go to the documentation of this file.
1
17
/*
18
* BlendedFlagPlugin.h
19
*
20
* Created on: Oct 29, 2018
21
* Author: Alejandro Alvarez Ayllon
22
*/
23
24
#ifndef _SEIMPLEMENTATION_PLUGIN_BLENDEDFLAGPLUGIN_H_
25
#define _SEIMPLEMENTATION_PLUGIN_BLENDEDFLAGPLUGIN_H_
26
27
#include "
SEFramework/Plugin/Plugin.h
"
28
#include "
BlendedFlagTaskFactory.h
"
29
30
namespace
SourceXtractor {
31
32
class
BlendedFlagPlugin
:
public
Plugin
{
33
public
:
34
virtual
~BlendedFlagPlugin
() =
default
;
35
36
virtual
void
registerPlugin
(
PluginAPI
&plugin_api) {
37
plugin_api.
getTaskFactoryRegistry
().
registerTaskFactory
<
BlendedFlagTaskFactory
,
BlendedFlag
>();
38
}
39
40
virtual
std::string
getIdString
()
const
{
41
return
"blended_flag"
;
42
}
43
};
44
45
}
// end SourceXtractor
46
47
#endif // _SEIMPLEMENTATION_PLUGIN_BLENDEDFLAGPLUGIN_H_
Plugin.h
SourceXtractor::BlendedFlagTaskFactory
Definition:
BlendedFlagTaskFactory.h:34
SourceXtractor::BlendedFlagPlugin::~BlendedFlagPlugin
virtual ~BlendedFlagPlugin()=default
SourceXtractor::BlendedFlag
Definition:
BlendedFlag.h:31
BlendedFlagTaskFactory.h
SourceXtractor::TaskFactoryRegistry::registerTaskFactory
void registerTaskFactory()
Definition:
TaskFactoryRegistry.h:51
std::string
STL class.
SourceXtractor::BlendedFlagPlugin::registerPlugin
virtual void registerPlugin(PluginAPI &plugin_api)
Definition:
BlendedFlagPlugin.h:36
SourceXtractor::PluginAPI
This interface is given to the plugin to let it access object instances from the framework.
Definition:
PluginAPI.h:39
SourceXtractor::Plugin
Plugins must implement this interface.
Definition:
Plugin.h:38
SourceXtractor::PluginAPI::getTaskFactoryRegistry
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
SourceXtractor::BlendedFlagPlugin::getIdString
virtual std::string getIdString() const
Definition:
BlendedFlagPlugin.h:40
SourceXtractor::BlendedFlagPlugin
Definition:
BlendedFlagPlugin.h:32
Generated by
1.8.5