1 #ifndef _rdet_RBeaconSQLManager_h_
2 #define _rdet_RBeaconSQLManager_h_
8 #include <det/VManager.h>
9 #include <utl/ErrorLogger.h>
10 #include <utl/config.h>
11 #include <utl/TimeStamp.h>
12 #include <utl/ResponseMap.h>
13 #include <boost/lexical_cast.hpp>
15 #ifdef AUGER_SQLITE_ENABLED
16 # include <det/VSQLManager_SQLite.h>
18 # include <det/VSQLManager_MySQL.h>
23 class TabulatedFunction;
24 class TabulatedFunctionComplexLgAmpPhase;
52 void Init(
const std::string& configLink);
73 Status InternalGetDataVecDouble(std::vector<
double>& returnData,
75 const std::
string& componentName,
80 const std::
string& componentName,
81 const
IndexMap& componentIndex) const;
87 const
double& beaconFreq) const;
void Init(const std::string &configLink)
Manager Initialization. configLink is the CentralConfig hook for the configuration file...
double GetBeaconRefPhase(const int &stationId, const double &beaconFreq) const
Status InternalGetDataDouble(double &returnData, const std::string &, const std::string &componentName, const IndexMap &componentIndex) const
Manager for RD description of Station-Channels in SQL DB.
virtual ~RBeaconSQLManager()
Status const
Fetch first item from first row and optionally free query result.
#define VMANAGER_GETDATA_CALL(_GetData_, _T_...)
A TimeStamp holds GPS second and nanosecond for some event.
std::map< int, std::map< double, beaconRefPhaseOfStation > > fBufferBeaconRefPhases
Interface for detector managers that use MySQL.
#define VMANAGER_GETDATA_HANDLE_DENIED
VMANAGER_GETDATA_HANDLE_DENIED std::vector< double > fBeaconFreqs
Status InternalGetDataVecDouble(std::vector< double > &returnData, const std::string &, const std::string &componentName, const IndexMap &) const
utl::TimeStamp fBeaconFreqsBufferedStopDate
std::vector< double > GetBeaconFrequencies() const
std::map< std::string, std::string > IndexMap
utl::TimeStamp fBeaconFreqsBufferedStartDate
#define VMANAGER_GETDATA_NOTFOUND(_T_...)
Status
Specifies success or (eventually) various possible failure modes.