The Gaudi Framework  master (ff829712)
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 485 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 488 of file Bindings.py.

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

Member Function Documentation

◆ name()

GaudiPython.Bindings.iAlgTool.name ( self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 508 of file Bindings.py.

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

◆ retrieveInterface()

GaudiPython.Bindings.iAlgTool.retrieveInterface ( self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 494 of file Bindings.py.

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

◆ start()

GaudiPython.Bindings.iAlgTool.start ( self)

Definition at line 499 of file Bindings.py.

499 def start(self):
500 return self.__call_interface_method__("_itool", "start")
501

◆ stop()

GaudiPython.Bindings.iAlgTool.stop ( self)

Definition at line 502 of file Bindings.py.

502 def stop(self):
503 return self.__call_interface_method__("_itool", "stop")
504

◆ type()

GaudiPython.Bindings.iAlgTool.type ( self)

Definition at line 505 of file Bindings.py.

505 def type(self):
506 return self.__call_interface_method__("_itool", "type")
507

Member Data Documentation

◆ _itool

GaudiPython.Bindings.iAlgTool._itool
protected

Definition at line 509 of file Bindings.py.


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