Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DESDBProvider.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DESDBProvider.h
4 // Creator: sdobbs
5 //
6 // Interface for EventStore database connection
7 //
8 
9 #ifndef _DESDBProvider_
10 #define _DESDBProvider_
11 
12 #include <iostream>
13 #include <string>
14 #include <vector>
15 
16 #include <JANA/jerror.h>
17 #include <JANA/JException.h>
18 
19 using namespace jana;
20 using namespace std;
21 
22 
24  public:
25  DESDBProvider(string connection_str) {}
26  virtual ~DESDBProvider() {}
27 
28  virtual bool Open() = 0;
29 
30  virtual bool GetGrades(vector<string> &grades) = 0;
31  virtual bool GetSkims(vector<string> &grades, string timestamp, string grade) = 0;
32 
33  protected:
34 };
35 
36 #endif // _DESDBProvider_
virtual ~DESDBProvider()
Definition: DESDBProvider.h:26
DESDBProvider(string connection_str)
Definition: DESDBProvider.h:25