ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace 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
Abstract interface to JiveXML event streaming classes.
Definition IStreamTool.h:24
virtual StatusCode finalize()=0
virtual StatusCode initialize()=0
Pure virtual interface functions.
virtual StatusCode StreamEvent(const unsigned long EventNumber, const unsigned int RunNumber, const std::ostringstream *EventBuffer)=0
Stream one event.
static const InterfaceID & interfaceID()
The interface identifier.
Definition IStreamTool.h:39
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
static const InterfaceID IID_IStreamTool("IStreamTool", 1, 0)
Must declare this, with name of interface.