| The Gaudi Framework v32r1 (f65d50dc)

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 protected:
31 IAppMgrUI* m_appMgrUI = nullptr;
32 Gaudi::Property<int> m_evtMax{this, "EvtMax", 0xFEEDBABE, "number of events to be processed"};
33
34 public:
36 using extends::extends;
37
39 StatusCode initialize() override;
41 StatusCode start() override;
43 StatusCode stop() override;
45 StatusCode finalize() override;
47 StatusCode run() override;
48 };
49 #endif // GAUDISVC_APPMGRRUNABLE_H
AppMgrRunable::start
StatusCode start() override
IService implementation: start the service.
Definition: AppMgrRunable.cpp:28
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:352
AppMgrRunable
Class definition of AppMgrRunable.
Definition: AppMgrRunable.h:28
IRunable.h
AppMgrRunable::finalize
StatusCode finalize() override
IService implementation: finalize the service.
Definition: AppMgrRunable.cpp:40
Service.h
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
AppMgrRunable::run
StatusCode run() override
IRunable implementation : Run the class implementation.
Definition: AppMgrRunable.cpp:48
AppMgrRunable::stop
StatusCode stop() override
IService implementation: stop the service.
Definition: AppMgrRunable.cpp:34
IAppMgrUI
Application Manager User Interface.
Definition: IAppMgrUI.h:20
AppMgrRunable::initialize
StatusCode initialize() override
IService implementation: initialize the service.
Definition: AppMgrRunable.cpp:14
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
AppMgrRunable::m_evtMax
Gaudi::Property< int > m_evtMax
Definition: AppMgrRunable.h:32
AppMgrRunable::m_appMgrUI
IAppMgrUI * m_appMgrUI
Reference to application manager UI.
Definition: AppMgrRunable.h:31