Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

EvtPersistencySvc.cpp

Go to the documentation of this file.
00001 //====================================================================
00002 //      EvtPersistencySvc.cpp
00003 //--------------------------------------------------------------------
00004 //
00005 //      Package    : System ( The LHCb Offline System)
00006 //
00007 //  Description: implementation of the Event data persistency service
00008 //               This specialized service only deals with event related 
00009 //               data
00010 //
00011 //      Author     : M.Frank
00012 //  History    :
00013 // +---------+----------------------------------------------+---------
00014 // |    Date |                 Comment                      | Who     
00015 // +---------+----------------------------------------------+---------
00016 // | 29/10/98| Initial version                              | MF
00017 // +---------+----------------------------------------------+---------
00018 //
00019 //====================================================================
00020 #define  PERSISTENCYSVC_EVTPERSISTENCYSVC_CPP
00021 
00022 // Implementation specific definitions
00023 #include "GaudiKernel/SvcFactory.h"
00024 #include "GaudiKernel/ISvcLocator.h"
00025 #include "EvtPersistencySvc.h"
00026 
00027 // Instantiation of a static factory class used by clients to create
00028 // instances of this service
00029 static const SvcFactory<EvtPersistencySvc>    s_factory;
00030 const ISvcFactory& EvtPersistencySvcFactory = s_factory;
00031 
00033 StatusCode EvtPersistencySvc::finalize()     {
00034   StatusCode status = PersistencySvc::finalize();
00035   return status;
00036 }
00037 
00039 StatusCode EvtPersistencySvc::initialize()     {
00040   StatusCode status = PersistencySvc::initialize();
00041 /*
00042   // add conversion services
00043   IConversionSvc* cnv_svc = 0;
00044   // Get a reference to the Message Service
00045   status = serviceLocator()->getService("EventConversionSvc", IID_IConversionSvc, (IInterface*&)cnv_svc);
00046   if ( status.isFailure() )   {
00047     return status;
00048   }
00049   status = addCnvService(cnv_svc);
00050 */
00051   return status;
00052 }
00053 
00055 EvtPersistencySvc::EvtPersistencySvc(const std::string& name, ISvcLocator* svc)
00056  :  PersistencySvc(name, svc)
00057 {
00058 }
00059 
00061 EvtPersistencySvc::~EvtPersistencySvc()   {
00062 }

Generated at Wed Nov 21 12:22:29 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000