00001 // this : 00002 #include "SoStatSvc.h" 00003 00004 // Gaudi : 00005 #include <GaudiKernel/SvcFactory.h> 00006 #include <GaudiKernel/MsgStream.h> 00007 00008 DECLARE_SERVICE_FACTORY( SoStatSvc ); 00009 00011 SoStatSvc::SoStatSvc( 00012 const std::string& aName 00013 ,ISvcLocator* aSvcLoc 00014 ) 00015 :Service(aName,aSvcLoc) 00018 { 00019 } 00021 SoStatSvc::~SoStatSvc( 00022 ) 00023 00024 00025 { 00026 } 00028 StatusCode SoStatSvc::initialize( 00029 ) 00030 00031 00032 { 00033 StatusCode status = Service::initialize(); 00034 if( status.isFailure() ) return status; 00035 MsgStream log(messageService(), Service::name()); 00036 log << MSG::INFO << " SoStatSvc::initialize " << endreq; 00037 setProperties(); 00038 return status; 00039 } 00041 StatusCode SoStatSvc::finalize( 00042 ) 00043 00044 00045 { 00046 MsgStream log(messageService(), Service::name()); 00047 log << MSG::INFO << "SoStatSvc finalized successfully" << endreq; 00048 return StatusCode::SUCCESS; 00049 }