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 }
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 
Definition: Binary.h:9
edm::Handle< T > connect(const T *&ptr, edm::EDGetTokenT< T > token, const edm::Event &evt)
coral::IConnection * m_connection
Definition: RPCDBCom.h:26