| The Gaudi Framework v32r1 (f65d50dc)

PythonScriptingSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIPYTHON_PYTHONSCRIPTINGSVC_H
2 #define GAUDIPYTHON_PYTHONSCRIPTINGSVC_H
3
4 // Include Files
5 #include "GaudiKernel/IRunable.h"
6 #include "GaudiKernel/Service.h"
7
15 class PythonScriptingSvc : public extends<Service, IRunable> {
16
17 public:
19 PythonScriptingSvc( const std::string& name, ISvcLocator* svc );
20
22 StatusCode initialize() override;
23
25 StatusCode finalize() override;
26
28 StatusCode run() override;
29
31 ~PythonScriptingSvc() override;
32
33 private:
35 std::string m_startupScript;
36 };
37
38 #endif // GAUDIPYTHON_PYTHONSCRIPTINGSVC_H
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
PythonScriptingSvc::~PythonScriptingSvc
~PythonScriptingSvc() override
Destructor.
Definition: PythonScriptingSvc.cpp:31
PythonScriptingSvc::run
StatusCode run() override
Run the service by taking full control. [IRunable::run()].
Definition: PythonScriptingSvc.cpp:107
IRunable.h
PythonScriptingSvc::finalize
StatusCode finalize() override
Finalize the service. [IService::finalize()].
Definition: PythonScriptingSvc.cpp:94
std::string
STL class.
Service.h
Service::name
const std::string & name() const override
Retrieve name of the service.
Definition: Service.cpp:274
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
PythonScriptingSvc::m_startupScript
std::string m_startupScript
Startup script.
Definition: PythonScriptingSvc.h:35
PythonScriptingSvc
This service handles scripting implemented using Python.
Definition: PythonScriptingSvc.h:15
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
PythonScriptingSvc::initialize
StatusCode initialize() override
Initialize the service. [IService::initialize()].
Definition: PythonScriptingSvc.cpp:35
PythonScriptingSvc::PythonScriptingSvc
PythonScriptingSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
Definition: PythonScriptingSvc.cpp:23