|
Gaudi Framework, version v23r2 |
| Home | Generated: Thu Jun 28 2012 |
Description: More...
#include <src/RootPerfMonSvc.h>


Public Member Functions | |
| RootPerfMonSvc (const std::string &name, ISvcLocator *svc) | |
| Standard constructor. | |
| virtual | ~RootPerfMonSvc () |
| Standard destructor. | |
| StatusCode | error (const std::string &msg) |
| Standard way to print errors. | |
| virtual StatusCode | initialize () |
| ConversionSvc overload: initialize Db service. | |
| virtual StatusCode | finalize () |
| ConversionSvc overload: Finalize Db service. | |
Protected Member Functions | |
| MsgStream & | log () const |
| Helper: Use message streamer. | |
Protected Attributes | |
| IIncidentSvc * | m_incidentSvc |
| Reference to incident service. | |
| std::string | m_ioPerfStats |
| Property: Enable TTree IOperfStats if not empty; otherwise perf stat file name. | |
| MsgStream * | m_log |
| Message streamer. | |
Description:
RootPerfMonSvc class implementation definition.
Definition at line 34 of file RootPerfMonSvc.h.
| Gaudi::RootPerfMonSvc::RootPerfMonSvc | ( | const std::string & | name, |
| ISvcLocator * | svc | ||
| ) |
Standard constructor.
| RootPerfMonSvc::~RootPerfMonSvc | ( | ) | [virtual] |
| StatusCode Gaudi::RootPerfMonSvc::error | ( | const std::string & | msg ) |
Standard way to print errors.
after the printout an exception is thrown.
| msg | [IN] Message string to be printed. |
| StatusCode RootPerfMonSvc::finalize | ( | ) | [virtual] |
ConversionSvc overload: Finalize Db service.
Reimplemented from Service.
Definition at line 63 of file RootPerfMonSvc.cpp.
{
log() << MSG::INFO;
deletePtr(m_log);
releasePtr(m_incidentSvc);
return Service::finalize();
}
| StatusCode RootPerfMonSvc::initialize | ( | ) | [virtual] |
ConversionSvc overload: initialize Db service.
Reimplemented from Service.
Definition at line 51 of file RootPerfMonSvc.cpp.
{
string cname;
StatusCode status = Service::initialize();
if ( !status.isSuccess() )
return error("Failed to initialize Service base class.");
m_log = new MsgStream(msgSvc(),name());
if( !(status=service("IncidentSvc", m_incidentSvc)).isSuccess() )
return error("Unable to localize interface from service:IncidentSvc");
return S_OK;
}
| MsgStream& Gaudi::RootPerfMonSvc::log | ( | ) | const [inline, protected] |
IIncidentSvc* Gaudi::RootPerfMonSvc::m_incidentSvc [protected] |
Reference to incident service.
Definition at line 38 of file RootPerfMonSvc.h.
std::string Gaudi::RootPerfMonSvc::m_ioPerfStats [protected] |
Property: Enable TTree IOperfStats if not empty; otherwise perf stat file name.
Definition at line 40 of file RootPerfMonSvc.h.
MsgStream* Gaudi::RootPerfMonSvc::m_log [protected] |
Message streamer.
Definition at line 42 of file RootPerfMonSvc.h.