All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AppMgrRunable.h
Go to the documentation of this file.
1 // $Id: AppMgrRunable.h,v 1.4 2008/06/02 14:21:35 marcocle Exp $
2 #ifndef GAUDISVC_APPMGRRUNABLE_H
3 #define GAUDISVC_APPMGRRUNABLE_H 1
4 
5 // Framework includes
6 #include "GaudiKernel/Service.h"
7 #include "GaudiKernel/IRunable.h"
8 
9 // Forward declarations
10 class IAppMgrUI;
11 
29 class AppMgrRunable : public extends1<Service, IRunable> {
30 protected:
34  int m_evtMax;
35 
36 public:
38  AppMgrRunable(const std::string& nam, ISvcLocator* svcLoc);
40  virtual ~AppMgrRunable();
41 
43  virtual StatusCode initialize();
45  virtual StatusCode start();
47  virtual StatusCode stop();
49  virtual StatusCode finalize();
51  virtual StatusCode run();
52 };
53 #endif // GAUDISVC_APPMGRRUNABLE_H
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:26
Class definition of AppMgrRunable.
Definition: AppMgrRunable.h:29
virtual ~AppMgrRunable()
Standard Destructor.
virtual StatusCode run()
IRunable implementation : Run the class implementation.
virtual StatusCode start()
IService implementation: start the service.
int m_evtMax
Number of events to be processed.
Definition: AppMgrRunable.h:34
virtual StatusCode finalize()
IService implementation: finalize the service.
AppMgrRunable(const std::string &nam, ISvcLocator *svcLoc)
Standard Constructor.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
virtual StatusCode initialize()
IService implementation: initialize the service.
Application Manager User Interface.
Definition: IAppMgrUI.h:21
virtual StatusCode stop()
IService implementation: stop the service.
IAppMgrUI * m_appMgrUI
Reference to application manager UI.
Definition: AppMgrRunable.h:32