To be moved in DBCommon, has to serve also the pure coral use case. More...
#include <ConnectionPool.h>
Public Member Functions | |
coral::IConnectionServiceConfiguration & | configuration () |
SharedSession | connect (const std::string &connectionString, coral::AccessMode accessMode) |
ConnectionPool () | |
coral::IConnectionService & | connectionService () |
virtual | ~ConnectionPool () |
Static Private Member Functions | |
static std::string | lookupString (const std::string &connectionString, coral::AccessMode accessMode) |
Private Attributes | |
coral::ConnectionService | m_connectionService |
std::map< std::string, boost::weak_ptr < coral::ISessionProxy > > | m_sessions |
To be moved in DBCommon, has to serve also the pure coral use case.
Definition at line 32 of file ConnectionPool.h.
ora::ConnectionPool::ConnectionPool | ( | ) |
Definition at line 43 of file ConnectionPool.cc.
|
virtual |
Definition at line 46 of file ConnectionPool.cc.
coral::IConnectionServiceConfiguration & ora::ConnectionPool::configuration | ( | ) |
Definition at line 52 of file ConnectionPool.cc.
ora::SharedSession ora::ConnectionPool::connect | ( | const std::string & | connectionString, |
coral::AccessMode | accessMode | ||
) |
Definition at line 56 of file ConnectionPool.cc.
References python.CommonUtils::session, tmp, and TrackValidation_HighPurity_cff::valid.
Referenced by python.Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), python.Vispa.Views.PropertyView.BooleanProperty::__init__(), python.Vispa.Gui.FindDialog.FindDialog::_addScript(), python.Vispa.Gui.FindDialog.FindDialog::_addStringProperty(), python.Vispa.Main.Application.Application::_connectSignals(), python.Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), python.Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), python.Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), python.Vispa.Views.PropertyView.PropertyView::append(), python.Vispa.Views.PropertyView.PropertyView::appendAddRow(), python.Vispa.Main.Application.Application::createAction(), python.Vispa.Views.PropertyView.TextEditWithButtonProperty::createButton(), python.Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), python.Vispa.Views.PropertyView.TextEditWithButtonProperty::createLineEdit(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.PropertyView.TextEditWithButtonProperty::createTextEdit(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filterDialog(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), python.Vispa.Gui.PortWidget.PortWidget::mouseMoveEvent(), python.Vispa.Views.PropertyView.BooleanProperty::setChecked(), python.Vispa.Main.SplitterTab.SplitterTab::setController(), python.Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), python.Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), python.Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), python.Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setTab(), python.Vispa.Views.PropertyView.IntegerProperty::setValue(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView(), python.Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and python.Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
coral::IConnectionService & ora::ConnectionPool::connectionService | ( | ) |
Definition at line 49 of file ConnectionPool.cc.
|
staticprivate |
Definition at line 77 of file ConnectionPool.cc.
|
private |
Definition at line 51 of file ConnectionPool.h.
|
private |
Definition at line 53 of file ConnectionPool.h.