The Gaudi Framework  v33r1 (b1225454)
IEventProcessor.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIKERNEL_IEVENTPROCESSOR_H
12 #define GAUDIKERNEL_IEVENTPROCESSOR_H 1
13 
14 // Include files
16 #include <GaudiKernel/IInterface.h>
17 
24 class GAUDI_API IEventProcessor : virtual public IInterface {
25 public:
28 
29  virtual EventContext createEventContext() = 0;
31  virtual StatusCode executeEvent( EventContext&& ctx ) = 0;
33  virtual StatusCode executeRun( int maxevt ) = 0;
35  virtual StatusCode nextEvent( int maxevt ) = 0;
37  virtual StatusCode stopRun() = 0;
38 };
39 
40 #endif // GAUDIKERNEL_IEVENTPROCESSOR_H
executeEvent
Helpers for re-entrant interfaces.
This class represents an entry point to all the event specific data.
Definition: EventContext.h:34
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:61
Definition of the basic interface.
Definition: IInterface.h:254
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:23
The IEventProcessor is the interface to process events.
int maxevt
Definition: Bootstrap.cpp:270
return ep &&ep executeRun(maxevt).isSuccess()
#define GAUDI_API
Definition: Kernel.h:81