|
Gaudi Framework, version v23r2 |
| Home | Generated: Thu Jun 28 2012 |
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 | ||
| ) |
| EvtDataSvc::~EvtDataSvc | ( | ) | [virtual] |
| StatusCode EvtDataSvc::finalize | ( | ) | [virtual] |
Service finalization.
Reimplemented from DataSvc.
Definition at line 47 of file EvtDataSvc.cpp.
{
m_cnvSvc = 0; // release
DataSvc::finalize().ignore();
return StatusCode::SUCCESS ;
}
| StatusCode EvtDataSvc::initialize | ( | ) | [virtual] |
Service initialisation.
Reimplemented from DataSvc.
Definition at line 31 of file EvtDataSvc.cpp.
{
// Nothing to do: just call base class initialisation
StatusCode status = DataSvc::initialize();
ISvcLocator* svc_loc = serviceLocator();
// Attach data loader facility
m_cnvSvc = svc_loc->service("EventPersistencySvc");
status = setDataLoader( m_cnvSvc );
return status;
}
| StatusCode EvtDataSvc::reinitialize | ( | ) | [virtual] |
Service reinitialisation.
Reimplemented from DataSvc.
Definition at line 42 of file EvtDataSvc.cpp.
{
// Do nothing for this service
return StatusCode::SUCCESS;
}
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.