The Gaudi Framework
master (750c24bb)
Toggle main menu visibility
Loading...
Searching...
No Matches
PythonScriptingSvc.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 Files
14
#include <
GaudiKernel/IRunable.h
>
15
#include <
GaudiKernel/Service.h
>
16
24
class
PythonScriptingSvc
:
public
extends
<Service, IRunable> {
25
26
public
:
28
PythonScriptingSvc
(
const
std::string&
name
,
ISvcLocator
* svc );
29
31
StatusCode
initialize
()
override
;
32
34
StatusCode
finalize
()
override
;
35
37
StatusCode
run
()
override
;
38
40
~PythonScriptingSvc
()
override
;
41
42
private
:
44
std::string
m_startupScript
;
45
};
IRunable.h
Service.h
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition
ISvcLocator.h:42
PythonScriptingSvc::m_startupScript
std::string m_startupScript
Startup script.
Definition
PythonScriptingSvc.h:44
PythonScriptingSvc::~PythonScriptingSvc
~PythonScriptingSvc() override
Destructor.
Definition
PythonScriptingSvc.cpp:42
PythonScriptingSvc::initialize
StatusCode initialize() override
Initialize the service. [IService::initialize()].
Definition
PythonScriptingSvc.cpp:46
PythonScriptingSvc::finalize
StatusCode finalize() override
Finalize the service. [IService::finalize()].
Definition
PythonScriptingSvc.cpp:110
PythonScriptingSvc::run
StatusCode run() override
Run the service by taking full control. [IRunable::run()].
Definition
PythonScriptingSvc.cpp:123
PythonScriptingSvc::PythonScriptingSvc
PythonScriptingSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
Definition
PythonScriptingSvc.cpp:34
Service::name
const std::string & name() const override
Retrieve name of the service.
Definition
Service.cpp:333
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
GaudiPython
src
Services
PythonScriptingSvc.h
Generated on
for The Gaudi Framework by
1.17.0