The Gaudi Framework  v36r16 (ea80daf8)
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 489 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 492 of file Bindings.py.

492  def __init__(self, name, itool=cppyy.nullptr):
493  iProperty.__init__(self, name, itool)
494  self.__dict__["_itool"] = itool
495  svc = Helper.service(self._svcloc, "ToolSvc", True)
496  self.__dict__["_toolsvc"] = iToolSvc("ToolSvc", svc)
497 

Member Function Documentation

◆ name()

def GaudiPython.Bindings.iAlgTool.name (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 512 of file Bindings.py.

512  def name(self):
513  if self._itool:
514  return self._itool.name()
515  else:
516  return self._name
517 
518 
519 # ----iDataSvc class-----------------------------------------------------------
520 
521 

◆ retrieveInterface()

def GaudiPython.Bindings.iAlgTool.retrieveInterface (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 498 of file Bindings.py.

498  def retrieveInterface(self):
499  itool = self._toolsvc._retrieve(self._name)
500  if itool:
501  iAlgTool.__init__(self, self._name, itool)
502 

◆ start()

def GaudiPython.Bindings.iAlgTool.start (   self)

Definition at line 503 of file Bindings.py.

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

◆ stop()

def GaudiPython.Bindings.iAlgTool.stop (   self)

Definition at line 506 of file Bindings.py.

506  def stop(self):
507  return self.__call_interface_method__("_itool", "stop")
508 

◆ type()

def GaudiPython.Bindings.iAlgTool.type (   self)

Definition at line 509 of file Bindings.py.

509  def type(self):
510  return self.__call_interface_method__("_itool", "type")
511 

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