ATLAS Offline Software
IDataRetriever.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 JIVEXML_IDATARETRIEVER_H
6 #define JIVEXML_IDATARETRIEVER_H
7 
8 #include "GaudiKernel/IAlgTool.h"
9 #include "GaudiKernel/ToolHandle.h"
10 #include "GaudiKernel/ClassID.h"
11 
12 #include "JiveXML/IFormatTool.h"
13 
14 namespace JiveXML{
15 
16  static const InterfaceID IID_IDataRetriever("JiveXML::IDataRetriever", 3, 0);
17 
25  class IDataRetriever : virtual public IAlgTool{
26 
27  public:
28 
30  static const InterfaceID& interfaceID();
31 
33  virtual StatusCode retrieve( ToolHandle<IFormatTool> &FormatTool ) = 0;
34 
36  virtual std::string dataTypeName() const = 0;
37 
38  };
39 
40  inline const InterfaceID& IDataRetriever::interfaceID() { return IID_IDataRetriever; }
41 }
42 #endif
43 
JiveXML::IDataRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)=0
Retrieve data and pass it on to the formatting tool.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JiveXML::IDataRetriever
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
Definition: IDataRetriever.h:25
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:21
JiveXML::IDataRetriever::dataTypeName
virtual std::string dataTypeName() const =0
Return the class name of the data class that is handled by this retriever.
JiveXML::IDataRetriever::interfaceID
static const InterfaceID & interfaceID()
Return the interface identifier.
Definition: IDataRetriever.h:40
IFormatTool.h