The Gaudi Framework  v36r1 (3e2fb5a8)
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 360 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 363 of file Bindings.py.

363  def __init__(self, name, isvc=cppyy.nullptr):
364  iProperty.__init__(self, name, isvc)
365  self.__dict__['_isvc'] = InterfaceCast(gbl.IService)(isvc)
366 

Member Function Documentation

◆ finalize()

def GaudiPython.Bindings.iService.finalize (   self)

Definition at line 381 of file Bindings.py.

381  def finalize(self):
382  return self.__call_interface_method__("_isvc", "finalize")
383 

◆ initialize()

def GaudiPython.Bindings.iService.initialize (   self)

Definition at line 372 of file Bindings.py.

372  def initialize(self):
373  return self.__call_interface_method__("_isvc", "initialize")
374 

◆ isValid()

def GaudiPython.Bindings.iService.isValid (   self)

Definition at line 390 of file Bindings.py.

390  def isValid(self):
391  if self._isvc:
392  return True
393  else:
394  return False
395 
396 
397 # ----iAlgorithm class---------------------------------------------------------
398 
399 

◆ reinitialize()

def GaudiPython.Bindings.iService.reinitialize (   self)

Definition at line 384 of file Bindings.py.

384  def reinitialize(self):
385  return self.__call_interface_method__("_isvc", "reinitialize")
386 

◆ restart()

def GaudiPython.Bindings.iService.restart (   self)

Definition at line 387 of file Bindings.py.

387  def restart(self):
388  return self.__call_interface_method__("_isvc", "restart")
389 

◆ retrieveInterface()

def GaudiPython.Bindings.iService.retrieveInterface (   self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 367 of file Bindings.py.

367  def retrieveInterface(self):
368  isvc = Helper.service(self._svcloc, self._name)
369  if isvc:
370  iService.__init__(self, self._name, isvc)
371 

◆ start()

def GaudiPython.Bindings.iService.start (   self)

Reimplemented in GaudiPython.Bindings.AppMgr.

Definition at line 375 of file Bindings.py.

375  def start(self):
376  return self.__call_interface_method__("_isvc", "start")
377 

◆ stop()

def GaudiPython.Bindings.iService.stop (   self)

Definition at line 378 of file Bindings.py.

378  def stop(self):
379  return self.__call_interface_method__("_isvc", "stop")
380 

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