ATLAS Offline Software
Loading...
Searching...
No Matches
DataModelCompatSvc.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
25
26#ifndef DATAMODELCOMPATSVC_H
27#define DATAMODELCOMPATSVC_H
28
29#include "RootUtils/ILogger.h"
31#include "GaudiKernel/IIncidentListener.h"
32
33
38 : public AthService,
39 public RootUtils::ILogger,
40 virtual public IIncidentListener
41{
42public:
48 DataModelCompatSvc(const std::string& name, ISvcLocator* svc);
49
50
54 virtual StatusCode initialize();
55
56
61 virtual void handle (const Incident& inc);
62
63
68 virtual void debug (const char* msg);
69
70
75 virtual void error (const char* msg);
76
77};
78
79#endif // not DATAMODELCOMPATSVC_H
Very simple interface for writing log messages.
const bool debug
MsgStream & msg() const
DataModelCompatSvc(const std::string &name, ISvcLocator *svc)
Constructor.
virtual StatusCode initialize()
Service initialization; called at the beginning of the job.
virtual void handle(const Incident &inc)
Handle incidents.
Very simple interface for writing log messages.
Definition ILogger.h:34