| The Gaudi Framework v28r2-patches (bc4ad17a)

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

- File List
- File Members

FileRecordDataSvc.cpp
Go to the documentation of this file.
1 //====================================================================
2 // FileRecordDataSvc.cpp
3 //--------------------------------------------------------------------
4 //
5 // Package : System ( The LHCb Offline System)
6 //
7 // Description: implementation of the Transient event data service.
8 //
9 // Author : M.Frank
10 // History :
11 // +---------+----------------------------------------------+---------
12 // | Date | Comment | Who
13 // +---------+----------------------------------------------+---------
14 // | 10/12/08| Initial version | MF
15 // +---------+----------------------------------------------+---------
16 //
17 //====================================================================
18 #define DATASVC_FILERECORDDATASVC_CPP
19
20 #include "RecordDataSvc.h"
21
38 class FileRecordDataSvc : public RecordDataSvc {
39 public:
40
42 FileRecordDataSvc(const std::string& nam, ISvcLocator* svc) : RecordDataSvc(nam,svc) {
43 m_cnvSvc = nullptr;
44 m_rootName = "/FileRecords";
45 m_incidentName = "NEW_FILE_RECORD";
46 m_saveIncidentName = "SAVE_FILE_RECORD";
47 m_persSvcName = "PersistencySvc/FileRecordPersistencySvc";
48 }
50 ~FileRecordDataSvc() override = default;
51 };
52
53 // Instantiation of a static factory class used by clients to create instances of this service
54 DECLARE_COMPONENT(FileRecordDataSvc)
55
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
DataSvc::m_rootName
Gaudi::Property< std::string > m_rootName
Definition: DataSvc.h:57
RecordDataSvc::m_saveIncidentName
Gaudi::Property< std::string > m_saveIncidentName
Definition: RecordDataSvc.h:50
RecordDataSvc
A RecordDataSvc is the base class for event services.
Definition: RecordDataSvc.h:24
DECLARE_COMPONENT
#define DECLARE_COMPONENT(type)
Definition: PluginService.h:36
FileRecordDataSvc::FileRecordDataSvc
FileRecordDataSvc(const std::string &nam, ISvcLocator *svc)
Standard Constructor.
Definition: FileRecordDataSvc.cpp:42
std::string
STL class.
FileRecordDataSvc::~FileRecordDataSvc
~FileRecordDataSvc() override=default
Standard Destructor.
RecordDataSvc.h
FileRecordDataSvc
A FileRecordDataSvc is the base class for event services.
Definition: FileRecordDataSvc.cpp:38
RecordDataSvc::m_incidentName
Gaudi::Property< std::string > m_incidentName
Definition: RecordDataSvc.h:48
RecordDataSvc::m_persSvcName
Gaudi::Property< std::string > m_persSvcName
Definition: RecordDataSvc.h:51
RecordDataSvc::m_cnvSvc
SmartIF< IConversionSvc > m_cnvSvc
Reference to the main data conversion service.
Definition: RecordDataSvc.h:57