ATLAS Offline Software
ICoreDumpSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ATHENAKERNEL_ICOREDUMPSVC_H
6 #define ATHENAKERNEL_ICOREDUMPSVC_H
7 
15 #include "GaudiKernel/IInterface.h"
16 #include "GaudiKernel/EventContext.h"
17 #include <string>
18 
27 class ICoreDumpSvc: virtual public IInterface {
28 public:
30 
32  virtual ~ICoreDumpSvc() {}
33 
35  virtual void setCoreDumpInfo( const std::string& name, const std::string& value ) = 0;
36 
38  virtual void setCoreDumpInfo( const EventContext& ctx, const std::string& name, const std::string& value ) = 0;
39 
41  virtual std::string dump() const = 0;
42 };
43 
44 #endif // ATHENAKERNEL_ICOREDUMPSVC_H
athena.value
value
Definition: athena.py:122
ICoreDumpSvc::~ICoreDumpSvc
virtual ~ICoreDumpSvc()
Virtualize D'tor.
Definition: ICoreDumpSvc.h:32
ICoreDumpSvc::DeclareInterfaceID
DeclareInterfaceID(ICoreDumpSvc, 1, 0)
ICoreDumpSvc::setCoreDumpInfo
virtual void setCoreDumpInfo(const EventContext &ctx, const std::string &name, const std::string &value)=0
Set a name/value pair in the core dump record for given EventContext.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ICoreDumpSvc::setCoreDumpInfo
virtual void setCoreDumpInfo(const std::string &name, const std::string &value)=0
Set a name/value pair in the core dump record.
ICoreDumpSvc
Interface of a core dump service.
Definition: ICoreDumpSvc.h:27
ICoreDumpSvc::dump
virtual std::string dump() const =0
Print all core dump records.