ATLAS Offline Software
Loading...
Searching...
No Matches
python.PyAthenaComps.Svc Class Reference
Inheritance diagram for python.PyAthenaComps.Svc:
Collaboration diagram for python.PyAthenaComps.Svc:

Public Member Functions

 __init__ (self, name=None, **kw)
 sysInitialize (self)
 initialize (self)
 sysReinitialize (self)
 reinitialize (self)
 sysFinalize (self)
 finalize (self)
 sysStart (self)
 start (self)
 sysStop (self)
 stop (self)

Public Attributes

 OutputLevel

Private Attributes

str __component_type__ = "Service"
 init base class

Detailed Description

Base class for all services

Definition at line 178 of file PyAthenaComps.py.

Constructor & Destructor Documentation

◆ __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) #INFO
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

Member Function Documentation

◆ 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)

Definition at line 196 of file PyAthenaComps.py.

196 def initialize(self):
197 return StatusCode.Success
198
void initialize()

◆ 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

Member Data Documentation

◆ __component_type__

str python.PyAthenaComps.Svc.__component_type__ = "Service"
private

init base class

Definition at line 186 of file PyAthenaComps.py.

◆ OutputLevel

python.PyAthenaComps.Svc.OutputLevel

Definition at line 191 of file PyAthenaComps.py.


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