The Gaudi Framework  v38r1p1 (ae26267b)
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 485 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 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()

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

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

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

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

def 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 

The documentation for this class was generated from the following file:
IOTest.start
start
Definition: IOTest.py:108
gaudirun.type
type
Definition: gaudirun.py:160
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:76