![]() |
ATLAS Offline Software
|
Public Member Functions | |
| __init__ (self, name="MySvc", **kw) | |
| initialize (self) | |
| finalize (self) | |
| virtual StatusCode | reinitialize () override |
| virtual StatusCode | start () override |
| virtual StatusCode | stop () override |
| virtual StatusCode | sysInitialize () override |
| const char * | typeName () const override |
return the std::type_info name of the underlying py-component This is used by concrete implementations to connect a python component to its C++ counter-part | |
| virtual PyObject * | self () override |
| return associated python object. | |
| virtual void | handle (const Incident &incident) override |
callback method for the IIncidentSvc | |
Public Attributes | |
| counter = kw.get('counter', 0) | |
| sg = PyAthena.py_svc("StoreGateSvc") | |
| name | |
Protected Member Functions | |
| virtual bool | setPyAttr (PyObject *pyobj) override |
| attach the C++ component to its python cousin | |
Protected Attributes | |
| PyObject * | m_self |
| Pointer to self (from the python world). | |
Simple test of a py-service
Definition at line 54 of file PyTestsLib.py.
| python.tests.PyTestsLib.MySvc.__init__ | ( | self, | |
| name = "MySvc", | |||
| ** | kw ) |
Definition at line 57 of file PyTestsLib.py.
| python.tests.PyTestsLib.MySvc.finalize | ( | self | ) |
Definition at line 70 of file PyTestsLib.py.
|
overridevirtualinherited |
callback method for the IIncidentSvc
Definition at line 122 of file PyAthenaSvc.cxx.
| python.tests.PyTestsLib.MySvc.initialize | ( | self | ) |
Definition at line 64 of file PyTestsLib.py.
|
overridevirtualinherited |
Definition at line 64 of file PyAthenaSvc.cxx.
|
inlineoverridevirtualinherited |
|
overrideprotectedvirtualinherited |
attach the C++ component to its python cousin
Definition at line 154 of file PyAthenaSvc.cxx.
|
overridevirtualinherited |
Definition at line 78 of file PyAthenaSvc.cxx.
|
overridevirtualinherited |
Definition at line 84 of file PyAthenaSvc.cxx.
|
overridevirtualinherited |
Definition at line 90 of file PyAthenaSvc.cxx.
|
overrideinherited |
return the std::type_info name of the underlying py-component This is used by concrete implementations to connect a python component to its C++ counter-part
Definition at line 114 of file PyAthenaSvc.cxx.
| python.tests.PyTestsLib.MySvc.counter = kw.get('counter', 0) |
Definition at line 62 of file PyTestsLib.py.
|
protectedinherited |
Pointer to self (from the python world).
Definition at line 89 of file PyAthenaSvc.h.
| python.tests.PyTestsLib.MySvc.name |
Definition at line 66 of file PyTestsLib.py.
| python.tests.PyTestsLib.MySvc.sg = PyAthena.py_svc("StoreGateSvc") |
Definition at line 65 of file PyTestsLib.py.