|
Gaudi Framework, version v25r0 |
| Home | Generated: Mon Feb 17 2014 |
Classes | |
| class | Error |
| class | PropertyReference |
| Allow references to options as in old style. More... | |
| class | Configurable |
| class | DummyDescriptor |
| classes for generic Gaudi component =========== More... | |
| class | ConfigurableGeneric |
| class | ConfigurableAlgorithm |
| class | ConfigurableService |
| class | ConfigurableAlgTool |
| class | ConfigurableAuditor |
| class | ConfigurableUser |
Functions | |
| def | expandvars |
| def | isApplicable |
| 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 | |
| def | appendPostConfigAction |
| def | removePostConfigAction |
| def | applyConfigurableUsers |
| def | applyConfigurableUsers_old |
| def | getNeededConfigurables |
| def | purge |
Variables | |
| list | __all__ |
| data ------------------------------------------------------------------— | |
| 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 1326 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 1345 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 1414 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 27 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 1476 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: @verbatim
Return True is the instance can be "applied". Always False for plain Configurable instances (i.e. not ConfigurableUser).
Definition at line 912 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 1337 of file Configurable.py.
| list GaudiKernel.Configurable.__all__ |
data ------------------------------------------------------------------—
Definition at line 14 of file Configurable.py.
| GaudiKernel.Configurable._appliedConfigurableUsers_ False |
Definition at line 1344 of file Configurable.py.
| tuple GaudiKernel.Configurable.log logging.getLogger( 'Configurable' ) |
Definition at line 25 of file Configurable.py.
| list GaudiKernel.Configurable.postConfigActions [] |
Definition at line 1325 of file Configurable.py.