The Gaudi Framework  v33r2 (a6f0ec87)
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 507 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 510 of file Bindings.py.

510  def __init__(self, name, itool=None):
511  iProperty.__init__(self, name, itool)
512  if itool:
513  self.__dict__['_itool'] = itool
514  else:
515  self.__dict__['_itool'] = None
516  svc = Helper.service(self._svcloc, 'ToolSvc', True)
517  self.__dict__['_toolsvc'] = iToolSvc('ToolSvc', svc)
518 

Member Function Documentation

◆ name()

def GaudiPython.Bindings.iAlgTool.name (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 533 of file Bindings.py.

533  def name(self):
534  if self._itool:
535  return self._itool.name()
536  else:
537  return self._name
538 
539 
540 # ----iDataSvc class-----------------------------------------------------------
541 
542 

◆ retrieveInterface()

def GaudiPython.Bindings.iAlgTool.retrieveInterface (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 519 of file Bindings.py.

519  def retrieveInterface(self):
520  itool = self._toolsvc._retrieve(self._name)
521  if itool:
522  iAlgTool.__init__(self, self._name, itool)
523 

◆ start()

def GaudiPython.Bindings.iAlgTool.start (   self)

Definition at line 524 of file Bindings.py.

524  def start(self):
525  return self.__call_interface_method__("_itool", "start")
526 
def start
Definition: IOTest.py:108

◆ stop()

def GaudiPython.Bindings.iAlgTool.stop (   self)

Definition at line 527 of file Bindings.py.

527  def stop(self):
528  return self.__call_interface_method__("_itool", "stop")
529 

◆ type()

def GaudiPython.Bindings.iAlgTool.type (   self)

Definition at line 530 of file Bindings.py.

530  def type(self):
531  return self.__call_interface_method__("_itool", "type")
532 

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