ATLAS Offline Software
IVP12DSystemSimple.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // //
7 // Header file for class IVP12DSystemSimple //
8 // //
9 // Author: Thomas Kittelmann <Thomas.Kittelmann@cern.ch> //
10 // //
11 // Initial version: April 2007 //
12 // //
14 
15 #ifndef IVP12DSYSTEMSIMPLE_H
16 #define IVP12DSYSTEMSIMPLE_H
17 
18 #include "VP1Base/IVP12DSystem.h"
19 
21 
23 
24  Q_OBJECT
25 
26 public:
27 
32 
33  IVP12DSystemSimple(const QString & name, const QString & information, const QString & contact_info);
34 
35  virtual void systemcreate(StoreGateSvc* detstore);//Optional.
36 
37  //If you need a controller - create it and return it from a reimplementation of this method (it will only be called once).
38  virtual QWidget * buildController();
39 
40  //If some items should be visible for the entire run, reimplement:
42 
43  //Reimplement and add the items for a given event, based on the contents of storegate:
45 
46  void updateGUI();//Call this occasionally in buildEventSceneGraph(...) to avoid GUI freezing.
47 
48  virtual void systemerase();//Optional - for erasing maps etc. with event data.
49 
50  virtual void systemuncreate();//Optional.
51 
56 
57  virtual ~IVP12DSystemSimple();
58 private:
61  class Imp;
62  Imp * m_d;
63  void create(StoreGateSvc* detstore);
64  void refresh(StoreGateSvc* storegate);
65  void erase();
66  void uncreate();
67 };
68 
71 
72 
73 #endif
IVP12DSystemSimple::updateGUI
void updateGUI()
Definition: IVP12DSystemSimple.h:70
IVP12DSystemSimple::m_d
Imp * m_d
Definition: IVP12DSystemSimple.h:61
IVP12DSystem.h
IVP12DSystemSimple::buildPermanentItemCollection
virtual void buildPermanentItemCollection(StoreGateSvc *detstore, VP1GraphicsItemCollection *)
Definition: IVP12DSystemSimple.cxx:21
IVP1System::information
const QString & information() const
Definition: IVP1System.cxx:56
IVP12DSystemSimple::IVP12DSystemSimple
IVP12DSystemSimple(const IVP12DSystemSimple &)
IVP12DSystemSimple::systemcreate
virtual void systemcreate(StoreGateSvc *detstore)
Definition: IVP12DSystemSimple.cxx:19
IVP12DSystemSimple::operator=
IVP12DSystemSimple & operator=(const IVP12DSystemSimple &)
IVP12DSystem
Definition: IVP12DSystem.h:25
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
IVP12DSystemSimple::systemerase
virtual void systemerase()
Definition: IVP12DSystemSimple.cxx:24
IVP12DSystemSimple::erase
void erase()
Definition: IVP12DSystemSimple.cxx:94
IVP12DSystemSimple::systemuncreate
virtual void systemuncreate()
Definition: IVP12DSystemSimple.cxx:23
IVP12DSystemSimple::IVP12DSystemSimple
IVP12DSystemSimple(const QString &name, const QString &information, const QString &contact_info)
Definition: IVP12DSystemSimple.cxx:36
IVP1System::name
const QString & name() const
Definition: IVP1System.cxx:50
IVP1System::contact_info
const QString & contact_info() const
Definition: IVP1System.cxx:62
IVP1System::updateGUI
void updateGUI()
Definition: IVP1System.cxx:262
IVP12DSystemSimple::Imp
Definition: IVP12DSystemSimple.cxx:27
IVP12DSystemSimple
Definition: IVP12DSystemSimple.h:22
IVP12DSystemSimple::buildController
virtual QWidget * buildController()
Definition: IVP12DSystemSimple.cxx:20
IVP12DSystemSimple::create
void create(StoreGateSvc *detstore)
Definition: IVP12DSystemSimple.cxx:56
VP1GraphicsItemCollection
Definition: VP1GraphicsItemCollection.h:53
IVP12DSystemSimple::buildEventItemCollection
virtual void buildEventItemCollection(StoreGateSvc *sg, VP1GraphicsItemCollection *)
Definition: IVP12DSystemSimple.cxx:22
IVP12DSystemSimple::uncreate
void uncreate()
Definition: IVP12DSystemSimple.cxx:104
IVP12DSystemSimple::~IVP12DSystemSimple
virtual ~IVP12DSystemSimple()
Definition: IVP12DSystemSimple.cxx:50
IVP12DSystemSimple::refresh
void refresh(StoreGateSvc *storegate)
Definition: IVP12DSystemSimple.cxx:75