All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EventLoopMgr.h
Go to the documentation of this file.
1 // $Id: EventLoopMgr.h,v 1.9 2008/10/09 13:40:18 marcocle Exp $
2 #ifndef GAUDISVC_EVENTLOOPMGR_H
3 #define GAUDISVC_EVENTLOOPMGR_H 1
4 
5 // Framework include files
8 
9 // std includes
10 #include <memory>
11 
12 // Forward declarations
13 class IIncidentSvc;
14 class IDataManagerSvc;
15 class IDataProviderSvc;
16 
40 public:
41 
42 protected:
52  std::string m_evtsel;
58  std::string m_histPersName;
65  bool m_warnings;
66 
67 public:
69  EventLoopMgr(const std::string& nam, ISvcLocator* svcLoc);
71  virtual ~EventLoopMgr();
74 
76  virtual StatusCode initialize();
78  virtual StatusCode reinitialize();
80  virtual StatusCode stop();
82  virtual StatusCode finalize();
84  virtual StatusCode nextEvent(int maxevt);
86  virtual StatusCode executeEvent(void* par);
88  virtual StatusCode executeRun(int maxevt);
89 };
90 #endif // GAUDISVC_EVENTLOOPMGR_H
virtual StatusCode executeEvent(void *par)
implementation of IEventProcessor::executeEvent(void* par)
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:26
SmartIF< IConversionSvc > m_histoPersSvc
Reference to the Histogram Persistency Service.
Definition: EventLoopMgr.h:56
std::string m_histPersName
Name of the Hist Pers type.
Definition: EventLoopMgr.h:58
Data provider interface definition.
virtual StatusCode executeRun(int maxevt)
implementation of IEventProcessor::executeRun()
Class definition of EventLoopMgr.
Definition: EventLoopMgr.h:39
virtual StatusCode initialize()
implementation of IService::initialize
virtual StatusCode reinitialize()
implementation of IService::reinitialize
bool m_warnings
Flag to disable warning messages when using external input.
Definition: EventLoopMgr.h:65
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
StatusCode getEventRoot(IOpaqueAddress *&refpAddr)
Create event address using event selector.
EventLoopMgr(const std::string &nam, ISvcLocator *svcLoc)
Standard Constructor.
SmartIF< IDataManagerSvc > m_evtDataMgrSvc
Reference to the Event Data Service's IDataManagerSvc interface.
Definition: EventLoopMgr.h:44
virtual StatusCode finalize()
implementation of IService::finalize
SmartIF< IProperty > m_appMgrProperty
Property interface of ApplicationMgr.
Definition: EventLoopMgr.h:60
IEvtSelector::Context * m_evtContext
Event Iterator.
Definition: EventLoopMgr.h:50
SmartIF< IEvtSelector > m_evtSelector
Reference to the Event Selector.
Definition: EventLoopMgr.h:48
virtual ~EventLoopMgr()
Standard Destructor.
bool m_endEventFired
Flag to avoid to fire the EnvEvent incident twice in a row (and also not before the first event) ...
Definition: EventLoopMgr.h:63
SmartIF< IDataProviderSvc > m_evtDataSvc
Reference to the Event Data Service's IDataProviderSvc interface.
Definition: EventLoopMgr.h:46
This is the default processing manager of the application manager.
virtual StatusCode stop()
implementation of IService::stop
virtual StatusCode nextEvent(int maxevt)
implementation of IService::nextEvent
Opaque address interface definition.
std::string m_evtsel
Event selector.
Definition: EventLoopMgr.h:52
The interface implemented by the IncidentSvc service.
Definition: IIncidentSvc.h:22
SmartIF< IDataManagerSvc > m_histoDataMgrSvc
Reference to the Histogram Data Service.
Definition: EventLoopMgr.h:54