4 #ifndef GAUDIPYTHON_ALGORITHM_H
5 #define GAUDIPYTHON_ALGORITHM_H
15 #include "GaudiKernel/Algorithm.h"
16 #include "GaudiKernel/Bootstrap.h"
20 #include "GaudiPython/GaudiPython.h"
44 const std::string& name ) ;
64 template <
class ALGORITHM>
76 const std::string& name )
94 PyObject*
_obj()
const {
return m_self ; }
140 #endif // GAUDIPYTHON_ALGORITHM_H
virtual StatusCode initialize_()
virtual StatusCode start()
virtual IAlgorithm * ialgorithm()
virtual StatusCode finalize_()
PyObject * m_self
"shadow" python class
virtual StatusCode initialize()
virtual StatusCode execute()
PyObject * _obj() const
get the object
GAUDI_API ISvcLocator * svcLocator()
This class is used for returning status codes from appropriate routines.
virtual ~PyAlg()
virtual destructor
bool PyHelper() setProperty(IInterface *p, char *name, char *value)
general class to embed the existing algorithm/base class into the python
GAUDI_API StatusCode call_python_method(PyObject *self, const char *method)
call the python method
virtual IProperty * iproperty()
virtual StatusCode stop()
virtual StatusCode endRun()
The IAlgorithm is the interface implemented by the Algorithm base class.
GaudiPython.h GaudiPython/GaudiPython.h.
virtual StatusCode beginRun()
Base class from which all concrete algorithm classes should be derived.
Python Algorithm base class.
The IProperty is the basic interface for all components which have properties that can be set or get...
virtual StatusCode finalize()