The Gaudi Framework  v33r1 (b1225454)
GaudiPython.Bindings.iService Class Reference
Inheritance diagram for GaudiPython.Bindings.iService:
Collaboration diagram for GaudiPython.Bindings.iService:

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 393 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 396 of file Bindings.py.

396  def __init__(self, name, isvc=None):
397  iProperty.__init__(self, name, isvc)
398  if isvc:
399  self.__dict__['_isvc'] = InterfaceCast(gbl.IService)(isvc)
400  else:
401  self.__dict__['_isvc'] = None
402 

Member Function Documentation

◆ finalize()

def GaudiPython.Bindings.iService.finalize (   self)

Definition at line 417 of file Bindings.py.

417  def finalize(self):
418  return self.__call_interface_method__("_isvc", "finalize")
419 

◆ initialize()

def GaudiPython.Bindings.iService.initialize (   self)

Definition at line 408 of file Bindings.py.

408  def initialize(self):
409  return self.__call_interface_method__("_isvc", "initialize")
410 

◆ isValid()

def GaudiPython.Bindings.iService.isValid (   self)

Definition at line 426 of file Bindings.py.

426  def isValid(self):
427  if self._isvc:
428  return True
429  else:
430  return False
431 
432 
433 # ----iAlgorithm class---------------------------------------------------------
434 
435 

◆ reinitialize()

def GaudiPython.Bindings.iService.reinitialize (   self)

Definition at line 420 of file Bindings.py.

420  def reinitialize(self):
421  return self.__call_interface_method__("_isvc", "reinitialize")
422 

◆ restart()

def GaudiPython.Bindings.iService.restart (   self)

Definition at line 423 of file Bindings.py.

423  def restart(self):
424  return self.__call_interface_method__("_isvc", "restart")
425 

◆ retrieveInterface()

def GaudiPython.Bindings.iService.retrieveInterface (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 403 of file Bindings.py.

403  def retrieveInterface(self):
404  isvc = Helper.service(self._svcloc, self._name)
405  if isvc:
406  iService.__init__(self, self._name, isvc)
407 

◆ start()

def GaudiPython.Bindings.iService.start (   self)

Reimplemented in GaudiPython.Bindings.AppMgr.

Definition at line 411 of file Bindings.py.

411  def start(self):
412  return self.__call_interface_method__("_isvc", "start")
413 
def start
Definition: IOTest.py:108

◆ stop()

def GaudiPython.Bindings.iService.stop (   self)

Definition at line 414 of file Bindings.py.

414  def stop(self):
415  return self.__call_interface_method__("_isvc", "stop")
416 

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