ATLAS Offline Software
ByteStreamOutputSvc.h
Go to the documentation of this file.
1 /* Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */
2 #ifndef BYTESTREAMCNVSVC_BYTESTREAMOUTPUTSVC_H
3 #define BYTESTREAMCNVSVC_BYTESTREAMOUTPUTSVC_H
4 
14 #include "GaudiKernel/EventContext.h"
15 
16 #include <string>
17 
18 
26  public:
28  ByteStreamOutputSvc(const std::string& name, ISvcLocator* svcloc);
30  virtual ~ByteStreamOutputSvc(void);
31 
33  static const InterfaceID& interfaceID();
34 
36  virtual bool putEvent(const RawEvent* re) = 0;
37 
39  virtual bool putEvent(const RawEvent* re, const EventContext& ctx) = 0;
40 };
41 
42 
43 inline const InterfaceID& ByteStreamOutputSvc::interfaceID() {
46  static const InterfaceID IID_ByteStreamOutputSvc("ByteStreamOutputSvc", 1, 0);
47  return(IID_ByteStreamOutputSvc);
48 }
49 
50 #endif // BYTESTREAMCNVSVC_BYTESTREAMOUTPUTSVC_H
ByteStreamOutputSvc::putEvent
virtual bool putEvent(const RawEvent *re)=0
virtual method for writing the event
RawEvent
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
Definition: RawEvent.h:37
RawEvent.h
AthService
Definition: AthService.h:32
ByteStreamOutputSvc::putEvent
virtual bool putEvent(const RawEvent *re, const EventContext &ctx)=0
context-aware method for writing the event
ByteStreamOutputSvc::interfaceID
static const InterfaceID & interfaceID()
Retrieve interface ID.
Definition: ByteStreamOutputSvc.h:43
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ByteStreamOutputSvc::ByteStreamOutputSvc
ByteStreamOutputSvc(const std::string &name, ISvcLocator *svcloc)
constructor
Definition: ByteStreamOutputSvc.cxx:9
ByteStreamOutputSvc::~ByteStreamOutputSvc
virtual ~ByteStreamOutputSvc(void)
destructor
Definition: ByteStreamOutputSvc.cxx:14
re
const boost::regex re(r_e)
AthService.h
ByteStreamOutputSvc
This class provides the base class to services to write bytestream data. The concrete class can provi...
Definition: ByteStreamOutputSvc.h:25