1 #ifndef _rdet_RBadStationSQLManager_h_
2 #define _rdet_RBadStationSQLManager_h_
8 #include <det/VManager.h>
9 #include <utl/ErrorLogger.h>
10 #include <utl/config.h>
11 #include <utl/ResponseMap.h>
12 #include <utl/LeapSeconds.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;
57 void Init(
const std::string& configLink);
77 Status InternalGetData(std::vector<
int>& returnData,
const std::
string& componentProperty,
85 const std::
string& component,
86 const std::
string& property,
int GetBadPeriod(const int stationId) const
virtual Status GenericGetData(Handle &returnData, const std::string &component, const std::string &property, const IndexMap &index) const
Status InternalGetData(std::vector< int > &returnData, const std::string &componentProperty, const std::string &componentName, const IndexMap &) const
virtual ~RBadStationSQLManager()
Status const
Fetch first item from first row and optionally free query result.
#define VMANAGER_GETDATA_CALL(_GetData_, _T_...)
Interface for detector managers that use MySQL.
unsigned long long int reason
Manager for RD Bad Stations.
unsigned long long int GetBadPeriodFromBuffer(const int stationId) const
unsigned long startGPSSecond
std::map< std::string, std::string > IndexMap
std::map< int, std::vector< BadPeriod > > fBadPeriodList
#define VMANAGER_GETDATA_NOTFOUND(_T_...)
Status
Specifies success or (eventually) various possible failure modes.
unsigned long stopGPSSecond
void Init(const std::string &configLink)
Manager Initialization. configLink is the CentralConfig hook for the configuration file...
bool BufferBadPeriodTable() const