ATLAS Offline Software
Loading...
Searching...
No Matches
IDataRetriever.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
14namespace 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
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)=0
Retrieve data and pass it on to the formatting tool.
static const InterfaceID & interfaceID()
Return the interface identifier.
virtual std::string dataTypeName() const =0
Return the class name of the data class that is handled by this retriever.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
static const InterfaceID IID_IDataRetriever("JiveXML::IDataRetriever", 3, 0)