| The Gaudi Framework v32r1 (f65d50dc)

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

## Public Member Functions
def | __init__ (self, name, isvc=None)
def | retrieveInterface (self)
def | initialize (self)
def | start (self)
def | stop (self)
def | finalize (self)
def | reinitialize (self)
def | restart (self)
def | isValid (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)
def | name (self)

## Detailed Description

    Python equivalent to IProperty interface

Definition at line 374 of file Bindings.py.

## Constructor & Destructor Documentation

## ◆ __init__()

def GaudiPython.Bindings.iService.__init__ | ( |  | self,
|  |  | name,
|  |  | isvc = `None`
| ) |  |

Reimplemented from GaudiPython.Bindings.iProperty.

Reimplemented in GaudiPython.Bindings.iJobOptSvc, GaudiPython.Bindings.iToolSvc, GaudiPython.Bindings.iNTupleSvc, GaudiPython.Bindings.iHistogramSvc, and GaudiPython.Bindings.iDataSvc.

Definition at line 377 of file Bindings.py.

377 def __init__(self, name, isvc=None):
378 iProperty.__init__(self, name, isvc)
379 if isvc:
380 self.__dict__['_isvc'] = InterfaceCast(gbl.IService)(isvc)
381 else:
382 self.__dict__['_isvc'] = None
383

## Member Function Documentation

## ◆ finalize()

def GaudiPython.Bindings.iService.finalize | ( |  | self | ) |

Definition at line 398 of file Bindings.py.

398 def finalize(self):
399 return self.__call_interface_method__("_isvc", "finalize")
400

## ◆ initialize()

def GaudiPython.Bindings.iService.initialize | ( |  | self | ) |

Definition at line 389 of file Bindings.py.

389 def initialize(self):
390 return self.__call_interface_method__("_isvc", "initialize")
391

## ◆ isValid()

def GaudiPython.Bindings.iService.isValid | ( |  | self | ) |

Definition at line 407 of file Bindings.py.

407 def isValid(self):
408 if self._isvc:
409 return True
410 else:
411 return False
412
413
414 # ----iAlgorithm class---------------------------------------------------------
415
416

## ◆ reinitialize()

def GaudiPython.Bindings.iService.reinitialize | ( |  | self | ) |

Definition at line 401 of file Bindings.py.

401 def reinitialize(self):
402 return self.__call_interface_method__("_isvc", "reinitialize")
403

## ◆ restart()

def GaudiPython.Bindings.iService.restart | ( |  | self | ) |

Definition at line 404 of file Bindings.py.

404 def restart(self):
405 return self.__call_interface_method__("_isvc", "restart")
406

## ◆ retrieveInterface()

def GaudiPython.Bindings.iService.retrieveInterface | ( |  | self | ) |

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 384 of file Bindings.py.

384 def retrieveInterface(self):
385 isvc = Helper.service(self._svcloc, self._name)
386 if isvc:
387 iService.__init__(self, self._name, isvc)
388

## ◆ start()

def GaudiPython.Bindings.iService.start | ( |  | self | ) |

Reimplemented in GaudiPython.Bindings.AppMgr.

Definition at line 392 of file Bindings.py.

392 def start(self):
393 return self.__call_interface_method__("_isvc", "start")
394
IOTest.start
def start
Definition: IOTest.py:97

## ◆ stop()

def GaudiPython.Bindings.iService.stop | ( |  | self | ) |

Definition at line 395 of file Bindings.py.

395 def stop(self):
396 return self.__call_interface_method__("_isvc", "stop")
397

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

- GaudiPython/python/GaudiPython/Bindings.py