CMS 3D CMS Logo

RPCDBCom.h
Go to the documentation of this file.
1 #ifndef RPCDBCOM_H
2 #define RPCDBCOM_H
3 
4 #include <string>
5 #include "CoralBase/MessageStream.h"
6 
7 namespace coral {
8  class IConnection;
9  class ISession;
10 } // namespace coral
11 
12 class RPCDBCom {
13 public:
14  RPCDBCom();
15  virtual ~RPCDBCom();
16  virtual void run() = 0;
17  void setVerbosityLevel(coral::MsgLevel level);
18 
19 protected:
20  coral::ISession* connect(const std::string& connectionString,
21  const std::string& userName,
22  const std::string& password);
23 
24 private:
25  coral::IConnection* m_connection;
26 };
27 
28 #endif
personalPlayback.level
level
Definition: personalPlayback.py:22
RPCDBCom::m_connection
coral::IConnection * m_connection
Definition: RPCDBCom.h:25
RPCDBCom::connect
coral::ISession * connect(const std::string &connectionString, const std::string &userName, const std::string &password)
Definition: RPCDBCom.cc:22
EcalCondDBWriter_cfi.userName
userName
Definition: EcalCondDBWriter_cfi.py:61
RPCDBCom::run
virtual void run()=0
EcalCondDBWriter_cfi.password
password
Definition: EcalCondDBWriter_cfi.py:62
coral
Definition: Binary.h:9
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RPCDBCom::setVerbosityLevel
void setVerbosityLevel(coral::MsgLevel level)
Definition: RPCDBCom.cc:49
RPCDBCom::~RPCDBCom
virtual ~RPCDBCom()
Definition: RPCDBCom.cc:17
RPCDBCom
Definition: RPCDBCom.h:12
l1RCTOmdsFedVectorProducer_cfi.connectionString
connectionString
Definition: l1RCTOmdsFedVectorProducer_cfi.py:4
RPCDBCom::RPCDBCom
RPCDBCom()
Definition: RPCDBCom.cc:8