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 ; }
113 virtual IAlgorithm* ialgorithm () {
return this ; }
114 virtual IProperty* iproperty () {
return this ; }
118 virtual StatusCode finalize_ () {
return ALGORITHM::finalize () ; }
125 PyAlg (
const PyAlg& );
127 PyAlg& operator=(
const PyAlg& ) ;
140 #endif // GAUDIPYTHON_ALGORITHM_H
GAUDI_API ISvcLocator * svcLocator()
This class is used for returning status codes from appropriate routines.
bool PyHelper() setProperty(IInterface *p, char *name, char *value)
GAUDI_API StatusCode call_python_method(PyObject *self, const char *method)
call the python method
The IAlgorithm is the interface implemented by the Algorithm base class.
GaudiPython.h GaudiPython/GaudiPython.h.
Base class from which all concrete algorithm classes should be derived.
The IProperty is the basic interface for all components which have properties that can be set or get...
Helper functions to set/get the application return code.