The Gaudi Framework  v30r3 (a5ef0a68)
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 
18 public:
21 
23  StatusCode initialize() override;
24 
26  StatusCode finalize() override;
27 
29  StatusCode run() override;
30 
32  ~PythonScriptingSvc() override;
33 
34 private:
37 };
38 
39 #endif // GAUDIPYTHON_PYTHONSCRIPTINGSVC_H
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
const std::string & name() const override
Retrieve name of the service.
Definition: Service.cpp:288
~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.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
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:10
StatusCode initialize() override
Initialize the service. [IService::initialize()].
PythonScriptingSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.