The Gaudi Framework  master (ff829712)
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 385 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 388 of file Bindings.py.

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

Member Function Documentation

◆ finalize()

GaudiPython.Bindings.iService.finalize ( self)

Definition at line 406 of file Bindings.py.

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

◆ initialize()

GaudiPython.Bindings.iService.initialize ( self)

Definition at line 397 of file Bindings.py.

397 def initialize(self):
398 return self.__call_interface_method__("_isvc", "initialize")
399

◆ isValid()

GaudiPython.Bindings.iService.isValid ( self)

Definition at line 415 of file Bindings.py.

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

◆ reinitialize()

GaudiPython.Bindings.iService.reinitialize ( self)

Definition at line 409 of file Bindings.py.

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

◆ restart()

GaudiPython.Bindings.iService.restart ( self)

Definition at line 412 of file Bindings.py.

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

◆ retrieveInterface()

GaudiPython.Bindings.iService.retrieveInterface ( self)

Reimplemented from GaudiPython.Bindings.iProperty.

Definition at line 392 of file Bindings.py.

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

◆ start()

GaudiPython.Bindings.iService.start ( self)

Reimplemented in GaudiPython.Bindings.AppMgr.

Definition at line 400 of file Bindings.py.

400 def start(self):
401 return self.__call_interface_method__("_isvc", "start")
402

◆ stop()

GaudiPython.Bindings.iService.stop ( self)

Definition at line 403 of file Bindings.py.

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

Member Data Documentation

◆ _isvc

GaudiPython.Bindings.iService._isvc
protected

Definition at line 416 of file Bindings.py.


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