Public Member Functions | Private Attributes | List of all members
lariov::WebReaderService Class Reference

#include <WebReaderService.h>

Public Member Functions

 WebReaderService (fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
 
virtual ~WebReaderService ()
 
template<class T >
WebReader< T > & GetWebReader ()
 

Private Attributes

std::string _server
 
std::string _port
 
std::string _db
 
unsigned int _timeout
 

Detailed Description

Definition at line 24 of file WebReaderService.h.

Constructor & Destructor Documentation

lariov::WebReaderService::WebReaderService ( fhicl::ParameterSet const &  pset,
art::ActivityRegistry reg 
)

Definition at line 5 of file WebReaderService_service.cc.

6  : _server ( pset.get< std::string >( "WDA_SERVER" ) )
7  , _port ( pset.get< std::string >( "WDA_PORT" ) )
8  , _db ( pset.get< std::string >( "WDA_DBNAME" ) )
9  , _timeout ( pset.get< unsigned int >( "WDA_TIMEOUT" ) )
10  {}
std::string string
Definition: nybbler.cc:12
virtual lariov::WebReaderService::~WebReaderService ( )
inlinevirtual

Definition at line 30 of file WebReaderService.h.

30 {}

Member Function Documentation

template<class T >
WebReader<T>& lariov::WebReaderService::GetWebReader ( )
inline

Definition at line 33 of file WebReaderService.h.

34  {
35  return WebReader<T>::GetME(_server,_port,_db,_timeout);
36  }

Member Data Documentation

std::string lariov::WebReaderService::_db
private

Definition at line 41 of file WebReaderService.h.

std::string lariov::WebReaderService::_port
private

Definition at line 40 of file WebReaderService.h.

std::string lariov::WebReaderService::_server
private

Definition at line 39 of file WebReaderService.h.

unsigned int lariov::WebReaderService::_timeout
private

Definition at line 42 of file WebReaderService.h.


The documentation for this class was generated from the following files: