The Gaudi Framework  v37r1 (a7f61348)
GaudiPython.Bindings.iAlgTool Class Reference
Inheritance diagram for GaudiPython.Bindings.iAlgTool:
Collaboration diagram for GaudiPython.Bindings.iAlgTool:

Public Member Functions

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

Detailed Description

Python equivalent to IAlgTool interface (not completed yet)

Definition at line 483 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from GaudiPython.Bindings.iProperty.

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()

def 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()

def 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()

def 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()

def 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()

def 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 

The documentation for this class was generated from the following file:
bug_34121.name
name
Definition: bug_34121.py:20
IOTest.start
start
Definition: IOTest.py:108
gaudirun.type
type
Definition: gaudirun.py:162