SourceXtractorPlusPlus
1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEFramework
SEFramework
Plugin
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
28
#include "Configuration/ConfigManager.h"
29
#include "
SEFramework/Task/TaskFactoryRegistry.h
"
30
#include "
SEFramework/Output/OutputRegistry.h
"
31
32
namespace
SourceXtractor
{
33
38
39
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_ */
OutputRegistry.h
TaskFactoryRegistry.h
SourceXtractor::OutputRegistry
Definition
OutputRegistry.h:37
SourceXtractor::PluginAPI
This interface is given to the plugin to let it access object instances from the framework.
Definition
PluginAPI.h:40
SourceXtractor::PluginAPI::~PluginAPI
virtual ~PluginAPI()=default
SourceXtractor::PluginAPI::getOutputRegistry
virtual OutputRegistry & getOutputRegistry() const =0
SourceXtractor::PluginAPI::getTaskFactoryRegistry
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
SourceXtractor::TaskFactoryRegistry
Definition
TaskFactoryRegistry.h:39
SourceXtractor
Definition
Aperture.h:30
Generated by
1.15.0