SourceXtractorPlusPlus  0.10
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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_ */
STL class.
virtual void registerPlugin(PluginAPI &plugin_api)=0
This interface is given to the plugin to let it access object instances from the framework.
Definition: PluginAPI.h:39
virtual ~Plugin()=default
Plugins must implement this interface.
Definition: Plugin.h:38
virtual std::string getIdString() const =0