ATLAS Offline Software
IEventSeek.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: IEventSeek.h,v 1.1 2005-05-05 00:15:02 calaf Exp $
15 #ifndef ATHENAKERNEL_IEVENTSEEK_H
16 #define ATHENAKERNEL_IEVENTSEEK_H 1
17 
18 #include "GaudiKernel/StatusCode.h"
19 #include "GaudiKernel/INamedInterface.h"
20 
26 class IEventSeek : virtual public INamedInterface
27 {
28 public:
30 
31 
36  virtual StatusCode seek (int evtnum) = 0;
37 
42  virtual int curEvent () const = 0;
43 };
44 
45 
46 #endif // not ATHENAKERNEL_IEVENTSEEK_H
IEventSeek::seek
virtual StatusCode seek(int evtnum)=0
Seek to a given event number.
IEventSeek::curEvent
virtual int curEvent() const =0
return the current event number.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IEventSeek::DeclareInterfaceID
DeclareInterfaceID(IEventSeek, 1, 0)
IEventSeek
Abstract interface for seeking within an event stream.
Definition: IEventSeek.h:27