Base class for all services
Definition at line 178 of file PyAthenaComps.py.
◆ __init__()
| python.PyAthenaComps.Svc.__init__ |
( |
| self, |
|
|
| name = None, |
|
|
** | kw ) |
Definition at line 181 of file PyAthenaComps.py.
181 def __init__(self, name = None, **kw):
182 kw.setdefault('OutputLevel', 3)
183 if name is None: name = kw.get('name', self.__class__.__name__)
184
185 super(Svc, self).__init__(name, **kw)
186 self.__component_type__ = "Service"
187 return
188
◆ finalize()
| python.PyAthenaComps.Svc.finalize |
( |
| self | ) |
|
Definition at line 212 of file PyAthenaComps.py.
212 def finalize(self):
213 return StatusCode.Success
214
◆ initialize()
| python.PyAthenaComps.Svc.initialize |
( |
| self | ) |
|
◆ reinitialize()
| python.PyAthenaComps.Svc.reinitialize |
( |
| self | ) |
|
Definition at line 206 of file PyAthenaComps.py.
206 def reinitialize(self):
207 return StatusCode.Success
208
◆ start()
| python.PyAthenaComps.Svc.start |
( |
| self | ) |
|
Definition at line 218 of file PyAthenaComps.py.
218 def start(self):
219 return StatusCode.Success
220
◆ stop()
| python.PyAthenaComps.Svc.stop |
( |
| self | ) |
|
Definition at line 224 of file PyAthenaComps.py.
224 def stop(self):
225 return StatusCode.Success
226
◆ sysFinalize()
| python.PyAthenaComps.Svc.sysFinalize |
( |
| self | ) |
|
Definition at line 209 of file PyAthenaComps.py.
209 def sysFinalize(self):
210 return self.finalize()
211
◆ sysInitialize()
| python.PyAthenaComps.Svc.sysInitialize |
( |
| self | ) |
|
Definition at line 189 of file PyAthenaComps.py.
189 def sysInitialize(self):
190 if hasattr(self, 'OutputLevel'):
191 self.msg.setLevel(self.OutputLevel)
192 else:
193 self.msg.setLevel(_get_prop_value(self,'OutputLevel'))
194 return self.initialize()
195
◆ sysReinitialize()
| python.PyAthenaComps.Svc.sysReinitialize |
( |
| self | ) |
|
Definition at line 199 of file PyAthenaComps.py.
199 def sysReinitialize(self):
200 if hasattr(self, 'OutputLevel'):
201 self.msg.setLevel(self.OutputLevel)
202 else:
203 self.msg.setLevel(_get_prop_value(self,'OutputLevel'))
204 return self.reinitialize()
205
◆ sysStart()
| python.PyAthenaComps.Svc.sysStart |
( |
| self | ) |
|
Definition at line 215 of file PyAthenaComps.py.
215 def sysStart(self):
216 return self.start()
217
◆ sysStop()
| python.PyAthenaComps.Svc.sysStop |
( |
| self | ) |
|
Definition at line 221 of file PyAthenaComps.py.
221 def sysStop(self):
222 return self.stop()
223
◆ __component_type__
| str python.PyAthenaComps.Svc.__component_type__ = "Service" |
|
private |
◆ OutputLevel
| python.PyAthenaComps.Svc.OutputLevel |
The documentation for this class was generated from the following file: