| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RecordDataSvc.h
Go to the documentation of this file.
1 // $Id: RecordDataSvc.h,v 1.1 2008/12/10 18:37:36 marcocle Exp $
2 #ifndef DATASVC_RECORDDATASVC_H
3 #define DATASVC_RECORDDATASVC_H
4
5 #include "GaudiKernel/DataSvc.h"
6 #include "GaudiKernel/IIncidentListener.h"
7 class IConversionSvc;
8
9
26 class RecordDataSvc : public extends1<DataSvc, IIncidentListener> {
27 protected:
28 typedef std::vector<std::string> StringV;
29 public:
30 virtual StatusCode initialize();
31 virtual StatusCode reinitialize();
32 virtual StatusCode finalize();
33
35 virtual void handle(const Incident& incident);
36
38 RecordDataSvc(const std::string& name, ISvcLocator* svc);
39
41 virtual ~RecordDataSvc();
42
43 protected:
45 void registerRecord(const std::string& data, IOpaqueAddress* pAddr);
46
48 void loadRecords(IRegistry* pReg);
49
50 protected:
52 bool m_autoLoad;
54 std::string m_incidentName;
56 std::string m_saveIncidentName;
58 std::string m_persSvcName;
60 StringV m_incidents;
62 IConversionSvc* m_cnvSvc;
63 };
64 #endif // DATASVC_RECORDDATASVC_H