2#ifndef CalibMySQLCnvSvc_h
3#define CalibMySQLCnvSvc_h 1
8#include "GaudiKernel/ConversionSvc.h"
10#include "GaudiKernel/IDetDataSvc.h"
49 void** ppvInterface );
59 virtual StatusCode
createObj ( IOpaqueAddress* pAddress,
60 DataObject*& refpObject );
63 virtual StatusCode
fillObjRefs ( IOpaqueAddress* pAddress,
64 DataObject* pObject );
67 virtual StatusCode
updateObj ( IOpaqueAddress* pAddress,
68 DataObject* pObject );
72 DataObject* pObject );
75 virtual StatusCode
createRep ( DataObject* pObject,
76 IOpaqueAddress*& refpAddress );
79 virtual StatusCode
fillRepRefs ( IOpaqueAddress* pAddress,
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 );
104 virtual StatusCode
createCalib(DataObject*& refpObject,
105 const std::string& fullpath,
113 virtual StatusCode
updateCalib(DataObject* pObject,
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 finalize()
virtual StatusCode updateRep(IOpaqueAddress *pAddress, DataObject *pObject)
Update a converted representation of a transient object.
virtual StatusCode decodeDescription(const std::string &description, unsigned char &type)
Decode the string storage type to enumerated storage type.
virtual StatusCode fillObjRefs(IOpaqueAddress *pAddress, DataObject *pObject)
Resolve the references of the created transient object.
virtual StatusCode createObj(IOpaqueAddress *pAddress, DataObject *&refpObject)
Create a transient representation from another rep of this object.
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 createRep(DataObject *pObject, IOpaqueAddress *&refpAddress)
Convert a transient object to a requested representation.
virtual StatusCode createCalib(DataObject *&refpObject, const std::string &fullpath, const CLID &classID, IRegistry *entry=0)
virtual StatusCode updateCalib(DataObject *pObject, const std::string &fullpath, const CLID &classID, IRegistry *entry=0)
virtual StatusCode fillRepRefs(IOpaqueAddress *pAddress, DataObject *pObject)
Resolve the references of a converted object.
StatusCode getSftParVer(std::string &SftVer, std::string &CalParVer, int &runfrm, int &runto, int RunNo, std::string BossRelease, std::string DataType)
virtual StatusCode updateObjRefs(IOpaqueAddress *pAddress, DataObject *pObject)
Update the references of an updated transient object.
virtual calibUtil::Metadata * getMeta()
Handle to the MySQL metadata database.
virtual StatusCode updateObj(IOpaqueAddress *pAddress, DataObject *pObject)
Update a transient representation from another rep of this object.
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
virtual ~CalibMySQLCnvSvc()
virtual StatusCode initialize()
virtual StatusCode updateRepRefs(IOpaqueAddress *pAddress, DataObject *pObject)
Update the references of an already converted object.
Simple interface to keep track of which instrument (LAT, EM, etc.) the process is concerned with....
Forward and external declarations.