The Gaudi Framework  v36r1 (3e2fb5a8)
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 459 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 462 of file Bindings.py.

462  def __init__(self, name, itool=cppyy.nullptr):
463  iProperty.__init__(self, name, itool)
464  self.__dict__['_itool'] = itool
465  svc = Helper.service(self._svcloc, 'ToolSvc', True)
466  self.__dict__['_toolsvc'] = iToolSvc('ToolSvc', svc)
467 

Member Function Documentation

◆ name()

def GaudiPython.Bindings.iAlgTool.name (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 482 of file Bindings.py.

482  def name(self):
483  if self._itool:
484  return self._itool.name()
485  else:
486  return self._name
487 
488 
489 # ----iDataSvc class-----------------------------------------------------------
490 
491 

◆ retrieveInterface()

def GaudiPython.Bindings.iAlgTool.retrieveInterface (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 468 of file Bindings.py.

468  def retrieveInterface(self):
469  itool = self._toolsvc._retrieve(self._name)
470  if itool:
471  iAlgTool.__init__(self, self._name, itool)
472 

◆ start()

def GaudiPython.Bindings.iAlgTool.start (   self)

Definition at line 473 of file Bindings.py.

473  def start(self):
474  return self.__call_interface_method__("_itool", "start")
475 

◆ stop()

def GaudiPython.Bindings.iAlgTool.stop (   self)

Definition at line 476 of file Bindings.py.

476  def stop(self):
477  return self.__call_interface_method__("_itool", "stop")
478 

◆ type()

def GaudiPython.Bindings.iAlgTool.type (   self)

Definition at line 479 of file Bindings.py.

479  def type(self):
480  return self.__call_interface_method__("_itool", "type")
481 

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