ATLAS Offline Software
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 */
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 {
42 public:
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
DataModelCompatSvc::DataModelCompatSvc
DataModelCompatSvc(const std::string &name, ISvcLocator *svc)
Constructor.
Definition: DataModelCompatSvc.cxx:35
DataModelCompatSvc::initialize
virtual StatusCode initialize()
Service initialization; called at the beginning of the job.
Definition: DataModelCompatSvc.cxx:45
DataModelCompatSvc
Service for DataVector backwards compatibility.
Definition: DataModelCompatSvc.h:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthService
Definition: AthService.h:32
DataModelCompatSvc::handle
virtual void handle(const Incident &inc)
Handle incidents.
Definition: DataModelCompatSvc.cxx:72
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
RootUtils::ILogger
Very simple interface for writing log messages.
Definition: ILogger.h:34
AthCommonMsg< Service >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
AthService.h
DataModelCompatSvc::debug
virtual void debug(const char *msg)
Log a debugging message.
Definition: DataModelCompatSvc.cxx:90
DataModelCompatSvc::error
virtual void error(const char *msg)
Log an error message.
Definition: DataModelCompatSvc.cxx:100
ILogger.h
Very simple interface for writing log messages.