| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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:
20 PythonScriptingSvc( const std::string& name, ISvcLocator* svc );
21
23 StatusCode initialize() override;
24
26 StatusCode finalize() override;
27
29 StatusCode run() override;
30
31 protected:
33 ~PythonScriptingSvc() override;
34
35 private:
37 std::string m_startupScript;
38 };
39
40 #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
Service::name
const std::string & name() const override
Retrieve name of the service.
Definition: Service.cpp:289
PythonScriptingSvc::~PythonScriptingSvc
~PythonScriptingSvc() override
Destructor.
Definition: PythonScriptingSvc.cpp:32
PythonScriptingSvc::run
StatusCode run() override
Run the service by taking full control. [IRunable::run()].
Definition: PythonScriptingSvc.cpp:108
IRunable.h
PythonScriptingSvc::finalize
StatusCode finalize() override
Finalize the service. [IService::finalize()].
Definition: PythonScriptingSvc.cpp:95
std::string
STL class.
Service.h
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
PythonScriptingSvc::m_startupScript
std::string m_startupScript
Startup script.
Definition: PythonScriptingSvc.h:37
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:36
PythonScriptingSvc::PythonScriptingSvc
PythonScriptingSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
Definition: PythonScriptingSvc.cpp:23