ATLAS Offline Software
Public Member Functions | List of all members
VP1CaloPlugin_VP1AutoFactory Class Reference

#include <VP1CaloPlugin_VP1AutoFactory.h>

Inheritance diagram for VP1CaloPlugin_VP1AutoFactory:
Collaboration diagram for VP1CaloPlugin_VP1AutoFactory:

Public Member Functions

virtual QStringList channelWidgetsProvided () const
 
virtual IVP1ChannelWidgetgetChannelWidget (const QString &channelwidget)
 

Detailed Description

Definition at line 15 of file VP1CaloPlugin_VP1AutoFactory.h.

Member Function Documentation

◆ channelWidgetsProvided()

QStringList VP1CaloPlugin_VP1AutoFactory::channelWidgetsProvided ( ) const
virtual

Implements IVP1ChannelWidgetFactory.

Definition at line 13 of file VP1CaloPlugin_VP1AutoFactory.cxx.

14 {
15  return QStringList()
16  << "Calo"
17  ;
18 }

◆ getChannelWidget()

IVP1ChannelWidget * VP1CaloPlugin_VP1AutoFactory::getChannelWidget ( const QString &  channelwidget)
virtual

Implements IVP1ChannelWidgetFactory.

Definition at line 20 of file VP1CaloPlugin_VP1AutoFactory.cxx.

21 {
22  if (channelwidget == "Calo")
23  return new VP1CaloCellChannel();
24 
25  return 0;
26 }

The documentation for this class was generated from the following files:
VP1CaloCellChannel
Definition: VP1CaloCellChannel.h:11