The Gaudi Framework  v33r0 (d5ea422b)
PythonScriptingSvc.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 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
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:35
~PythonScriptingSvc() override
Destructor.
StatusCode run() override
Run the service by taking full control. [IRunable::run()].
StatusCode finalize() override
Finalize the service. [IService::finalize()].
STL class.
const std::string & name() const override
Retrieve name of the service.
Definition: Service.cpp:284
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:61
std::string m_startupScript
Startup script.
This service handles scripting implemented using Python.
Base class used to extend a class implementing other interfaces.
Definition: extends.h:20
StatusCode initialize() override
Initialize the service. [IService::initialize()].
PythonScriptingSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.