1 #ifndef DBConnectionMgr_h
2 #define DBConnectionMgr_h
29 typedef std::set< DBInterface* > DBSet ;
32 ICondDBMgr* Mgr = nullptr ;
37 typedef std::map< std::string , DBRefs > DBMap ;
62 #endif // DBConnectionMgr_h
Provides a simple interface to the conditions data base for lccd.
Definition: DBInterface.hh:53
Singleton that manages data base connection on the basis of access strings.
Definition: DBConnectionMgr.hh:26
~DBConnectionMgr()
D'tor.
Definition: DBConnectionMgr.cc:22
void releaseConnection(const std::string &dbInit, DBInterface *dbInterface)
Release the connection for the given interface.
Definition: DBConnectionMgr.cc:79
static DBConnectionMgr * instance()
The only way to access the manager object.
Definition: DBConnectionMgr.cc:41
ICondDBMgr * getDBConnection(const std::string &dbInit, DBInterface *dbInterface)
Get a connection for the given dbInit - create if it does not exist yet.
Definition: DBConnectionMgr.cc:50