SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PluginAPI.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2019-2022 Université de Genève, LMU Munich - Faculty of Physics, IAP-CNRS/Sorbonne Université
3  *
4  * This library is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License as published by the Free
6  * Software Foundation; either version 3.0 of the License, or (at your option)
7  * any later version.
8  *
9  * This library is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12  * details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 /*
19  * PluginAPI.h
20  *
21  * Created on: Aug 5, 2016
22  * Author: mschefer
23  */
24 
25 #ifndef _SEFRAMEWORK_PLUGIN_PLUGINAPI_H_
26 #define _SEFRAMEWORK_PLUGIN_PLUGINAPI_H_
27 
31 
32 namespace SourceXtractor {
33 
40 class PluginAPI {
41 public:
42  virtual ~PluginAPI() = default;
43 
44  virtual TaskFactoryRegistry& getTaskFactoryRegistry() const = 0;
45  virtual OutputRegistry& getOutputRegistry() const = 0;
46 };
47 
48 }
49 
50 #endif /* _SEFRAMEWORK_PLUGIN_PLUGINAPI_H_ */
virtual OutputRegistry & getOutputRegistry() const =0
virtual ~PluginAPI()=default
This interface is given to the plugin to let it access object instances from the framework.
Definition: PluginAPI.h:40
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0