#include <DataManager.h>
Public Member Functions | |
void | connect (const std::string &connectString, const std::string &authenticationPath, bool isOMDS=false) |
DataManager () | |
DataManager (const std::string &connectString, const std::string &authenticationPath, bool isOMDS=false) | |
cond::DbConnection * | dbConnection () |
cond::DbSession * | dbSession () |
void | setDebug (bool debug) |
virtual | ~DataManager () |
Protected Member Functions | |
edm::eventsetup::TypeTag | findType (const std::string &type) const |
Protected Attributes | |
cond::DbConnection * | connection |
cond::DbSession * | session |
Definition at line 20 of file DataManager.h.
l1t::DataManager::DataManager | ( | ) |
Definition at line 12 of file DataManager.cc.
|
explicit |
Definition at line 16 of file DataManager.cc.
References connect().
|
virtual |
Definition at line 45 of file DataManager.cc.
References cond::DbConnection::close(), cond::DbSession::close(), connection, and session.
void l1t::DataManager::connect | ( | const std::string & | connectString, |
const std::string & | authenticationPath, | ||
bool | isOMDS = false |
||
) |
Definition at line 24 of file DataManager.cc.
References cond::DbConnection::configuration(), cond::DbConnection::configure(), connection, cond::DbConnection::createSession(), cond::DbSession::open(), session, cond::DbConnectionConfiguration::setAuthenticationPath(), cond::DbConnectionConfiguration::setConnectionSharing(), setDebug(), and cond::DbConnectionConfiguration::setReadOnlySessionOnUpdateConnections().
Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), Vispa.Views.PropertyView.BooleanProperty::__init__(), Vispa.Gui.FindDialog.FindDialog::_addScript(), Vispa.Gui.FindDialog.FindDialog::_addStringProperty(), Vispa.Main.Application.Application::_connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), Vispa.Views.PropertyView.PropertyView::append(), Vispa.Views.PropertyView.PropertyView::appendAddRow(), l1t::OMDSReader::connect(), Vispa.Main.Application.Application::createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createButton(), Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createLineEdit(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createTextEdit(), DataManager(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Gui.PortWidget.PortWidget::mouseMoveEvent(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Main.SplitterTab.SplitterTab::setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setTab(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
|
inline |
|
inline |
Definition at line 34 of file DataManager.h.
References session.
Referenced by L1CaloHcalScaleConfigOnlineProd::newObject().
|
protected |
Definition at line 57 of file DataManager.cc.
References edm::eventsetup::heterocontainer::HCTypeTag::findType().
void l1t::DataManager::setDebug | ( | bool | debug | ) |
Definition at line 70 of file DataManager.cc.
References cond::DbConnection::configuration(), connection, Debug, and cond::DbConnectionConfiguration::setMessageLevel().
Referenced by connect().
|
protected |
Definition at line 45 of file DataManager.h.
Referenced by connect(), dbConnection(), setDebug(), and ~DataManager().
|
protected |
Definition at line 44 of file DataManager.h.
Referenced by l1t::OMDSReader::basicQuery(), l1t::OMDSReader::basicQueryGenericKey(), l1t::OMDSReader::basicQueryView(), l1t::OMDSReader::columnNames(), l1t::OMDSReader::columnNamesView(), connect(), l1t::OMDSReader::connect(), dbSession(), l1t::OMDSReader::OMDSReader(), and ~DataManager().