![]() |
The Gaudi Framework
v32r0 (3325bb39)
|
Classes | |
| class | Configurable |
| class | ConfigurableAlgorithm |
| class | ConfigurableAlgTool |
| class | ConfigurableAuditor |
| class | ConfigurableGeneric |
| class | ConfigurableService |
| class | ConfigurableUser |
| class | CreateSequencesVisitor |
| class | DummyDescriptor |
| class | Error |
| class | PropertyReference |
| class | SuperAlgorithm |
Functions | |
| def | expandvars (data) |
| def | isApplicable (self) |
| 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 () |
| def | makeSequences (expression) |
Variables | |
| list | __all__ |
| log = logging.getLogger('Configurable') | |
| list | postConfigActions = [] |
| bool | _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 1489 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 1513 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 1583 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 35 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 1646 of file Configurable.py.
| def GaudiKernel.Configurable.isApplicable | ( | self | ) |
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
Return True is the instance can be "applied". Always False for plain Configurable instances (i.e. not ConfigurableUser).
Definition at line 997 of file Configurable.py.
| def GaudiKernel.Configurable.makeSequences | ( | expression | ) |
Convert a control flow expression to nested GaudiSequencers.
Definition at line 1733 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 1502 of file Configurable.py.
|
private |
Definition at line 23 of file Configurable.py.
|
private |
Definition at line 1510 of file Configurable.py.
| GaudiKernel.Configurable.log = logging.getLogger('Configurable') |
Definition at line 32 of file Configurable.py.
| list GaudiKernel.Configurable.postConfigActions = [] |
Definition at line 1486 of file Configurable.py.