ATLAS Offline Software
Loading...
Searching...
No Matches
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
14
15#include "GaudiKernel/IInterface.h"
16#include "GaudiKernel/EventContext.h"
17#include <string>
18
26
27class ICoreDumpSvc: virtual public IInterface {
28public:
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
Interface of a core dump service.
DeclareInterfaceID(ICoreDumpSvc, 1, 0)
virtual void setCoreDumpInfo(const std::string &name, const std::string &value)=0
Set a name/value pair in the core dump record.
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.
virtual ~ICoreDumpSvc()
Virtualize D'tor.
virtual std::string dump() const =0
Print all core dump records.