| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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/Service.h"
6 #include "GaudiKernel/IRunable.h"
7
8 // Forward declarations
9 class IAppMgrUI;
10
28 class AppMgrRunable : public extends<Service,
29 IRunable> {
30 protected:
32 IAppMgrUI* m_appMgrUI = nullptr;
34 int m_evtMax;
35
36 public:
38 AppMgrRunable(const std::string& nam, ISvcLocator* svcLoc);
40 ~AppMgrRunable() override = default;
41
43 StatusCode initialize() override;
45 StatusCode start() override;
47 StatusCode stop() override;
49 StatusCode finalize() override;
51 StatusCode run() override;
52 };
53 #endif // GAUDISVC_APPMGRRUNABLE_H
AppMgrRunable::start
StatusCode start() override
IService implementation: start the service.
Definition: AppMgrRunable.cpp:35
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
AppMgrRunable
Class definition of AppMgrRunable.
Definition: AppMgrRunable.h:28
IRunable.h
AppMgrRunable::finalize
StatusCode finalize() override
IService implementation: finalize the service.
Definition: AppMgrRunable.cpp:47
AppMgrRunable::m_evtMax
int m_evtMax
Number of events to be processed.
Definition: AppMgrRunable.h:34
std::string
STL class.
Service.h
AppMgrRunable::AppMgrRunable
AppMgrRunable(const std::string &nam, ISvcLocator *svcLoc)
Standard Constructor.
Definition: AppMgrRunable.cpp:14
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
AppMgrRunable::run
StatusCode run() override
IRunable implementation : Run the class implementation.
Definition: AppMgrRunable.cpp:55
AppMgrRunable::stop
StatusCode stop() override
IService implementation: stop the service.
Definition: AppMgrRunable.cpp:41
IAppMgrUI
Application Manager User Interface.
Definition: IAppMgrUI.h:20
AppMgrRunable::initialize
StatusCode initialize() override
IService implementation: initialize the service.
Definition: AppMgrRunable.cpp:21
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
AppMgrRunable::~AppMgrRunable
~AppMgrRunable() override=default
Standard Destructor.
AppMgrRunable::m_appMgrUI
IAppMgrUI * m_appMgrUI
Reference to application manager UI.
Definition: AppMgrRunable.h:32