ATLAS Offline Software
VP13DCocktailPlugin_VP1AutoFactory.cxx
Go to the documentation of this file.
1 
2 /*
3  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
4 */
5 
7 // //
8 // Implementation of class VP13DCocktailPlugin_VP1AutoFactory //
9 // //
10 // Author: Riccardo Maria BIANCHI <rbianchi@cern.ch> //
11 // //
12 // Update version: Dec 2017 //
13 // //
15 
16 
17 // Originally, this file was autogenerated by CMT with VP1 Factory Code Header File
18 // Now we add this file to plugins by hand, to simplify the CMake compilation
19 
20 #include <QtPlugin>
23 
25 {
26  return QStringList()
27  << "3DCocktail"
28  ;
29 }
30 
32 {
33  if (channelwidget == "3DCocktail")
34  return new VP13DCocktailChannel();
35 
36  return 0;
37 }
38 
VP13DCocktailPlugin_VP1AutoFactory::channelWidgetsProvided
virtual QStringList channelWidgetsProvided() const
Definition: VP13DCocktailPlugin_VP1AutoFactory.cxx:24
VP13DCocktailChannel.h
VP13DCocktailPlugin_VP1AutoFactory::getChannelWidget
virtual IVP1ChannelWidget * getChannelWidget(const QString &channelwidget)
Definition: VP13DCocktailPlugin_VP1AutoFactory.cxx:31
VP13DCocktailPlugin_VP1AutoFactory.h
IVP1ChannelWidget
Definition: IVP1ChannelWidget.h:34
VP13DCocktailChannel
Definition: VP13DCocktailChannel.h:20