| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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__
def | retrieve
def | create
def | release
Public Member Functions inherited from GaudiPython.Bindings.iService
def | __init__
def | retrieveInterface
def | isValid
Public Member Functions inherited from GaudiPython.Bindings.iProperty
def | __init__
def | getInterface
def | retrieveInterface
def | __call_interface_method__
def | __setattr__
def | __getattr__
def | properties
def | name

## 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 567 of file Bindings.py.

## Constructor & Destructor Documentation

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

Definition at line 568 of file Bindings.py.

568
569 def __init__(self, name, its) :
570 self.__dict__['_its'] = InterfaceCast(gbl.IToolSvc)(its)
iService.__init__(self, name, its)

## Member Function Documentation

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

Definition at line 571 of file Bindings.py.

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

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

Definition at line 588 of file Bindings.py.

588
589 def create(self, typ, name=None, parent=None, interface=None) :
590 if not name : name = typ
591 itool = Helper.tool(self._its, typ, name, parent, True )
592 if interface :
593 return InterfaceCast(interface)(itool)
594 else :
return iAlgTool(name,itool)

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

Definition at line 595 of file Bindings.py.

595
596 def release(self, itool) :
597 if type(itool) is iAlgTool :
598 self._its.releaseTool(itool._itool)
599
#----iJopOptSvc class-------------------------------------------------------------------

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

Definition at line 586 of file Bindings.py.

586
587 def retrieve(self, name):
return iAlgTool(name, self._retrieve(name,quiet=False))

## Member Data Documentation

GaudiPython.Bindings.iToolSvc.OutputLevel

Definition at line 573 of file Bindings.py.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiPython/python/GaudiPython/Bindings.py