ATLAS Offline Software
IStreamTool.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__ISTREAMTOOL_H
6 #define JIVEXML__ISTREAMTOOL_H
7 
8 #include "GaudiKernel/IAlgTool.h"
9 #include "GaudiKernel/IProperty.h"
10 
11 namespace JiveXML {
12 
14  static const InterfaceID IID_IStreamTool("IStreamTool", 1, 0);
15 
22  class IStreamTool : virtual public IAlgTool,
23  virtual public IProperty
24  {
25 
26  public:
28  static const InterfaceID& interfaceID();
29 
31  virtual StatusCode initialize() = 0;
32  virtual StatusCode finalize() = 0;
33 
35  virtual StatusCode StreamEvent( const unsigned long EventNumber, const unsigned int RunNumber, const std::ostringstream* EventBuffer ) = 0;
36 
37  };
38 
39  inline const InterfaceID& IStreamTool::interfaceID()
40  {
41  return IID_IStreamTool;
42  }
43 
44 } //namespace
45 
46 #endif
47 
JiveXML::IStreamTool::finalize
virtual StatusCode finalize()=0
sct_calib_tf.EventNumber
int EventNumber
Definition: sct_calib_tf.py:29
JiveXML::IStreamTool::initialize
virtual StatusCode initialize()=0
Pure virtual interface functions.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JiveXML::IStreamTool::interfaceID
static const InterfaceID & interfaceID()
The interface identifier.
Definition: IStreamTool.h:39
JiveXML::IStreamTool::StreamEvent
virtual StatusCode StreamEvent(const unsigned long EventNumber, const unsigned int RunNumber, const std::ostringstream *EventBuffer)=0
Stream one event.
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:21
EventInfoWrite.RunNumber
RunNumber
Definition: EventInfoWrite.py:50
JiveXML::IStreamTool
Abstract interface to JiveXML event streaming classes.
Definition: IStreamTool.h:24