The Gaudi Framework  master (37c0b60a)
PythonScriptingSvc.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 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 #ifndef GAUDIPYTHON_PYTHONSCRIPTINGSVC_H
12 #define GAUDIPYTHON_PYTHONSCRIPTINGSVC_H
13 
14 // Include Files
15 #include <GaudiKernel/IRunable.h>
16 #include <GaudiKernel/Service.h>
17 
25 class PythonScriptingSvc : public extends<Service, IRunable> {
26 
27 public:
30 
32  StatusCode initialize() override;
33 
35  StatusCode finalize() override;
36 
38  StatusCode run() override;
39 
41  ~PythonScriptingSvc() override;
42 
43 private:
46 };
47 
48 #endif // GAUDIPYTHON_PYTHONSCRIPTINGSVC_H
PythonScriptingSvc::PythonScriptingSvc
PythonScriptingSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
Definition: PythonScriptingSvc.cpp:34
PythonScriptingSvc::m_startupScript
std::string m_startupScript
Startup script.
Definition: PythonScriptingSvc.h:45
std::string
STL class.
ISvcLocator
Definition: ISvcLocator.h:46
Service::name
const std::string & name() const override
Retrieve name of the service
Definition: Service.cpp:332
StatusCode
Definition: StatusCode.h:65
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:20
PythonScriptingSvc::~PythonScriptingSvc
~PythonScriptingSvc() override
Destructor.
Definition: PythonScriptingSvc.cpp:42
PythonScriptingSvc::run
StatusCode run() override
Run the service by taking full control. [IRunable::run()].
Definition: PythonScriptingSvc.cpp:125
Service.h
PythonScriptingSvc::initialize
StatusCode initialize() override
Initialize the service. [IService::initialize()].
Definition: PythonScriptingSvc.cpp:46
IRunable.h
PythonScriptingSvc
Definition: PythonScriptingSvc.h:25
PythonScriptingSvc::finalize
StatusCode finalize() override
Finalize the service. [IService::finalize()].
Definition: PythonScriptingSvc.cpp:112