The Gaudi Framework  master (9f3f8895)
Loading...
Searching...
No Matches
GaudiPython.Bindings.iService Class Reference
Inheritance diagram for GaudiPython.Bindings.iService:
Collaboration diagram for GaudiPython.Bindings.iService:

Public Member Functions

 __init__ (self, name, isvc=cppyy.nullptr)
 retrieveInterface (self)
 initialize (self)
 start (self)
 stop (self)
 finalize (self)
 reinitialize (self)
 restart (self)
 isValid (self)
Public Member Functions inherited from GaudiPython.Bindings.iProperty
 __init__ (self, name, ip=cppyy.nullptr)
 getInterface (self)
 __call_interface_method__ (self, ifname, method, *args)
 __setattr__ (self, name, value)
 __getattr__ (self, name)
 properties (self)
 name (self)

Protected Attributes

 _isvc
Protected Attributes inherited from GaudiPython.Bindings.iProperty
 _ip
 _svcloc
 _name

Detailed Description

Python equivalent to IProperty interface

Definition at line 383 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 386 of file Bindings.py.

386 def __init__(self, name, isvc=cppyy.nullptr):
387 iProperty.__init__(self, name, isvc)
388 self.__dict__["_isvc"] = InterfaceCast(gbl.IService)(isvc)
389

Member Function Documentation

◆ finalize()

GaudiPython.Bindings.iService.finalize ( self)

Definition at line 404 of file Bindings.py.

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

◆ initialize()

GaudiPython.Bindings.iService.initialize ( self)

Definition at line 395 of file Bindings.py.

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

◆ isValid()

GaudiPython.Bindings.iService.isValid ( self)

Definition at line 413 of file Bindings.py.

413 def isValid(self):
414 if self._isvc:
415 return True
416 else:
417 return False
418
419
420# ----iAlgorithm class---------------------------------------------------------
421
422

◆ reinitialize()

GaudiPython.Bindings.iService.reinitialize ( self)

Definition at line 407 of file Bindings.py.

407 def reinitialize(self):
408 return self.__call_interface_method__("_isvc", "reinitialize")
409

◆ restart()

GaudiPython.Bindings.iService.restart ( self)

Definition at line 410 of file Bindings.py.

410 def restart(self):
411 return self.__call_interface_method__("_isvc", "restart")
412

◆ retrieveInterface()

GaudiPython.Bindings.iService.retrieveInterface ( self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 390 of file Bindings.py.

390 def retrieveInterface(self):
391 isvc = Helper.service(self._svcloc, self._name)
392 if isvc:
393 iService.__init__(self, self._name, isvc)
394

◆ start()

GaudiPython.Bindings.iService.start ( self)

Reimplemented in GaudiPython.Bindings.AppMgr.

Definition at line 398 of file Bindings.py.

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

◆ stop()

GaudiPython.Bindings.iService.stop ( self)

Definition at line 401 of file Bindings.py.

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

Member Data Documentation

◆ _isvc

GaudiPython.Bindings.iService._isvc
protected

Definition at line 414 of file Bindings.py.


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