ATLAS Offline Software
Loading...
Searching...
No Matches
IEvtSelectorSeek.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
15#ifndef ATHENAKERNEL_IEVTSELECTORSEEK_H
16#define ATHENAKERNEL_IEVTSELECTORSEEK_H
17
18#include "GaudiKernel/StatusCode.h"
19#include "GaudiKernel/INamedInterface.h"
20#include "GaudiKernel/IEvtSelector.h"
21
26
27class IEvtSelectorSeek : virtual public INamedInterface
28{
29public:
31
32
37 virtual StatusCode seek (IEvtSelector::Context& c, int evtnum) const = 0;
38
39
44 virtual int curEvent (const IEvtSelector::Context& c) const = 0;
45
46
50 virtual int size (IEvtSelector::Context& c) const = 0;
51};
52
53
54#endif // not ATHENAKERNEL_IEVTSELECTORSEEK_H
55
Abstract interface for seeking for an event selector.
DeclareInterfaceID(IEvtSelectorSeek, 1, 0)
virtual int curEvent(const IEvtSelector::Context &c) const =0
return the current event number.
virtual StatusCode seek(IEvtSelector::Context &c, int evtnum) const =0
Seek to a given event number.
virtual int size(IEvtSelector::Context &c) const =0
Return the size of the collection, or -1 if we can't get the size.