|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "ui_vp1bankscontroller.h"
11 #include "GaudiKernel/IClassIDSvc.h"
12 #include "GaudiKernel/ISvcLocator.h"
21 Ui::VP1BanksSystemControllerForm
ui{};
46 "System for browsing the contents of StoreGate",
47 "Joe Boudreau <boudreau@pitt.edu> (original), Thomas.Kittelmann@cern.ch (VP1 implementation)"),
50 m_d->
ui.radioButton_store_event = 0;
51 m_d->
ui.radioButton_store_detector = 0;
52 m_d->
ui.pushButton_refresh = 0;
68 if (
clidSvc->getTypeNameOfID(
id,
n).isFailure())
76 return ui.radioButton_store_event && !ui.radioButton_store_event->isChecked();
83 QWidget * controller =
new QWidget;
84 m_d->
ui.setupUi(controller);
91 message(
"Error: Got NULL pointer to the service locator!");
95 m_d->
clidSvc = svcLoc->service(
"ClassIDSvc" );
97 message(
"Error: Could not retrieve ClassIDSvc!!");
118 QStringList entry_key;
119 QStringList entry_type;
120 QStringList entry_id;
127 if (!
keys.isEmpty()) {
130 for (
const QString&
key :
keys) {
167 if (
state.version()!=0) {
168 message(
"Warning: State data in .vp1 file is in wrong format - ignoring!");
173 state.restore(
m_d->
ui.radioButton_store_event,
m_d->
ui.radioButton_store_detector);
void emitIfChanged(const QStringList &keys, const QStringList &types, const QStringList &ids)
void serialise(const std::vector< const IRoiDescriptor * > &rois, roiserial_type &s)
serialise an entire vector of IRoiDescriptors
void create(StoreGateSvc *detstore)
SmartIF< IClassIDSvc > clidSvc
static QString str(const QString &s)
QStringList lastEmitted_keys
virtual QByteArray saveState()
QStringList getKeys() const
The Athena Transient Store API.
QString idToName(const CLID &) const
ISvcLocator * serviceLocator() const
QStringList lastEmitted_types
uint32_t CLID
The Class ID type.
virtual ~VP1BanksSystem()
VP1BanksSystem * theclass
QStringList lastEmitted_ids
void registerController(QWidget *)
void restoreFromState(QByteArray)
void entriesChanged(const QStringList &entry_key, const QStringList &entry_type, const QStringList &entry_id)
QList< CLID > getPossibleCLIDs() const
void message(const QString &) const
void refresh(StoreGateSvc *storegate)
void messageVerbose(const QString &) const
Ui::VP1BanksSystemControllerForm ui
QWidget * controllerWidget()
virtual void restoreFromState(QByteArray)