![]() |
The Gaudi Framework
v26r4
|
Classes | |
class | Configurable |
class | ConfigurableAlgorithm |
class | ConfigurableAlgTool |
class | ConfigurableAuditor |
class | ConfigurableGeneric |
class | ConfigurableService |
class | ConfigurableUser |
class | DummyDescriptor |
classes for generic Gaudi component =========== More... | |
class | Error |
class | PropertyReference |
Allow references to options as in old style. More... | |
Functions | |
def | expandvars (data) |
def | isApplicable (self) |
if isinstance(v,Configurable) and not v.isPublic(): rep += v.__str__( indent + 1 ) + os.linesep elif isinstance(v,GaudiHandleArray): for vi in v: if isinstance(vi,Configurable) and not vi.isPublic(): rep += vi.__str__( indent + 1 ) + os.linesep More... | |
def | appendPostConfigAction (function) |
def | removePostConfigAction (function) |
def | applyConfigurableUsers () |
def | applyConfigurableUsers_old () |
def | getNeededConfigurables () |
def | purge () |
Variables | |
list | __all__ |
data ------------------------------------------------------------------— More... | |
tuple | log = logging.getLogger( 'Configurable' ) |
list | postConfigActions = [] |
_appliedConfigurableUsers_ = False | |
def GaudiKernel.Configurable.appendPostConfigAction | ( | function | ) |
Add a new callable ('function') to the list of post-configuration actions. If the callable is already in the list, it is moved to the end of the list. The list is directly accessible as 'GaudiKernel.Configurable.postConfigActions'.
Definition at line 1337 of file Configurable.py.
def GaudiKernel.Configurable.applyConfigurableUsers | ( | ) |
Call the apply method of all the ConfigurableUser instances respecting the dependencies. First the C.U.s that are not used by anybody, then the used ones, when they are not used anymore.
Definition at line 1356 of file Configurable.py.
def GaudiKernel.Configurable.applyConfigurableUsers_old | ( | ) |
Obsolete (buggy) implementation of applyConfigurableUsers(), kept to provide backward compatibility for configurations that where relying (implicitly) on bug #103803, or on a specific (non guaranteed) order of execution. @see applyConfigurableUsers()
Definition at line 1425 of file Configurable.py.
def GaudiKernel.Configurable.expandvars | ( | data | ) |
Expand environment variables "data". Data can be string, list, tuple and dictionary. For collection, all the contained strings will be manipulated (recursively).
Definition at line 28 of file Configurable.py.
def GaudiKernel.Configurable.getNeededConfigurables | ( | ) |
Function to select all and only the configurables that have to be used in GaudiPython.AppMgr constructor. This is needed because in Athena the implementation have to be different (the configuration is used in a different moment).
Definition at line 1487 of file Configurable.py.
def GaudiKernel.Configurable.isApplicable | ( | self | ) |
if isinstance(v,Configurable) and not v.isPublic(): rep += v.__str__( indent + 1 ) + os.linesep elif isinstance(v,GaudiHandleArray): for vi in v: if isinstance(vi,Configurable) and not vi.isPublic(): rep += vi.__str__( indent + 1 ) + os.linesep
for cfg in self.__children:
Return True is the instance can be "applied". Always False for plain Configurable instances (i.e. not ConfigurableUser).
Definition at line 923 of file Configurable.py.
def GaudiKernel.Configurable.purge | ( | ) |
def GaudiKernel.Configurable.removePostConfigAction | ( | function | ) |
Remove a callable from the list of post-config actions. The list is directly accessible as 'GaudiKernel.Configurable.postConfigActions'.
Definition at line 1348 of file Configurable.py.
list GaudiKernel.Configurable.__all__ |
data ------------------------------------------------------------------—
Definition at line 15 of file Configurable.py.
GaudiKernel.Configurable._appliedConfigurableUsers_ = False |
Definition at line 1355 of file Configurable.py.
tuple GaudiKernel.Configurable.log = logging.getLogger( 'Configurable' ) |
Definition at line 26 of file Configurable.py.
list GaudiKernel.Configurable.postConfigActions = [] |
Definition at line 1336 of file Configurable.py.