![]() |
The Gaudi Framework
v29r0 (ff2e7097)
|
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 1424 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 1448 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 1518 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 38 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 1581 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 962 of file Configurable.py.
def GaudiKernel.Configurable.makeSequences | ( | expression | ) |
Convert a control flow expression to nested GaudiSequencers.
Definition at line 1668 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 1437 of file Configurable.py.
|
private |
Definition at line 24 of file Configurable.py.
|
private |
Definition at line 1445 of file Configurable.py.
GaudiKernel.Configurable.log = logging.getLogger('Configurable') |
Definition at line 35 of file Configurable.py.
list GaudiKernel.Configurable.postConfigActions = [] |
Definition at line 1421 of file Configurable.py.