SourceXtractorPlusPlus  0.13
Please provide a description of the project.
Plugin.h
Go to the documentation of this file.
1 
17 /*
18  * Plugin.h
19  *
20  * Created on: Jul 26, 2016
21  * Author: mschefer
22  */
23 
24 #ifndef _SEFRAMEWORK_PLUGIN_PLUGIN_H_
25 #define _SEFRAMEWORK_PLUGIN_PLUGIN_H_
26 
28 
29 namespace SourceXtractor {
30 
38 class Plugin {
39 public:
40  virtual ~Plugin() = default;
41 
42  virtual std::string getIdString() const = 0;
43  virtual void registerPlugin(PluginAPI& plugin_api) = 0;
44 };
45 
46 } // namespace SourceXtractor
47 
48 #endif /* _SEFRAMEWORK_PLUGIN_PLUGIN_H_ */
SourceXtractor::Plugin
Plugins must implement this interface.
Definition: Plugin.h:38
std::string
STL class.
SourceXtractor::Plugin::registerPlugin
virtual void registerPlugin(PluginAPI &plugin_api)=0
SourceXtractor::Plugin::~Plugin
virtual ~Plugin()=default
SourceXtractor::Plugin::getIdString
virtual std::string getIdString() const =0
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::PluginAPI
This interface is given to the plugin to let it access object instances from the framework.
Definition: PluginAPI.h:39
PluginAPI.h