The Gaudi Framework  v32r2 (46d42edc)
IEventProcessor.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_IEVENTPROCESSOR_H
2 #define GAUDIKERNEL_IEVENTPROCESSOR_H 1
3 
4 // Include files
7 
14 class GAUDI_API IEventProcessor : virtual public IInterface {
15 public:
18 
19  virtual EventContext createEventContext() = 0;
21  virtual StatusCode executeEvent( EventContext&& ctx ) = 0;
23  virtual StatusCode executeRun( int maxevt ) = 0;
25  virtual StatusCode nextEvent( int maxevt ) = 0;
27  virtual StatusCode stopRun() = 0;
28 };
29 
30 #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:24
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
Definition of the basic interface.
Definition: IInterface.h:244
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:13
The IEventProcessor is the interface to process events.
int maxevt
Definition: Bootstrap.cpp:260
return ep &&ep executeRun(maxevt).isSuccess()
#define GAUDI_API
Definition: Kernel.h:71