Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
AppMgrRunable.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #pragma once
12 
13 #include <GaudiKernel/IRunable.h>
14 #include <GaudiKernel/Service.h>
15 
16 class IAppMgrUI;
17 
35 class AppMgrRunable : public extends<Service, IRunable> {
36 protected:
38  IAppMgrUI* m_appMgrUI = nullptr;
39  Gaudi::Property<int> m_evtMax{ this, "EvtMax", 0xFEEDBABE, "number of events to be processed" };
40 
41 public:
43  using extends::extends;
44 
46  StatusCode initialize() override;
48  StatusCode start() override;
50  StatusCode stop() override;
52  StatusCode finalize() override;
54  StatusCode run() override;
55 };
AppMgrRunable::run
StatusCode run() override
IRunable implementation : Run the class implementation.
Definition: AppMgrRunable.cpp:58
AppMgrRunable::finalize
StatusCode finalize() override
IService implementation: finalize the service.
Definition: AppMgrRunable.cpp:50
AppMgrRunable::stop
StatusCode stop() override
IService implementation: stop the service.
Definition: AppMgrRunable.cpp:44
AppMgrRunable::initialize
StatusCode initialize() override
IService implementation: initialize the service.
Definition: AppMgrRunable.cpp:24
AppMgrRunable::m_evtMax
Gaudi::Property< int > m_evtMax
Definition: AppMgrRunable.h:39
AppMgrRunable::start
StatusCode start() override
IService implementation: start the service.
Definition: AppMgrRunable.cpp:38
StatusCode
Definition: StatusCode.h:64
AppMgrRunable::m_appMgrUI
IAppMgrUI * m_appMgrUI
Reference to application manager UI.
Definition: AppMgrRunable.h:38
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:19
AppMgrRunable
Class definition of AppMgrRunable.
Definition: AppMgrRunable.h:35
Service.h
IAppMgrUI
Definition: IAppMgrUI.h:31
IRunable.h
Gaudi::Property< int >