WebReaderService.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 //
3 // WebReaderService
4 //
5 ////////////////////////////////////////////////////////////////////////
6 #ifndef WEBREADERSERVICE_H
7 #define WEBREADERSERVICE_H
8 
18 #include "art_root_io/RootDB/SQLite3Wrapper.h"
19 
20 #include "larevt/CalibrationDBI/WebDBI/WebReader.h"
21 
22 namespace lariov{
23 
25 
26  public:
27 
29 
30  virtual ~WebReaderService(){}
31 
32  template <class T>
33  WebReader<T>& GetWebReader()
34  {
35  return WebReader<T>::GetME(_server,_port,_db,_timeout);
36  }
37 
38  private:
42  unsigned int _timeout;
43  }; // class WebReaderService
44 
45 } //namespace lariov
46 
48 
49 #endif
std::string string
Definition: nybbler.cc:12
WebReader< T > & GetWebReader()
#define DECLARE_ART_SERVICE(svc, scope)
Filters for channels, events, etc.
WebReaderService(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)