2#ifndef CalibMySQLCnvSvc_h
3#define CalibMySQLCnvSvc_h 1
6#include "CalibDataSvc/ICalibMetaCnvSvc.h"
7#include "CalibDataSvc/IInstrumentName.h"
8#include "GaudiKernel/ConversionSvc.h"
9#include "facilities/Timestamp.h"
10#include "GaudiKernel/IDetDataSvc.h"
11#include "DatabaseSvc/DatabaseSvc.h"
12#include "calibUtil/Metadata.h"
49 void** ppvInterface );
59 virtual StatusCode
createObj ( IOpaqueAddress* pAddress,
60 DataObject*& refpObject );
64 DataObject* pObject );
67 virtual StatusCode
updateObj ( IOpaqueAddress* pAddress,
68 DataObject* pObject );
72 DataObject* pObject );
76 IOpaqueAddress*& refpAddress );
80 DataObject* pObject );
83 virtual StatusCode
updateRep ( IOpaqueAddress* pAddress,
84 DataObject* pObject );
88 DataObject* pObject );
93 const std::string* par,
94 const unsigned long* ip,
95 IOpaqueAddress*& refpAddress );
105 const std::string& fullpath,
114 const std::string& fullpath,
119 unsigned char& type);
126 std::string& CalParVer,
int &runfrm,
127 int &runto,
int RunNo, std::string BossRelease,
128 std::string DataType);
143 unsigned int m_calibLevelMask;
153 std::string m_enterTimeStartString;
154 std::string m_enterTimeEndString;
156 IDataProviderSvc* m_eventSvc;
158 std::string m_dbName;
162 std::string m_calPar[12];
164 std::string m_bossver[12];
165 std::string m_bossRelease;
166 std::string m_flag[12];
170 IConversionSvc* m_detPersSvc;
173 IDetDataSvc* m_detDataSvc;
177 std::vector<std::string> m_qualityList;
178 unsigned int m_qualityMask;
181 std::string m_dbStatus;
virtual StatusCode updateRep(IOpaqueAddress *pAddress, DataObject *pObject)
Update a converted representation of a transient object.
virtual StatusCode updateObj(IOpaqueAddress *pAddress, DataObject *pObject)
Update a transient representation from another rep of this object.
virtual StatusCode updateCalib(DataObject *pObject, const std::string &fullpath, const CLID &classID, IRegistry *entry=0)
virtual StatusCode createRep(DataObject *pObject, IOpaqueAddress *&refpAddress)
Convert a transient object to a requested representation.
virtual StatusCode fillRepRefs(IOpaqueAddress *pAddress, DataObject *pObject)
Resolve the references of a converted object.
virtual ~CalibMySQLCnvSvc()
virtual StatusCode createObj(IOpaqueAddress *pAddress, DataObject *&refpObject)
Create a transient representation from another rep of this object.
virtual StatusCode fillObjRefs(IOpaqueAddress *pAddress, DataObject *pObject)
Resolve the references of the created transient object.
StatusCode getSftParVer(std::string &SftVer, std::string &CalParVer, int &runfrm, int &runto, int RunNo, std::string BossRelease, std::string DataType)
CalibMySQLCnvSvc(const std::string &name, ISvcLocator *svc)
virtual StatusCode finalize()
virtual StatusCode decodeDescription(const std::string &description, unsigned char &type)
Decode the string storage type to enumerated storage type.
virtual StatusCode updateRepRefs(IOpaqueAddress *pAddress, DataObject *pObject)
Update the references of an already converted object.
virtual StatusCode createCalib(DataObject *&refpObject, const std::string &fullpath, const CLID &classID, IRegistry *entry=0)
virtual calibUtil::Metadata * getMeta()
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
virtual StatusCode createAddress(long svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&refpAddress)
Create an address using explicit arguments to identify a single object.
virtual StatusCode updateObjRefs(IOpaqueAddress *pAddress, DataObject *pObject)
Update the references of an updated transient object.
virtual StatusCode initialize()
Simple interface to keep track of which instrument (LAT, EM, etc.) the process is concerned with....
Forward and external declarations.