|
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{};
47 "System for browsing the contents of StoreGate",
48 "Joe Boudreau <boudreau@pitt.edu> (original), Thomas.Kittelmann@cern.ch (VP1 implementation)"),
51 m_d->
ui.radioButton_store_event = 0;
52 m_d->
ui.radioButton_store_detector = 0;
53 m_d->
ui.pushButton_refresh = 0;
69 if (
clidSvc->getTypeNameOfID(
id,
n).isFailure())
77 return ui.radioButton_store_event && !ui.radioButton_store_event->isChecked();
84 QWidget * controller =
new QWidget;
85 m_d->
ui.setupUi(controller);
92 message(
"Error: Got NULL pointer to the service locator!");
96 m_d->
clidSvc = svcLoc->service(
"ClassIDSvc" );
98 message(
"Error: Could not retrieve ClassIDSvc!!");
119 QStringList entry_key;
120 QStringList entry_type;
121 QStringList entry_id;
128 if (!
keys.isEmpty()) {
168 if (
state.version()!=0) {
169 message(
"Warning: State data in .vp1 file is in wrong format - ignoring!");
174 state.restore(
m_d->
ui.radioButton_store_event,
m_d->
ui.radioButton_store_detector);
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
void emitIfChanged(QStringList keys, QStringList types, QStringList ids)
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)