![]() |
|
|
Generated: 8 Jan 2009 |
00001 // $Id: RunRecordDataSvc.h,v 1.4 2006/11/30 14:57:03 mato Exp $ 00002 #ifndef DATASVC_EVTDATASVC_H 00003 #define DATASVC_EVTDATASVC_H 00004 00005 #include "GaudiKernel/DataSvc.h" 00006 #include "GaudiKernel/IIncidentListener.h" 00007 class IConversionSvc; 00008 00009 00030 class RunRecordDataSvc : public DataSvc, virtual public IIncidentListener { 00031 friend class SvcFactory<RunRecordDataSvc>; 00032 protected: 00033 typedef std::vector<std::string> StringV; 00034 public: 00035 virtual StatusCode initialize(); 00036 virtual StatusCode reinitialize(); 00037 virtual StatusCode finalize(); 00038 00043 virtual StatusCode queryInterface(const InterfaceID& riid,void** ppvInterface); 00044 00046 virtual void handle(const Incident& incident); 00047 00049 RunRecordDataSvc(const std::string& name, ISvcLocator* svc); 00050 00052 virtual ~RunRecordDataSvc(); 00053 00054 protected: 00056 void registerRunRecord(const std::string& data, IOpaqueAddress* pAddr); 00057 00058 private: 00060 IConversionSvc* m_cnvSvc; 00061 }; 00062 #endif // DATASVC_EVTDATASVC_H