The Gaudi Framework  v36r7 (7f57a304)
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 491 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 494 of file Bindings.py.

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

Member Function Documentation

◆ name()

def GaudiPython.Bindings.iAlgTool.name (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 514 of file Bindings.py.

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

◆ retrieveInterface()

def GaudiPython.Bindings.iAlgTool.retrieveInterface (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 500 of file Bindings.py.

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

◆ start()

def GaudiPython.Bindings.iAlgTool.start (   self)

Definition at line 505 of file Bindings.py.

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

◆ stop()

def GaudiPython.Bindings.iAlgTool.stop (   self)

Definition at line 508 of file Bindings.py.

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

◆ type()

def GaudiPython.Bindings.iAlgTool.type (   self)

Definition at line 511 of file Bindings.py.

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

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