| The Gaudi Framework v32r1 (f65d50dc)

IEventProcessor.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_IEVENTPROCESSOR_H
2 #define GAUDIKERNEL_IEVENTPROCESSOR_H 1
3
4 // Include files
5 #include <GaudiKernel/EventContext.h>
6 #include <GaudiKernel/IInterface.h>
7
14 class GAUDI_API IEventProcessor : virtual public IInterface {
15 public:
17 DeclareInterfaceID( IEventProcessor, 4, 0 );
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
EventContext.h
EventContext
This class represents an entry point to all the event specific data.
Definition: EventContext.h:24
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
IInterface
Definition of the basic interface.
Definition: IInterface.h:244
DeclareInterfaceID
#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
IEventProcessor
The IEventProcessor is the interface to process events.
Definition: IEventProcessor.h:14
maxevt
int maxevt
Definition: Bootstrap.cpp:260
executeRun
return ep &&ep executeRun(maxevt).isSuccess()
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
IInterface.h