The Gaudi Framework  v33r1 (b1225454)
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=None)
 
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 498 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

def GaudiPython.Bindings.iAlgTool.__init__ (   self,
  name,
  itool = None 
)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 501 of file Bindings.py.

501  def __init__(self, name, itool=None):
502  iProperty.__init__(self, name, itool)
503  if itool:
504  self.__dict__['_itool'] = itool
505  else:
506  self.__dict__['_itool'] = None
507  svc = Helper.service(self._svcloc, 'ToolSvc', True)
508  self.__dict__['_toolsvc'] = iToolSvc('ToolSvc', svc)
509 

Member Function Documentation

◆ name()

def GaudiPython.Bindings.iAlgTool.name (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 524 of file Bindings.py.

524  def name(self):
525  if self._itool:
526  return self._itool.name()
527  else:
528  return self._name
529 
530 
531 # ----iDataSvc class-----------------------------------------------------------
532 
533 

◆ retrieveInterface()

def GaudiPython.Bindings.iAlgTool.retrieveInterface (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 510 of file Bindings.py.

510  def retrieveInterface(self):
511  itool = self._toolsvc._retrieve(self._name)
512  if itool:
513  iAlgTool.__init__(self, self._name, itool)
514 

◆ start()

def GaudiPython.Bindings.iAlgTool.start (   self)

Definition at line 515 of file Bindings.py.

515  def start(self):
516  return self.__call_interface_method__("_itool", "start")
517 
def start
Definition: IOTest.py:108

◆ stop()

def GaudiPython.Bindings.iAlgTool.stop (   self)

Definition at line 518 of file Bindings.py.

518  def stop(self):
519  return self.__call_interface_method__("_itool", "stop")
520 

◆ type()

def GaudiPython.Bindings.iAlgTool.type (   self)

Definition at line 521 of file Bindings.py.

521  def type(self):
522  return self.__call_interface_method__("_itool", "type")
523 

The documentation for this class was generated from the following file: