| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Private Member Functions | List of all members
GaudiPython.Bindings.iToolSvc Class Reference
Inheritance diagram for GaudiPython.Bindings.iToolSvc:
[legend]
Collaboration diagram for GaudiPython.Bindings.iToolSvc:
[legend]

## Public Member Functions
def | __init__ (self, name, its)
def | retrieve (self, name)
def | create
def | release (self, itool)
Public Member Functions inherited from GaudiPython.Bindings.iService
def | __init__
def | retrieveInterface (self)
def | isValid (self)
Public Member Functions inherited from GaudiPython.Bindings.iProperty
def | __init__
def | getInterface (self)
def | retrieveInterface (self)
def | __call_interface_method__ (self, ifname, method, args)
def | __setattr__ (self, name, value)
def | __getattr__ (self, name)
def | properties (self)
def | name (self)

## Public Attributes
| OutputLevel

## Private Member Functions
def | _retrieve

## Additional Inherited Members
Static Public Attributes inherited from GaudiPython.Bindings.iService
tuple | initialize = lambdaself:self.__call_interface_method__("_isvc","initialize")
tuple | start = lambdaself:self.__call_interface_method__("_isvc","start")
tuple | stop = lambdaself:self.__call_interface_method__("_isvc","stop")
tuple | finalize = lambdaself:self.__call_interface_method__("_isvc","finalize")
tuple | reinitialize = lambdaself:self.__call_interface_method__("_isvc","reinitialize")
tuple | restart = lambdaself:self.__call_interface_method__("_isvc","restart")

## Detailed Description

Definition at line 566 of file Bindings.py.

## Constructor & Destructor Documentation

def GaudiPython.Bindings.iToolSvc.__init__ | ( |  | self,
|  |  | name,
|  |  | its
| ) |  |

Definition at line 567 of file Bindings.py.

567 def __init__(self, name, its) :
568 self.__dict__['_its'] = InterfaceCast(gbl.IToolSvc)(its)
569 iService.__init__(self, name, its)
GaudiPython.Bindings.InterfaceCast
Definition: Bindings.py:77
GaudiPython.Bindings.iToolSvc.__init__
def __init__(self, name, its)
Definition: Bindings.py:567

## Member Function Documentation

def GaudiPython.Bindings.iToolSvc._retrieve | ( |  | self,
|  |  | name,
|  |  | quiet = `True`
| ) |  |
| private

Definition at line 570 of file Bindings.py.

570 def _retrieve(self, name, quiet=True):
571 sol = _gaudi.OutputLevel
572 if quiet : self.OutputLevel = 6
573 if name.rfind('.') == -1 :
574 itool = Helper.tool(self._its, '', name, None, False )
575 elif name[0:8] == 'ToolSvc.' :
576 itool = Helper.tool(self._its, '', name[8:], None, False )
577 elif name.count('.') > 1 :
578 ptool = self._retrieve(name[:name.rfind('.')])
579 itool = Helper.tool(self._its, '', name[name.rfind('.')+1:], ptool, False )
580 elif _gaudi :
581 prop = _gaudi.property(name[:name.rfind('.')])
582 itool = Helper.tool(self._its, '', name[name.rfind('.')+1:], prop._ip, False )
583 if quiet : self.OutputLevel = sol
584 return itool
GaudiPython.Bindings.iToolSvc.OutputLevel
OutputLevel
Definition: Bindings.py:572
GaudiPython.Bindings.iToolSvc._retrieve
def _retrieve
Definition: Bindings.py:570

def GaudiPython.Bindings.iToolSvc.create | ( |  | self,
|  |  | typ,
|  |  | name = `None`,
|  |  | parent = `None`,
|  |  | interface = `None`
| ) |  |

Definition at line 587 of file Bindings.py.

587 def create(self, typ, name=None, parent=None, interface=None) :
588 if not name : name = typ
589 itool = Helper.tool(self._its, typ, name, parent, True )
590 if interface :
591 return InterfaceCast(interface)(itool)
592 else :
593 return iAlgTool(name,itool)
GaudiPython.Bindings.InterfaceCast
Definition: Bindings.py:77
GaudiPython.Bindings.iToolSvc.create
def create
Definition: Bindings.py:587
GaudiPython.Bindings.iAlgTool
Definition: Bindings.py:329

def GaudiPython.Bindings.iToolSvc.release | ( |  | self,
|  |  | itool
| ) |  |

Definition at line 594 of file Bindings.py.

594 def release(self, itool) :
595 if type(itool) is iAlgTool :
596 self._its.releaseTool(itool._itool)
597
598 #----iJopOptSvc class-------------------------------------------------------------------
gaudirun.type
string type
Definition: gaudirun.py:151
GaudiPython.Bindings.iToolSvc.release
def release(self, itool)
Definition: Bindings.py:594

def GaudiPython.Bindings.iToolSvc.retrieve | ( |  | self,
|  |  | name
| ) |  |

Definition at line 585 of file Bindings.py.

585 def retrieve(self, name):
586 return iAlgTool(name, self._retrieve(name,quiet=False))
GaudiPython.Bindings.iToolSvc.retrieve
def retrieve(self, name)
Definition: Bindings.py:585
GaudiPython.Bindings.iToolSvc._retrieve
def _retrieve
Definition: Bindings.py:570
GaudiPython.Bindings.iAlgTool
Definition: Bindings.py:329

## Member Data Documentation

GaudiPython.Bindings.iToolSvc.OutputLevel

Definition at line 572 of file Bindings.py.

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

- GaudiPython/python/GaudiPython/Bindings.py