CMS 3D CMS Logo

ReadBase.h
Go to the documentation of this file.
1 #ifndef CondTools_DQM_ReadBase_h
2 #define CondTools_DQM_ReadBase_h
3 
4 /*
5  * \class ReadBase
6  *
7  * needed for using coral
8  *
9  *
10 */
11 
12 #include <string>
13 //#include "CoralKernel/Context.h"
14 #include "RelationalAccess/ConnectionService.h"
15 #include "CoralBase/MessageStream.h"
16 
17 namespace coral {
18  //class IConnection;
19  class ISessionProxy;
20 }
21 
22 class ReadBase {
23  public:
24  ReadBase();
25  virtual ~ReadBase();
26  virtual void run() = 0;
27  void setVerbosityLevel( coral::MsgLevel level ) ;
28  protected:
29  coral::ISessionProxy* connect( const std::string& connectionString,
30  const std::string& user,
31  const std::string& password );
32  private:
33  //coral::IConnection* m_connection;
34  coral::ConnectionService m_connectionService;
35 };
36 
37 #endif
coral::ConnectionService m_connectionService
Definition: ReadBase.h:34
Definition: Binary.h:9