The Gaudi Framework  v36r10 (fc05264c)
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 490 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 493 of file Bindings.py.

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

Member Function Documentation

◆ name()

def GaudiPython.Bindings.iAlgTool.name (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 513 of file Bindings.py.

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

◆ retrieveInterface()

def GaudiPython.Bindings.iAlgTool.retrieveInterface (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 499 of file Bindings.py.

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

◆ start()

def GaudiPython.Bindings.iAlgTool.start (   self)

Definition at line 504 of file Bindings.py.

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

◆ stop()

def GaudiPython.Bindings.iAlgTool.stop (   self)

Definition at line 507 of file Bindings.py.

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

◆ type()

def GaudiPython.Bindings.iAlgTool.type (   self)

Definition at line 510 of file Bindings.py.

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

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