ATLAS Offline Software
IEventShare.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: $
14 #ifndef ATHENAKERNEL_IEVENTSHARE_H
15 #define ATHENAKERNEL_IEVENTSHARE_H 1
16 
17 #include "GaudiKernel/StatusCode.h"
18 #include "GaudiKernel/INamedInterface.h"
19 
24 class IEventShare : virtual public INamedInterface
25 {
26 public:
27 
29 
33  virtual ~IEventShare ();
34 
39  virtual StatusCode makeServer(int num) = 0;
40 
45  virtual StatusCode makeClient(int num) = 0;
46 
51  virtual StatusCode share (int evtnum) = 0;
52 
57  virtual StatusCode readEvent(int maxevt) = 0;
58 };
59 
60 #endif // not ATHENAKERNEL_IEVENTSHARE_H
IEventShare::makeClient
virtual StatusCode makeClient(int num)=0
Make this a client.
IEventShare::share
virtual StatusCode share(int evtnum)=0
Request to share a given event.
IEventShare::DeclareInterfaceID
DeclareInterfaceID(IEventShare, 1, 0)
IEventShare
Abstract interface for sharing within an event stream.
Definition: IEventShare.h:25
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IEventShare::makeServer
virtual StatusCode makeServer(int num)=0
Make this a server.
trigbs_pickEvents.num
num
Definition: trigbs_pickEvents.py:76
IEventShare::~IEventShare
virtual ~IEventShare()
Destructor.
Definition: IEventShare.cxx:17
IEventShare::readEvent
virtual StatusCode readEvent(int maxevt)=0
Read the next maxevt events.