ATLAS Offline Software
Control
AthenaKernel
AthenaKernel
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-2017 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
25
static
const
InterfaceID IID_IEventShare(
"IEventShare"
, 1 , 0);
26
27
class
IEventShare
:
virtual
public
INamedInterface
28
{
29
public
:
33
virtual
~IEventShare
();
34
35
static
const
InterfaceID&
interfaceID
() {
return
IID_IEventShare; }
36
41
virtual
StatusCode
makeServer
(
int
num
) = 0;
42
47
virtual
StatusCode
makeClient
(
int
num
) = 0;
48
53
virtual
StatusCode
share
(
int
evtnum) = 0;
54
59
virtual
StatusCode
readEvent
(
int
maxevt) = 0;
60
};
61
62
#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
Abstract interface for sharing within an event stream.
Definition:
IEventShare.h:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IEventShare::interfaceID
static const InterfaceID & interfaceID()
Definition:
IEventShare.h:35
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.
Generated on Tue Jul 2 2024 21:17:08 for ATLAS Offline Software by
1.8.18