The Gaudi Framework  master (9f3f8895)
Loading...
Searching...
No Matches
GaudiPython.Bindings.iAlgTool Class Reference
Inheritance diagram for GaudiPython.Bindings.iAlgTool:
Collaboration diagram for GaudiPython.Bindings.iAlgTool:

Public Member Functions

 __init__ (self, name, itool=cppyy.nullptr)
 retrieveInterface (self)
 start (self)
 stop (self)
 type (self)
 name (self)
Public Member Functions inherited from GaudiPython.Bindings.iProperty
 __init__ (self, name, ip=cppyy.nullptr)
 getInterface (self)
 __call_interface_method__ (self, ifname, method, *args)
 __setattr__ (self, name, value)
 __getattr__ (self, name)
 properties (self)

Protected Attributes

 _itool
Protected Attributes inherited from GaudiPython.Bindings.iProperty
 _ip
 _svcloc
 _name

Detailed Description

Python equivalent to IAlgTool interface (not completed yet)

Definition at line 483 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

GaudiPython.Bindings.iAlgTool.__init__ ( self,
name,
itool = cppyy.nullptr )

Definition at line 486 of file Bindings.py.

486 def __init__(self, name, itool=cppyy.nullptr):
487 iProperty.__init__(self, name, itool)
488 self.__dict__["_itool"] = itool
489 svc = Helper.service(self._svcloc, "ToolSvc", True)
490 self.__dict__["_toolsvc"] = iToolSvc("ToolSvc", svc)
491

Member Function Documentation

◆ name()

GaudiPython.Bindings.iAlgTool.name ( self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 506 of file Bindings.py.

506 def name(self):
507 if self._itool:
508 return self._itool.name()
509 else:
510 return self._name
511
512
513# ----iDataSvc class-----------------------------------------------------------
514
515

◆ retrieveInterface()

GaudiPython.Bindings.iAlgTool.retrieveInterface ( self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 492 of file Bindings.py.

492 def retrieveInterface(self):
493 itool = self._toolsvc._retrieve(self._name)
494 if itool:
495 iAlgTool.__init__(self, self._name, itool)
496

◆ start()

GaudiPython.Bindings.iAlgTool.start ( self)

Definition at line 497 of file Bindings.py.

497 def start(self):
498 return self.__call_interface_method__("_itool", "start")
499

◆ stop()

GaudiPython.Bindings.iAlgTool.stop ( self)

Definition at line 500 of file Bindings.py.

500 def stop(self):
501 return self.__call_interface_method__("_itool", "stop")
502

◆ type()

GaudiPython.Bindings.iAlgTool.type ( self)

Definition at line 503 of file Bindings.py.

503 def type(self):
504 return self.__call_interface_method__("_itool", "type")
505

Member Data Documentation

◆ _itool

GaudiPython.Bindings.iAlgTool._itool
protected

Definition at line 507 of file Bindings.py.


The documentation for this class was generated from the following file: