The Gaudi Framework
master (bdbe7744)
Toggle main menu visibility
Loading...
Searching...
No Matches
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
SmartIF<IAppMgrUI>
m_appMgrUI
;
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
};
IRunable.h
Service.h
AppMgrRunable
Class definition of AppMgrRunable.
Definition
AppMgrRunable.h:35
AppMgrRunable::initialize
StatusCode initialize() override
IService implementation: initialize the service.
Definition
AppMgrRunable.cpp:24
AppMgrRunable::finalize
StatusCode finalize() override
IService implementation: finalize the service.
Definition
AppMgrRunable.cpp:56
AppMgrRunable::m_evtMax
Gaudi::Property< int > m_evtMax
Definition
AppMgrRunable.h:39
AppMgrRunable::m_appMgrUI
SmartIF< IAppMgrUI > m_appMgrUI
Reference to application manager UI.
Definition
AppMgrRunable.h:38
AppMgrRunable::start
StatusCode start() override
IService implementation: start the service.
Definition
AppMgrRunable.cpp:44
AppMgrRunable::run
StatusCode run() override
IRunable implementation : Run the class implementation.
Definition
AppMgrRunable.cpp:64
AppMgrRunable::stop
StatusCode stop() override
IService implementation: stop the service.
Definition
AppMgrRunable.cpp:50
Gaudi::Property
Implementation of property with value of concrete type.
Definition
Property.h:35
IAppMgrUI
Application Manager User Interface.
Definition
IAppMgrUI.h:31
SmartIF
Small smart pointer class with automatic reference counting for IInterface.
Definition
SmartIF.h:28
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
extends
Base class used to extend a class implementing other interfaces.
Definition
extends.h:19
GaudiCoreSvc
src
ApplicationMgr
AppMgrRunable.h
Generated on
for The Gaudi Framework by
1.17.0