CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
void setVerbosityLevel(coral::MsgLevel level)
Definition: RPCDBCom.cc:49
virtual void run()=0
coral::ISession * connect(const std::string &connectionString, const std::string &userName, const std::string &password)
Definition: RPCDBCom.cc:22
coral::IConnection * m_connection
Definition: RPCDBCom.h:25
tuple level
Definition: testEve_cfg.py:47
virtual ~RPCDBCom()
Definition: RPCDBCom.cc:17
RPCDBCom()
Definition: RPCDBCom.cc:8