The Gaudi Framework  v36r9p1 (5c15b2bb)
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=cppyy.nullptr)
 
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 391 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

def GaudiPython.Bindings.iService.__init__ (   self,
  name,
  isvc = cppyy.nullptr 
)

Reimplemented from GaudiPython.Bindings.iProperty.

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

Definition at line 394 of file Bindings.py.

394  def __init__(self, name, isvc=cppyy.nullptr):
395  iProperty.__init__(self, name, isvc)
396  self.__dict__["_isvc"] = InterfaceCast(gbl.IService)(isvc)
397 

Member Function Documentation

◆ finalize()

def GaudiPython.Bindings.iService.finalize (   self)

Definition at line 412 of file Bindings.py.

412  def finalize(self):
413  return self.__call_interface_method__("_isvc", "finalize")
414 

◆ initialize()

def GaudiPython.Bindings.iService.initialize (   self)

Definition at line 403 of file Bindings.py.

403  def initialize(self):
404  return self.__call_interface_method__("_isvc", "initialize")
405 

◆ isValid()

def GaudiPython.Bindings.iService.isValid (   self)

Definition at line 421 of file Bindings.py.

421  def isValid(self):
422  if self._isvc:
423  return True
424  else:
425  return False
426 
427 
428 # ----iAlgorithm class---------------------------------------------------------
429 
430 

◆ reinitialize()

def GaudiPython.Bindings.iService.reinitialize (   self)

Definition at line 415 of file Bindings.py.

415  def reinitialize(self):
416  return self.__call_interface_method__("_isvc", "reinitialize")
417 

◆ restart()

def GaudiPython.Bindings.iService.restart (   self)

Definition at line 418 of file Bindings.py.

418  def restart(self):
419  return self.__call_interface_method__("_isvc", "restart")
420 

◆ retrieveInterface()

def GaudiPython.Bindings.iService.retrieveInterface (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 398 of file Bindings.py.

398  def retrieveInterface(self):
399  isvc = Helper.service(self._svcloc, self._name)
400  if isvc:
401  iService.__init__(self, self._name, isvc)
402 

◆ start()

def GaudiPython.Bindings.iService.start (   self)

Reimplemented in GaudiPython.Bindings.AppMgr.

Definition at line 406 of file Bindings.py.

406  def start(self):
407  return self.__call_interface_method__("_isvc", "start")
408 

◆ stop()

def GaudiPython.Bindings.iService.stop (   self)

Definition at line 409 of file Bindings.py.

409  def stop(self):
410  return self.__call_interface_method__("_isvc", "stop")
411 

The documentation for this class was generated from the following file:
IOTest.start
def start
Definition: IOTest.py:113