|
Gaudi Framework, version v22r0 |
| Home | Generated: 9 Feb 2011 |
A EvtDataSvc is the base class for event services. More...
#include <EvtDataSvc.h>


Public Member Functions | |
| virtual StatusCode | initialize () |
| Service initialisation. | |
| virtual StatusCode | reinitialize () |
| Service reinitialisation. | |
| virtual StatusCode | finalize () |
| Service finalization. | |
| EvtDataSvc (const std::string &name, ISvcLocator *svc) | |
| Standard Constructor. | |
| virtual | ~EvtDataSvc () |
| Standard Destructor. | |
Private Attributes | |
| SmartIF< IConversionSvc > | m_cnvSvc |
Friends | |
| class | SvcFactory< EvtDataSvc > |
A EvtDataSvc is the base class for event services.
Definition at line 15 of file EvtDataSvc.h.
| EvtDataSvc::EvtDataSvc | ( | const std::string & | name, | |
| ISvcLocator * | svc | |||
| ) |
Standard Constructor.
Definition at line 54 of file EvtDataSvc.cpp.
| EvtDataSvc::~EvtDataSvc | ( | ) | [virtual] |
| StatusCode EvtDataSvc::finalize | ( | ) | [virtual] |
Service finalization.
Reimplemented from DataSvc.
Definition at line 47 of file EvtDataSvc.cpp.
00047 { 00048 m_cnvSvc = 0; // release 00049 DataSvc::finalize().ignore(); 00050 return StatusCode::SUCCESS ; 00051 }
| StatusCode EvtDataSvc::initialize | ( | ) | [virtual] |
Service initialisation.
Reimplemented from DataSvc.
Definition at line 31 of file EvtDataSvc.cpp.
00031 { 00032 // Nothing to do: just call base class initialisation 00033 StatusCode status = DataSvc::initialize(); 00034 ISvcLocator* svc_loc = serviceLocator(); 00035 00036 // Attach data loader facility 00037 m_cnvSvc = svc_loc->service("EventPersistencySvc"); 00038 status = setDataLoader( m_cnvSvc ); 00039 return status; 00040 }
| StatusCode EvtDataSvc::reinitialize | ( | ) | [virtual] |
Service reinitialisation.
Reimplemented from DataSvc.
Definition at line 42 of file EvtDataSvc.cpp.
00042 { 00043 // Do nothing for this service 00044 return StatusCode::SUCCESS; 00045 }
friend class SvcFactory< EvtDataSvc > [friend] |
Definition at line 16 of file EvtDataSvc.h.
SmartIF<IConversionSvc> EvtDataSvc::m_cnvSvc [private] |
Definition at line 29 of file EvtDataSvc.h.