ATLAS Offline Software
graphics
VP1
VP1Plugins
VP1LightPlugin
VP1LightPlugin
VP1LightPlugin_VP1AutoFactory.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef VP1LIGHTPlugin_VP1AutoFactory_H
6
#define VP1LIGHTPlugin_VP1AutoFactory_H
7
8
#include <QObject>
9
#include <QStringList>
10
11
#include "
VP1Base/IVP1ChannelWidgetFactory.h
"
12
13
class
VP1LightPlugin_VP1AutoFactory
:
public
QObject,
public
IVP1ChannelWidgetFactory
14
{
15
Q_OBJECT
16
17
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
18
// Q_PLUGIN_METADATA(IID "VP1GeometryPlugin" FILE "") // apparently, FILE can be empty
19
Q_PLUGIN_METADATA(IID
"VP1LightPlugin"
)
// FILE can not be empty
20
# else
21
Q_EXPORT_PLUGIN2(pnp_vp1lightplugin_vp1autofactory,
VP1LightPlugin_VP1AutoFactory
)
22
#endif
23
24
Q_INTERFACES(
IVP1ChannelWidgetFactory
)
25
26
public
:
27
virtual
QStringList
channelWidgetsProvided
()
const
;
28
virtual
IVP1ChannelWidget
*
getChannelWidget
(
const
QString & channelwidget);
29
};
30
31
#endif
VP1LightPlugin_VP1AutoFactory
Definition:
VP1LightPlugin_VP1AutoFactory.h:14
IVP1ChannelWidgetFactory.h
IVP1ChannelWidgetFactory
Definition:
IVP1ChannelWidgetFactory.h:25
IVP1ChannelWidgetFactory::channelWidgetsProvided
virtual QStringList channelWidgetsProvided() const =0
IVP1ChannelWidget
Definition:
IVP1ChannelWidget.h:34
IVP1ChannelWidgetFactory::getChannelWidget
virtual IVP1ChannelWidget * getChannelWidget(const QString &channelwidget)=0
Generated on Thu Nov 7 2024 21:31:41 for ATLAS Offline Software by
1.8.18