CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 }
11 
12 class RPCDBCom
13 {
14  public:
15  RPCDBCom();
16  virtual ~RPCDBCom();
17  virtual void run() = 0;
18  void setVerbosityLevel( coral::MsgLevel level );
19 
20  protected:
21  coral::ISession* connect( const std::string& connectionString,
22  const std::string& userName,
23  const std::string& password );
24 
25  private:
26  coral::IConnection* m_connection;
27 };
28 
29 #endif
30 
void setVerbosityLevel(coral::MsgLevel level)
Definition: RPCDBCom.cc:56
string connectionString
Definition: autoCondHLT.py:4
virtual void run()=0
coral::ISession * connect(const std::string &connectionString, const std::string &userName, const std::string &password)
Definition: RPCDBCom.cc:27
coral::IConnection * m_connection
Definition: RPCDBCom.h:26
tuple level
Definition: testEve_cfg.py:34
virtual ~RPCDBCom()
Definition: RPCDBCom.cc:20
RPCDBCom()
Definition: RPCDBCom.cc:8