00001 // $Id: IEventProcessor.h,v 1.6 2005/01/11 17:11:06 mato Exp $ 00002 #ifndef GAUDIKERNEL_IEVENTPROCESSOR_H 00003 #define GAUDIKERNEL_IEVENTPROCESSOR_H 1 00004 00005 // Include files 00006 #include "GaudiKernel/IInterface.h" 00007 00008 // Forward declartions 00009 class IEventProcessor; 00010 00011 // Declaration of the interface ID ( interface id, major version, minor version) 00012 static const InterfaceID IID_IEventProcessor(321, 2 , 0); 00013 00020 class IEventProcessor : virtual public IInterface { 00021 public: 00023 static const InterfaceID& interfaceID() { return IID_IEventProcessor; } 00025 virtual StatusCode executeEvent(void* par=0) = 0; 00027 virtual StatusCode executeRun(int maxevt) = 0; 00029 virtual StatusCode nextEvent(int maxevt) = 0; 00031 virtual StatusCode stopRun() = 0; 00032 }; 00033 00034 #endif // GAUDIKERNEL_IEVENTPROCESSOR_H 00035