The Gaudi Framework  v30r3 (a5ef0a68)
AppMgrRunable.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_APPMGRRUNABLE_H
2 #define GAUDISVC_APPMGRRUNABLE_H 1
3 
4 // Framework includes
5 #include "GaudiKernel/IRunable.h"
6 #include "GaudiKernel/Service.h"
7 
8 // Forward declarations
9 class IAppMgrUI;
10 
28 class AppMgrRunable : public extends<Service, IRunable>
29 {
30 protected:
32  IAppMgrUI* m_appMgrUI = nullptr;
33  Gaudi::Property<int> m_evtMax{this, "EvtMax", 0xFEEDBABE, "number of events to be processed"};
34 
35 public:
37  using extends::extends;
38 
40  StatusCode initialize() override;
42  StatusCode start() override;
44  StatusCode stop() override;
46  StatusCode finalize() override;
48  StatusCode run() override;
49 };
50 #endif // GAUDISVC_APPMGRRUNABLE_H
StatusCode start() override
IService implementation: start the service.
Implementation of property with value of concrete type.
Definition: Property.h:381
Class definition of AppMgrRunable.
Definition: AppMgrRunable.h:28
StatusCode finalize() override
IService implementation: finalize the service.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
StatusCode run() override
IRunable implementation : Run the class implementation.
StatusCode stop() override
IService implementation: stop the service.
Application Manager User Interface.
Definition: IAppMgrUI.h:20
StatusCode initialize() override
IService implementation: initialize the service.
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
Gaudi::Property< int > m_evtMax
Definition: AppMgrRunable.h:33
IAppMgrUI * m_appMgrUI
Reference to application manager UI.
Definition: AppMgrRunable.h:32