ATLAS Offline Software
Loading...
Searching...
No Matches
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: $
13
14#ifndef ATHENAKERNEL_IEVENTSHARE_H
15#define ATHENAKERNEL_IEVENTSHARE_H 1
16
17#include "GaudiKernel/StatusCode.h"
18#include "GaudiKernel/INamedInterface.h"
19
24class IEventShare : virtual public INamedInterface
25{
26public:
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
Abstract interface for sharing within an event stream.
Definition IEventShare.h:25
virtual StatusCode makeServer(int num)=0
Make this a server.
virtual StatusCode readEvent(int maxevt)=0
Read the next maxevt events.
virtual StatusCode share(int evtnum)=0
Request to share a given event.
DeclareInterfaceID(IEventShare, 1, 0)
virtual ~IEventShare()
Destructor.
virtual StatusCode makeClient(int num)=0
Make this a client.