| The Gaudi Framework v27r1

- 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/Service.h"
6 #include "GaudiKernel/IRunable.h"
7
15 class PythonScriptingSvc : public extends<Service,
16 IRunable> {
17
18 public:
20 PythonScriptingSvc( const std::string& name, ISvcLocator* svc );
21
23 virtual StatusCode initialize();
24
26 virtual StatusCode finalize();
27
29 virtual StatusCode run();
30
31 protected:
33 virtual ~PythonScriptingSvc();
34 private:
36 std::string m_startupScript;
37 };
38
39 #endif // GAUDIPYTHON_PYTHONSCRIPTINGSVC_H
40
41
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
IRunable.h
PythonScriptingSvc::finalize
virtual StatusCode finalize()
Finalize the service. [IService::finalize()].
Definition: PythonScriptingSvc.cpp:96
std::string
STL class.
Service.h
Service::name
const std::string & name() const override
Retrieve name of the service.
Definition: Service.cpp:319
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
PythonScriptingSvc::m_startupScript
std::string m_startupScript
Startup script.
Definition: PythonScriptingSvc.h:36
PythonScriptingSvc
This service handles scripting implemented using Python.
Definition: PythonScriptingSvc.h:15
PythonScriptingSvc::~PythonScriptingSvc
virtual ~PythonScriptingSvc()
Destructor.
Definition: PythonScriptingSvc.cpp:31
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
PythonScriptingSvc::run
virtual StatusCode run()
Run the service by taking full control. [IRunable::run()].
Definition: PythonScriptingSvc.cpp:109
PythonScriptingSvc::initialize
virtual StatusCode initialize()
Initialize the service. [IService::initialize()].
Definition: PythonScriptingSvc.cpp:35
PythonScriptingSvc::PythonScriptingSvc
PythonScriptingSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
Definition: PythonScriptingSvc.cpp:23